Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.16 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.16 KB

Travelistics

This is the repository for code developed in the Travelistics project at the Western Norway Research Institute.

Design and code for Travelistics

The code is covered by the WTFPL, the logo is a trademark of, and copyrighted Western Norway Research Institute.

Usage

addfromcsv.php is made to push data from a csv to piwik using the piwik API.

When loading historical data there are two important things to beware:

  1. change site creation date in (piwik_site) to be at the beginning of imported data
  2. drop all archive tables, which forces Piwik to recompute the data

When you have to process a lot of historical data it also comes handy to have the piwik/misc/cron/archive.sh script run from command line instead of accessing Piwik via web interface which will cause to process all historical data (after you dropped archive tables).