https://github.com/ins0/google-measurement-php-client
PHP Client to send analytics data over the Google Measurement Protocol to Google Analytics
https://github.com/ins0/google-measurement-php-client
api-client google google-analytics google-measurement-protocol
Last synced: 18 days ago
JSON representation
PHP Client to send analytics data over the Google Measurement Protocol to Google Analytics
- Host: GitHub
- URL: https://github.com/ins0/google-measurement-php-client
- Owner: ins0
- License: mit
- Created: 2013-07-03T10:27:43.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T13:59:02.000Z (almost 8 years ago)
- Last Synced: 2025-04-13T21:39:05.863Z (28 days ago)
- Topics: api-client, google, google-analytics, google-measurement-protocol
- Language: PHP
- Homepage:
- Size: 181 KB
- Stars: 50
- Watchers: 7
- Forks: 23
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GATracking
==========Master:
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:
```bash
$ 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!