This space provides the guts for using Google Analytics to measure activity in your space. It consists of one plugin, CustomTrackerPlugin, originally developed by Phil Hawksworth with modifications by fnd and myself (cdent). piwik provides an open source alternative which deals with some of the privacy issues mentioned below.

Activity is defined as a tiddler being opened for display.

Using the plugin is straightforward but requires some setup:
  • Establish the domain at google analytics and get your tracker number.
  • Create a public tiddler in your space called AnalyticsConfig with a slice containing the tracker number. See AnalyticsConfig in this space for an example.
  • Include this space (ganalytics) in your space.
  • Extend your own MarkupPreHead tiddler in your space to add the contents from this one.

If things are working Firebug or Web Inspector will show requests being made to www.google-analytics.com for a __utfm.gif file with a long query string. One of those will be made each time a tiddler is displayed.

Analytics results won't show up on google until up to 24 hours after you start using the plugin. This is because they compile their reports in a lazy fashion.

Keep in mind that if you install analytics in your space, then you are tracking the activity of visitors to your space without offering those visitors any choice in the matter. Depending on the nature of your self, your content and your visitors this may be a big deal or it may not. And while it may not be a big deal to you, it could be a big deal to others. See also BlockingAnalytics and piwik.
bag
ganalytics_public
created
Tue, 05 Oct 2010 13:37:11 GMT
creator
cdent
modified
Tue, 05 Oct 2010 13:37:11 GMT
modifier
cdent
tags
excludeLists
excludeSearch