ins0 / google-measurement-php-client
Server-Side PHP Client to communicate to Google Analytics over the Google Measurement Protocol
Installs: 332 028
Dependents: 3
Suggesters: 0
Security: 0
Stars: 50
Watchers: 8
Forks: 23
Open Issues: 6
Requires
- php: >=5.3.3
Requires (Dev)
- phpmd/phpmd: ~2.1
- phpunit/phpunit: 4.0.*
- squizlabs/php_codesniffer: ~2.0.0@RC
README
GATracking is a Server-Side PHP Client to communicate to Google Analytics over the Google Measurement Protocol API
https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide
Class Features
- Array Configuration
- Async / Multi Requests
- SSL Support (not default - set over options)
- Adapter Support (sockets)
- Tests
Tracking Features
- Simple
- Page Tracking
- Event Tracking
- Social
- Social Tracking
- Exception
- Exception Tracking
- Campaign
- Campaign Tracking
- App
- App Event Tracking
- App Screen Tracking
- User
- User Timing Tracking
- User ID Tracking
- Ecommerce
- Ecommerce Transaction Tracking
- Ecommerce Item Tracking
- Proxy
- Client IP Address
- Client User Agent
Quick start
Install via Composer
Run the following Composer command to install this package:
$ composer require "ins0/google-measurement-php-client"
#Requirements#
PHP >= 5.3.3
Google Analytics Universal Account (more information available here https://support.google.com/analytics/answer/2817075?hl=en)
#Example#
see example_files directory
Thanks
first GIT release .... yaahhh!