Extension:Google Analytics Links

This extension provides a Wiki solution for the two questions posted here and here. Use Extension talk:Google Analytics Links for feedback

Syntax
Note: the third parameter is optional (the one starting with the last "|" and ending just before the "</")

Requirements
For this extension to function, it requires that another extension be installed first that includes urchin.js from google: Note: If you already have the other version installed, you must uninstall it first!
 * Google Analytics Integration
 * Google Analytics (MediawikiEtGoogleAnalytics). (Requires hacking of Skin.php or SkinTemplate.php - see below for change to depreciated function call)

The extension found over on free.fr titled MediawikiEtGoogleAnalytics is using a depreciated function: isSysop has been depreciated and should be changed to the following

Installation

 * 1) copy the above code to a new text file called googa.php
 * 2) place that file in your /wiki/extensions/ folder
 * 3) edit your LocalSettings.php file
 * 4) After the existing line: $googleAnalytics = "UA-xxxxxxx-1"; insert this line:

Examples
See examples of this extension in action at these fine wikis: kJams

Related extensions

 * Google Analytics
 * Google Analytics Integration