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,037 All time: 3,541 This week: 182Up
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: 45
All time rank: 231232 in Portugal Portugal
Week rank: 516 Up8 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,037
This week:0
All time:3,541
This week:182Up
User Comments (1)
Need more details like where to deploy and how to test.
13 years ago (Md Abdur Razzaque)
17%Star
 
For more information send a message to info at phpclasses dot org.