Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Project:
Zend Framework Google Analytics Code Generation
Aug 24, 2011 @ 14:46:58

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.

tagged: project code generation google analytics javascript campaign domain configuration

Link:


Trending Topics: