简体   繁体   English

用golang设置piwik

[英]setup piwik with golang

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 我想用Go服务器设置piwik,我尝试在google中搜索它,唯一出现的相关结果是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 但是如果有人可以向我指出正确的方向,配置piwik或适合go的替代分析平台,它没有有关如何使用中间件的任何信息,将非常有用。

thanks in advance 提前致谢

I have found your question and decided to write a middleware for piwik. 我找到了您的问题,并决定为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 您必须先在PHP服务器上设置piwik,然后才能使用此中间件来跟踪您的请求: https : //github.com/veecue/piwik-middleware

Piwik itself is a PHP project, you can not set it up using Go. Piwik本身是一个PHP项目,您无法使用Go进行设置。

The repository you linked to is a couple of methods to send Piwik specific data to the Piwik API. 您链接到的存储库是将Piwik特定数据发送到Piwik API的两种方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM