Download .zip |
Info | Documentation | Screenshots | View files (2) | Download .zip | Reputation | Support forum | Blog (2) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2015-10-12 (1 year ago) | Not enough user ratings | Total: 186 This week: 1 | All time: 8,016 This week: 701 |
Version | License | PHP version | Categories | |||
ga-api-tracker 1.0 | BSD License | 5.0 | PHP 5, Statistics, Web services |
Description | Author | ||||||||||||||||
This class can track accesses to your API using Google Analytics. Innovation Award
|
|
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
PHPclasses.org class content is here
The class is done for my yasno.tv project.
You can reach me at alex.skakunov@gmail.com .
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.
Edit your application config and paste this line:
google.analytics.tracking.code = UA-111111-11
make sure you add this plugin in application/Bootstrap.php:
protected function _initPlugins() { $front = Zend_Controller_Front::getInstance(); $front->registerPlugin(new Yasno_Controller_Plugin_Integration_Google_Analytics_Mobile_Tracker); }
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.
Screenshots | ||
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.