PIWIK
If you'r familar with using Piwik you will be happy to know there are also built-in components to use piwik with your website.
Just add the piwik-domain and id to your config.ini
statistic.piwikDomain = https://my.piwik-domain.com
statistic.piwikId = 20