Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / piwik @ 60283730

Nom Taille Révision Âge Auteur Commentaire
LICENSE.txt 17,7 ko f7a2490e environ 10 ans Assos Assos git mv htmltest drupal7
README.txt 2,39 ko 147616a8 plus de 6 ans Assos Assos Weekly update of contrib modules
piwik.admin.inc 27,6 ko 5136ce55 plus de 7 ans Assos Assos Weekly update of contrib modules
piwik.admin.js 3,94 ko d756b39a environ 8 ans Assos Assos Weekly update of contrib modules
piwik.info 391 octets 60283730 presque 6 ans Assos Assos Weekly update of contrib modules
piwik.install 17,1 ko 60283730 presque 6 ans Assos Assos Weekly update of contrib modules
piwik.js 993 octets d756b39a environ 8 ans Assos Assos Weekly update of contrib modules
piwik.module 26,6 ko 147616a8 plus de 6 ans Assos Assos Weekly update of contrib modules
piwik.test 23,7 ko 147616a8 plus de 6 ans Assos Assos Weekly update of contrib modules
piwik.tokens.inc 1,4 ko f7a2490e environ 10 ans Assos Assos git mv htmltest drupal7
piwik.variable.inc 1,36 ko d756b39a environ 8 ans Assos Assos Weekly update of contrib modules

Dernières révisions

# Date Auteur Commentaire
60283730 14/06/2018 06:53 Assos Assos

Weekly update of contrib modules

147616a8 16/11/2017 00:01 Assos Assos

Weekly update of contrib modules

5136ce55 10/08/2016 22:49 Assos Assos

Weekly update of contrib modules

d756b39a 27/04/2016 22:50 Assos Assos

Weekly update of contrib modules

de644da6 11/12/2014 13:05 Julien Enselme

Update piwik from 2.6 to 2.7

2f8c40f0 01/10/2014 22:28 Assos Assos

Weekly update of contrib modules

e9f59589 11/06/2014 22:41 Assos Assos

Weekly update of contrib modules

f7a2490e 13/02/2014 15:56 Assos Assos

git mv htmltest drupal7

Voir les révisions

README


Module: Piwik - Web analytics
Author: Alexander Hass http://www.hass.de/

Description

Adds the Piwik tracking system to your website.

Requirements

  • Piwik installation
  • Piwik website account

Installation

  • Copy the 'piwik' module directory in to your Drupal sites/all/modules directory as usual.

Usage

In the settings page enter your Piwik website ID.

You will also need to define what user roles should be tracked.
Simply tick the roles you would like to monitor.

All pages will now have the required JavaScript added to the
HTML footer can confirm this by viewing the page source from
your browser.

Custom variables

One example for custom variables tracking is the "User roles" tracking. Enter
the below configuration data into the custom variables settings form under
admin/config/system/piwik.

Slot: 1
Name: User roles
Value: [current-user:piwik-role-names]
Scope: Visitor

Slot: 1
Name: User ids
Value: [current-user:piwik-role-ids]
Scope: Visitor

More details about custom variables can be found in the Piwik API documentation
at http://piwik.org/docs/javascript-tracking/#toc-custom-variables.

Advanced Settings

You can include additional JavaScript snippets in the advanced
textarea. These can be found on various blog posts, or on the
official Piwik pages. Support is not provided for any customisations
you include.

To speed up page loading you may also cache the piwik.js
file locally. You need to make sure the site file system is in public
download mode.

Known issues

Drupal requirements (http://drupal.org/requirements) tell you to configure
PHP with "session.save_handler = user", but your Piwik installation may
not work with this configuration and gives you a server error 500.

  1. You are able to workaround with the PHP default in your php.ini:

[Session]
session.save_handler = files

  1. With Apache you may overwrite the PHP setting for the Piwik directory only. If Piwik is installed in /piwik you are able to create a .htaccess file in this directory with the below code:

# PHP 4, Apache 1.

php_value session.save_handler files

# PHP 4, Apache 2.

php_value session.save_handler files

# PHP 5, Apache 1 and 2.

php_value session.save_handler files

Formats disponibles : Atom