- Create website in Piwik and get its idsite
- Create a directory for this website in /home/analytics/website_logs/ and create in it a directory parsed
For example.org, create /home/analytics/website_logs/example.org dir and /home/analytics/website_logs/example.org/parsed
- Write a file piwik.conf in this directory with almost this line: idsite={{idsite}}
- Puts log files in directory of required website and have fun
A cron launch parse_analytic_logs script. This script parse logs file through the script provided by Piwik with given parameter idsite. source for script provided by Piwik : http://piwik.org/docs/log-analytics-tool-how-to