Piwik Web analytics
"Piwik is a downloadable, open source (GPL licensed) real time web analytics software program. It provides you with detailed reports on your website visitors: the search engines and keywords they used, the language they speak, your popular pages… and so much more."
http://piwik.org/
Like Tiki, Piwik is written in PHP5 using a MySQL database and uses the Smarty Template engine.
To record visitors, visits and page views in Piwik, you must add a Tracking code in all your pages. Piwik recommend to use the standard JavaScript Tracking tag.
The documentation is here:
http://piwik.org/docs/javascript-tracking/
Copy the code from piwik and paste in Admin -> Look & Feel -> General Layout options -> Custom End of <body> Code surrounded by literal tags, as shown below:
In Tiki5 or newer
{literal}
<!-- Piwik -->
<script type="text/javascript">
...
...
...
</script>
<!-- End Piwik Tag -->
{/literal}The literal tags indicate to the Smarty template engine not to interpret the code and to pass it as-is.
direct URL to access Custom End of <body> Code is: tiki-admin.php?page=look&cookietab=2
Only use the tracking code for users that do not have full admin rights
{if $tiki_p_admin neq 'y'}
{literal}
<!-- Piwik -->
<script type="text/javascript">
...
...
...
</script>
<!-- End Piwik Tag -->
{/literal}
{/if}See also Template Tricks
Related: PluginGoogleAnalytics
