Plugin: tracking
Author: BerndZeimetz
Included in ikiwiki: no
Enabled by default: no
Included in goodstuff: no
Currently enabled: no


IkiWiki::Plugin::tracking - enable google/piwik visitor tracking


# activate the plugin
add_plugins => [qw{goodstuff tracking ....}],

# to use Piwik:
piwik_id => '1',
piwik_https_url => "",
piwik_http_url => "",

# to use Google Analytics:
google_analytics_id => "UA-xxxxxx-x"


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.