Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php based analytics only work when the page is called with a parameter #194

Closed
kwmkwm opened this issue Aug 26, 2016 · 1 comment
Closed

Comments

@kwmkwm
Copy link

kwmkwm commented Aug 26, 2016

Hello,

I've installed OWA, added the php code to my pages, and i almost have it working. If I visit "page.php?anything" or "otherpage.php?something" they will both be logged and show up in the analytics. However, if I do not include a parameter the pages will not be listed correctly. All non-parameter pages seem to get lumped together in the Top Pages listing. Does anyone have any suggestions? My code is:

require_once('owa/owa_env.php');
require_once(OWA_DIR.'owa_php.php');
$owa = new owa_php();
$owa->setSiteId('XXXXXX');
$owa->setPageTitle('index page');
$owa->trackPageView();

@padams
Copy link
Collaborator

padams commented Mar 11, 2020

Likely fixed in master.

@padams padams closed this as completed Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants