Google Analytics Plugin

Wrapper plugin for JavaScript tags for Google Analytics. If installed, this plugin adds Google JavaScript code to all pages.

About Google Analytics

Google Analytics is a free statistics tool to track website visitors. While this service is especially meant to measure the effectiveness of AdWords, it can be used for any site.

Google blurb:

Google Analytics offers a host of compelling features and benefits for everyone from senior executives and advertising and marketing professionals to site owners and content developers.

Learn how visitors interact with your website and identify the navigational bottlenecks that keep them from completing your conversion goals. Find out how profitable your keywords are across search engines and campaigns. Pinpoint where your best customers come from and which markets are most profitable to you. Google Analytics gives you this and more through easy-to-understand visually enhanced reports.

Google presents visitor data in a visually rich dashboard:
Google_Analytics_Dashboard_small.jpg
view large image

Settings

  • Google provides its users with a piece of html to copy-paste into pages. You only need one piece of it, the value of _uacct:
  • Set this value in Main.SitePreferences
  • Set GOOGLESITEKEY = UA-7686196-1

  • Add to your SKIN or COVER setting
    • Set SKIN = googleanalytics,widgets
    • Set SKIN = googleanalytics,nat
    • Set SKIN = googleanalytics,pattern
    • Set COVER = googleanalytics

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Adds Google Analytics JavaScript code to all pages

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the Foswiki server.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip GoogleAnalyticsPlugin.zip in your root ($FOSWIKI_ROOT) directory.
  • Optionally, if it exists, run GoogleAnalyticsPlugin_installer to automatically check and install other Foswiki modules that this module depends on. You can also do this step manually.
  • Alternatively, manually make sure the dependencies listed in the table below are resolved. None
  • Visit configure in your Foswiki installation, and enable the plugin in the {Plugins} section.

Plugin Info

Authors: Foswiki:Main.ArthurClemens
Copyright ©: 2006 Arthur Clemens, 2009 Will Norris
License: GPL
Version: 2850 (2009-03-03)
Release: 2.0.3
Change History:  
26 Feb 2009 2.0.1 converted to skin template, increased apparent page rendering speed (Foswiki:Main.WillNorris)
25 Feb 2009 2.0.0 Ported to ga.js (Foswiki:Main.WillNorris)
24 Feb 2009 1.001 Ported to Foswiki (Foswiki:Main.WillNorris)
21 Sep 2006 1.0.0 First Version
Foswiki Dependency: $Foswiki::Plugins::VERSION 2.0
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Home: http://foswiki.org/Extensions/GoogleAnalyticsPlugin
Feedback: http://foswiki.org/Extensions/GoogleAnalyticsPluginDev

Related Topics: DefaultPreferences, SitePreferences

Topic revision: r1 - 22 Feb 2006 - 08:42:37 - ProjectContributor
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback