Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

0.7.5 Events not appearing in Analytics #6

Closed
skl opened this issue Jan 6, 2012 · 6 comments
Closed

0.7.5 Events not appearing in Analytics #6

skl opened this issue Jan 6, 2012 · 6 comments
Assignees

Comments

@skl
Copy link
Contributor

skl commented Jan 6, 2012

The latest development branch, 0.7.5, does not appear to be creating events correctly. Google seems to register events in Analytics within 20 minutes, tag 0.6.4 registers events whereas 0.7.5 does not.

This is when using 'botInfo' => true, no createPageView() called first and $nonInteraction = true

@ghost ghost assigned chappy84 Jan 7, 2012
@chappy84
Copy link
Owner

chappy84 commented Jan 7, 2012

Did you restart apache after you loaded the full browsercap file? If not get_browser will be returning false in GASS_BotInfo_BrowserCap and every request will be regarded as a bot.

I've put an update into the development branch (0.7.6 Beta) that will both not rely on php's get_browser now thus avoiding the above issue, and also warn if there are no browsers listed in the browscap file loaded

@skl
Copy link
Contributor Author

skl commented Jan 7, 2012

I've restarted apache now, don't think I did after I updated the ini file. I've switched back to 0.7.5 so will let you know :)

@skl
Copy link
Contributor Author

skl commented Jan 7, 2012

Looks like events are coming through now, thanks :) The 'value' still doesn't appear to be there though...

@chappy84
Copy link
Owner

chappy84 commented Jan 8, 2012

I'll have a look into that one.
Think I've got the format google use for that right now so not sure as to why it won't be coming through.

chappy84 pushed a commit that referenced this issue Jan 8, 2012
- Ensure the BrowserCap latest version date isn't retrieved more than
once a day form the server.
Store the version date in a one day cache file in same did as
php_browscap.ini.
- Make createPageView compatible with Google's trackPageView
- Fix issue #6 raised by @skl with the event value being passed wrongly
to Google
@chappy84
Copy link
Owner

chappy84 commented Jan 8, 2012

The event value issue should be fixed in Version 0.7.7 Beta now on the development branch, give it a go.

@skl
Copy link
Contributor Author

skl commented Jan 8, 2012

Yep, all working now - thanks :)

@skl skl closed this as completed Jan 8, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants