This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
Releases: chappy84/google-analytics-server-side
Releases · chappy84/google-analytics-server-side
v0.8.2-beta
- Add in support for organic campaign parameters with __utmz cookies.
- Only send utmip gif query parameter when using a mobile account, pointless otherwise.
v0.8.1-beta
- Add a __callStatic magic method to GASS\Http so adapter methods can be called statically
- Ensure $php_errormsg has a value in GASS\Http\Stream so can be used when http request fails
- Correct spelling mistakes (retreive -> retrieve)
v0.7.12-beta
- Ensure $php_errormsg has a value in GASS_Http_Stream so can be used when http request fails
- Correct spelling mistakes (retreive -> retrieve)
v0.8.0-beta
- Converted to PHP 5.3 with namespaces instead of PHP 5.2 virtual namespaces
( using @ralphschindler's php-namespacer: https://github.com/ralphschindler/PHPTools ) - Removed deprecated methods from main class
- Removed get/setEvent, not in GA code and not needed, set is done directly in trackEvent
- Removed support for old csv cache in UserAgentStringInfo which just stored user agents without IPs
- BrowserCap renamed BrowsCap inline with PHP
v0.7.11-beta
- Remove all non-PHPDoc doc blocks and replace with PHPDoc blocks so all works when PHPDoc run on project
- Add in package and subpackage tags to all files for use in PHPDoc
- GASS_BotInfo_UserAgentStringInfo now blocks per IP address as well as user agent string to ensure is blocking all bots in list
v0.7.10-beta
- Sets the __utmv custom var cookie which stores scope 1 (visitor-level) variables
- Correct the custom var string passed to GA, scope 3 (page-level) shouldn't be passed.
- PHPDoc completion.
- Only load data files in BotInfo adapters when data actually needed
- setCustomVar uses the first available index when one not provided and returns $this for chaining
v0.7.9-beta
- 4: Ensure user can use the Mobile GA accounts starting in "MO-" aswell. Lets utmip provide the user's location to GA.
(#4) - Remove un-required method call.
- Silence parse_url when an issue occurs, return value is checked.
v0.7.8-beta
- Silence all is_readable, is_writable, file_exists and filemtime calls as the result is being checked anyway
so we don't really want a lot of E_WARNING php errors for no reason. - Minor code speed improvements
- Some extra verification on event / custom variable strings
- Remove issue where cookie contains one of the invalid raw cookie characters
- convert createPageView / createEvent / setCustomVariable to trackPageView / trackEvent / setCustomVar as they
are in the Google Analytics ECMAScript, left alias functions for old method names - Add getVisitorCustomVar, deleteCustomVar, setSessionCookieTimeout & setVisitorCookieTimeout methods
v0.7.7-beta
- 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 dir as php_browscap.ini. - Make createPageView compatible with Google's trackPageView.
- 6: Fix issue with the event value being passed wrongly to Google.
(#6)
v0.7.6-beta
- BrowserCap ini file is now parsed and dealt with by the code rather than using php's built in get_browser.
- BrowserCap ini file now updated whenever update available on server.