====== Google Analytics for DokuWiki ======
**Note** Bugs, feature requests, etc have moved to the discussion page for the project.
===== License =====
* **License**: [[http://www.opensource.org/licenses/gpl-license.php|GNU GPL v2]].
It's not required, but please consider linking to [[google_analytics_for_dokuwiki|this page]] or the main page from your site if you like this product.
===== Download =====
Before downloading or using this product, make sure you __**understand and accept**__ the terms of the [[#license]].
After downloading, make sure to follow the [[#install]] instructions or [[#upgrading]] instructions below.
* This is the latest version, compatible with the current DokuWiki:
* Latest Version: {{:projects:googleanalytics-2008-06-27.zip|Google Analytics for Dokuwiki - June 27, 2008}}
* Previous Version: {{:projects:googleanalytics-2008-06-10.zip|Google Analytics for Dokuwiki - June 10, 2008}}
* Previous Version: {{:projects:googleanalytics-03112007.zip|Google Analytics for Dokuwiki - March 11, 2007}}
* Previous Version: {{:projects:googleanalytics-02232007.zip|Google Analytics for Dokuwiki - February 23, 2007}}
* Previous Version: {{:projects:googleanalytics-02152007.zip|Google Analytics for Dokuwiki - February 15, 2007}}
* Previous Version: {{:projects:googleanalytics-08202006.zip|Google Analytics for Dokuwiki - August 20, 2006}}
* Older downloads are available on request only.
===== About =====
This tool allows you to set a code for use with [[wp>Google_Analytics|Google Analytics]], which allows you to track your visitors.
The plugin also exports a function for use with your template, so you will have to insert the following code into your template (**main.php**), somewhere inside of the **
**Note**: Inserting the code above is **required**, not optional.
**Template Authors Note**: You can insert the above code and make your template "Google Analytics Ready", even if your users do not use Google Analytics (or have this plugin.)
===== Install =====
As a plugin all you need to do is unpack the file into the lib/plugins/ directory (you should end up with a lib/plugins/googleanalytics folder.)
===== Upgrading =====
To upgrade, remove the original lib/plugins/googleanalytics folder, and install the new version as instructed above. You may wish to make a note of your google analytics code first though.
===== What's New =====
==== June 27, 2008 ====
* Fixed bug with tracking code
* Added better check for admin users (removed old 'superuser' check)
Thanks to [[david@ordal.com|David Ordal]] for these fixes.
==== June 10, 2008 ====
Updated to use the new Javascript library for Google Analytics. Thanks to Geoff W. and RJS for the contribution.
==== March 11, 2007 ====
* Fixed minor bug for "is_writable", thanks to [[bernd@bzed.de]]
==== February 23, 2007 ====
* HTTPS support by [[matjaz.slak@atol.si|Matjaz Slak]]
==== February 15, 2007 ====
* Arabic translation, thanks to [[hali83@cec.sy|M. Bashir Al-Noimi]] for this.
==== August 20, 2006 ====
* Initial release