Piwik

This article describes Piwik Web Analytics

Piwik uses gd freetype. Enable gd truetype flags on php

Edit /etc/portage/package.use and add "dev-lang/php fpm -exif mysqli pdo gd truetype"

Piwik requires the following change in php.ini

Restart webserver and php services

Change to web server public directory

Download and extract piwik analytics

Create a database and user for piwik (using mysql example)

Create directories and change write permissions required by piwik

In your browser navigate to piwik and follow the configuration instructions

http://localhost/piwik

Change back the write permission on directories except on /var/www/localhost/htdocs/piwik/tmp