Fullscreen
Loading...
 
[Show/Hide Right Column]

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

Contributors to this page: Marc Laporte9146 points  .
Page last modified on Tuesday 02 November, 2010 03:10:48 UTC by Marc Laporte9146 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki