PHP Classes

Google Analytics Cookie Parser: Retrieve and parse Google Analytics cookies

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-09-21 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,021 All time: 3,409 This week: 1,259Up
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: 38
All time rank: 218432 in Portugal Portugal
Week rank: 1481 Up26 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,021All time:3,409
 This week:0This week:1,259Up
 User Comments (1)