| 1 |
Module: Piwik - Web analytics
|
| 2 |
Author: Alexander Hass <www.hass.de>
|
| 3 |
|
| 4 |
|
| 5 |
Description
|
| 6 |
===========
|
| 7 |
Adds the Piwik tracking system to your website.
|
| 8 |
|
| 9 |
Requirements
|
| 10 |
============
|
| 11 |
|
| 12 |
* Piwik installation
|
| 13 |
* Piwik website account
|
| 14 |
|
| 15 |
|
| 16 |
Installation
|
| 17 |
============
|
| 18 |
* Copy the 'piwik' module directory in to your Drupal
|
| 19 |
sites/all/modules directory as usual.
|
| 20 |
|
| 21 |
|
| 22 |
Usage
|
| 23 |
=====
|
| 24 |
In the settings page enter your Piwik website ID.
|
| 25 |
|
| 26 |
You will also need to define what user roles should be tracked.
|
| 27 |
Simply tick the roles you would like to monitor.
|
| 28 |
|
| 29 |
You can also track the username and/or user ID who visits each page.
|
| 30 |
This data will be visible in Piwik as segmentation data.
|
| 31 |
If you enable the profile.module you can also add more detailed
|
| 32 |
information about each user to the segmentation tracking.
|
| 33 |
|
| 34 |
All pages will now have the required JavaScript added to the
|
| 35 |
HTML footer can confirm this by viewing the page source from
|
| 36 |
your browser.
|
| 37 |
|
| 38 |
|
| 39 |
Advanced Settings
|
| 40 |
=================
|
| 41 |
You can include additional JavaScript snippets in the advanced
|
| 42 |
textarea. These can be found on various blog posts, or on the
|
| 43 |
official Piwik pages. Support is not provided for any customisations
|
| 44 |
you include.
|
| 45 |
|
| 46 |
To speed up page loading you may also cache the piwik.js
|
| 47 |
file locally. You need to make sure the site file system is in public
|
| 48 |
download mode.
|