用golang设置piwik

I want to setup piwik with go server, I tried searching for it in google the only relevant result that came up was piwik.go zoey middleware
but it doesnt have any info on how to use the middleware if anyone could point me in a right direction, to configure piwik or an alternative analytics platform suitable with go it will be really helpfull

thanks in advance

I have found your question and decided to write a middleware for piwik. You have to set up piwik on a PHP server first, then you can use this middleware to track your requests: https://github.com/veecue/piwik-middleware

Piwik itself is a PHP project, you can not set it up using Go.

The repository you linked to is a couple of methods to send Piwik specific data to the Piwik API.