|Classes of Alexander Skakunov
|PHP Google Analytics API Metrics Tracker
This class helps to track your backend application usage in Google Analytics -- the requests made to your backend are logged in Google Analytics.
Technically it uses the Mobile Tracking
The class is done for my yasno.tv project.
You can reach me at firstname.lastname@example.org .
The class is based on Zend Framework 1, so if you don't want to use it, the request\response\cookies management must be re-implemented in this class.
That's it. You will have your backend script usage stats in Google Analytics in a while.
Clients of your API can set parameter "partner-id" and that will be used to track different users.