PHP Classes

Google Analytics Cookie Parser: Retrieve and parse Google Analytics cookies

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 1,039 All time: 3,551 This week: 455Up
Version License PHP version Categories
gaparse 1.0GNU Lesser Genera...5.0HTTP, PHP 5
Description 

Author

This class can be used to retrieve and parse Google Analytics cookies.

It retrieves values cookies set by Google Analytics and parse the values to extract several types of values.

Currently, it returns the campaign source, campaign name, campaign medium, campaign content, campaign term, date of first visit, date of previous visit, date of current visit and times visited.

Innovation Award
PHP Programming Innovation award nominee
September 2009
Number 3


Prize: One downloadable e-book of choice by O'Reilly
Google Analytics is a tool that keeps track of all sorts of statistics of the visitors of a site.

It setups cookies with several types of information about where the user has been.

This class can parse the information stored in Google Analytic cookies to return more meaningful values.

Manuel Lemos
Picture of Joao Correia
Name: Joao Correia <contact>
Classes: 1 package by
Country: Portugal Portugal
Age: 47
All time rank: 232232 in Portugal Portugal
Week rank: 192 Up2 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file class.gaparse.php Class Google Analytics Cookie Parser Class
Accessible without login Plain text file example.php Example Example

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 Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,039
This week:0
All time:3,551
This week:455Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:41%StarStarStar
Tests:-
Videos:-
Overall:39%StarStar
Rank:3840