2010-05-12 11:21:40 +02:00
[[!template id=plugin name=tracking author="[[BerndZeimetz]]"]]
2010-05-12 11:20:31 +02:00
[[!toc]]
[[!tag plugins]] [[!tag patch]] [[!tag wishlist]]
## NAME
IkiWiki::Plugin::tracking - enable google/piwik visitor tracking
## SYNOPSIS
# activate the plugin
add_plugins => [qw{goodstuff tracking ....}],
# to use Piwik:
piwik_id => '1',
piwik_https_url => "https://ssl.example.com/piwik/",
piwik_http_url => "http://www.example.com/piwik/",
# to use Google Analytics:
google_analytics_id => "UA-xxxxxx-x"
## DESCRIPTION
This plugin includes the necessary tracking codes for Piwik and/or Google Analytics on all pages. Tracking codes will only be included if the necessary config options are set. The plugin could be enhanced to support goals/profiles and similar things, but I do not plan to do so.
## DOWNLOAD
2016-01-07 19:43:00 +01:00
* single files: [tracking.pm](https://git.bzed.at/raw/~bzed/ikiwiki.git/tracking/IkiWiki!Plugin!tracking.pm) [piwik.tmpl](https://git.bzed.at/raw/~bzed/ikiwiki.git/tracking/templates!piwik.tmpl) [google_analytics.tmpl](https://git.bzed.at/raw/~bzed/ikiwiki.git/tracking/templates!google_analytics.tmpl)
* browse repository: <https://git.bzed.at/tree/~bzed%2Fikiwiki.git/tracking>
2016-01-07 19:46:08 +01:00
* git repo: `git://git.bzed.at/~bzed/ikiwiki.git` or <https://git.bzed.at/r/~bzed/ikiwiki.git> (Use the tracking branch)