Matomo

matomo#

docker run --rm -it \
--name matomo matomo
; 外部网络代理
[proxy]
host = proxy ; Proxy host: the host name of your proxy server (mandatory)
port = ; Proxy port: the port that the proxy server listens to. There is no standard default, but 80, 1080, 3128, and 8080 are popular
username = ; Proxy username: optional; if specified, password is mandatory
password = ; Proxy password: optional; if specified, username is mandatory

活动支持#

  • Piwik 支持 GA 的 utm_campaign, utm_medium, utm_source, utm_term FAQ 119
# vhost log format
log_format vhosts '$host $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
  • piwik/config/config.ini.php

FAQ#

关闭网络访问#

如何检测唯一用户#

[General]
# 使用 https
assume_secure_protocol=1