PHP Classes

Google Analytics Cookie Parser: Retrieve and parse Google Analytics cookies

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,036 All time: 3,530 This week: 250Up
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: 44
All time rank: 229932 in Portugal Portugal
Week rank: 599 Up11 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,036
This week:0
All time:3,530
This week:250Up
User Comments (1)
 
For more information send a message to info at phpclasses dot org.