Piwik is an Open Source alternative tool for Google Analytics.
Insert the Piwik code into the file
overall_footer.html in your template directory before the tag
Then navigate to Styles → Templates →
Name of your template and click on
Cache and remove the file
Please note, that every user can have another template when there are different templates activated in your forum.
Insert the Piwik code into pyweb/templates/index.html before the tag
There is a Piwik-Plugin for Gallery3, but this does not support the POST method of Piwik.
In order to use the POST method edit the file
modules/piwik_plugin/helpers/piwik_plugin_theme.php and add the following line:
There is a plugin, see here.