Extension:Google Analytics


 * For a better updated extension with more features, please see: Extension:Google Analytics Integration

Analytics is a simple extension which allows you to put a Google Analytics tracker in your MediaWiki articles, so you can obtain statistics on the articles that you are interested in.

Usage


Source code
Source code of "extensions/analytics.php":

Considering that this page was not updated since January 2007, I updated it with the new Google Analytics code:

Source code
Source code of "extensions/analytics.php":

More info

 * See a live demo.
 * http://www.google.com/analytics/
 * It is possible to use Google Analytics in MediaWiki without tracking sysop users. However, you will need to modify the source code of your SkinTemplate.php file.  For more info:  http://www.pesme.net.
 * You can also track outbound links and direct file downloads (requires use of previous link) more info here.