PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Project: Zend Framework Google Analytics Code Generation

Note: This article was originally published at PHPDeveloper on 25 August 2011.
PHPDeveloper

Martin Aarhof has put together an handy tool for Zend Framework applications that creates the async javascript analytic code recommended by Google to provide tracking information back to Analytics.

It supports: browser Settings Detection, campaign Duration, campaign Fields (custom), cross-domain linking and last but not least Ecommerce tracking.

The configuration lets you set the various keys for your Analytics accounts, the domain name for it to live under, browser detection settings and various other settings for campaign configuration and domain setup. You can find the full code on his github account ready to download or clone.