Recommend this page to a friend! |
Download |
Info | Documentation | Screenshots | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
58% | Total: 227 | All time: 8,187 This week: 68 |
Version | License | PHP version | Categories | |||
ga-api-tracker 1.0.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 (1) | ||
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.