sachin
sachin

Reputation: 1015

Google Analytics With PHP

I am trying to use Google Analytics with php. I can't use javascript. Is there is any way around this?

I've tried some of php libraries but its seems these libs are not working. Lib which i tried: http://code.google.com/p/serversidegoogleanalytics/

Thanks in Advance.

Upvotes: 3

Views: 1255

Answers (1)

Badger Cat
Badger Cat

Reputation: 966

Yes, google provides a server side code here:

https://developers.google.com/analytics/devguides/collection/other/mobileWebsites

Which provides a basic functionality and works perfectly for page views. However, it does not include events or custom variables. What you can do is use this code along with some simple functions that will allow you to sent the right parameters (utme) into the gif request.

Upvotes: 7

Related Questions