Piwik Statistic Integration

This module pulls statistics from piwik and stores them to fields of any entity

(eg. nodes, users, ..).

Features

  • Statistical information is stored in fields you can attach to any fieldable entity
  • Dynamic formatters to show statistical information on entities
  • Configurable 'period' parameter for each field
  • Full Views integration to build things like "Top5 Viewed Nodes"
  • Statistics summary tab on nodes and users
  • Refresh statistics on cron (queued) run or on demand (batch)
  • Currently tested with latest Version of Piwik (1.8)

Requested data

  • Unique entity page views.
  • Overall entity page views.
  • Number of visits that started on an entity.
  • Number of page views for visits that started on that entity.
  • Time spend, in seconds, by visits that started on this entity.
  • Number of visits that started on this entity and bounced (viewed only one page).
  • Number of visits that finished on this entity.
  • Total time spent viewing this entity, in seconds.
  • Ratio of visitors leaving the website after landing on this entity (in percent).
  • Ratio of visitors that do not view any other page after this entity (in percent).

Usage

  1. Install as usual;
  2. Go to admin/config/system/piwik and paste in your API authentication token (you'll find it on your piwik site at 'API').
  3. (At advanced settings you can decide whether the fields should be filled on cron-run)
  4. Attach the piwik field to an entity of your choice (content type, user fields, ...)
  5. Now you can fill the fields for the first time by clicking on Fill statistical Piwik fields on the piwik settings page

Requirements

Short name
piwik_stats