home > Release information > Partners > 09-03-2010 Google analytics doc tracking

09-03-2010 Google analytics tracker javascript

Applies to:

Grouptree.Web.Page

Grouptree.Web.GoogleDocTrackerHttpModule (new class)

Relase type:

Additional Functionality

Upgrade risk:

Minimal

Backward compatability:

If you have added a google tracking code to the site properties a script entry will now expect to find this file so it should be activated in the httpModules (see below).

Reason for change:

Add the ability to track documents with google analytics without adding "onClick" events to every document link.

Change detail:

Added a new Http module to Grouptree.Web. It returns the javascript should gatag.js be requested.

Upgrade Requirements:

An entry in the web.config in the httpModules section is needed to activate this module:

add name="GoolgeDocTrack" type="Grouptree.Web.GoogleDocTrackerHttpModule, Grouptree.Web"

This entry should go after the Authentication module and before the NiceNames module

Reference:

http://www.goodwebpractices.com/roi/track-downloads-in-google-analytics-automatically.html

Comments