server-side-google-analytics icon indicating copy to clipboard operation
server-side-google-analytics copied to clipboard

PHP class to send pageViews or Events to Google Analytics without the need of javascript.

Results 7 server-side-google-analytics issues
Sort by recently updated
recently updated
newest added

Thank you for this great piece of code - it has saved me a lot of heartache as my PDF's were not being tracked in google analytics. However, the issue...

Is there a way to also send the HTTP_REFERER to analytics?

I want to be able to push the user id to ga (so ga can distinguish between new and old visitors). Normally in JS it would be along the lines...

The class works good for sending page view to Google Analytics, thus tracking a conversion from a JSONP widget. Having trouble with **tracking the country the page view had** which...

Hi I noticed in one of the examples you linked to https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide?csw=1 . When visiting this link you will notice a big warning message from Google, saying it is legacy...

Any plan to do so? If not would it be okie for me to do so and send you a pull request?

The http_build_query will encode a space as a plus sign. This should be encoded as %20, instead of "+". Encoding as a + will cause Google Analytics to display it...