matomo
- matomo-org/matomo
- GPLv3, PHP+MySQL
- nginx piwik recipes
- 自定义 logo
- 通过代理进行外部访问
- 插件
- log-analytics
- 限制
- Custom Dimensions 100个
- 付费功能 - On-Premise 独立付费
- Activity Log
- WooCommerce Analytics
- Search Engine Keywords Performance
- Funnels
- Users Flow
- White Label
- Heatmap & Session Recording
- A/B Testing
- Custom Reports
- Forms
- Media Analytics
- Roll-Up Reporting
- Advertising Conversion Export
- SEO Web Vitals
- Crash Analytics
- Multi-Channel Conversion Attribution
- Cohorts
- SAML integration
caution
- 不能读取百度关键词 - 只有百度统计可以
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
- https://github.com/matomo-org/matomo/blob/5.x-dev/config/global.ini.php
- https://github.com/matomo-org/matomo/blob/4.x-dev/config/global.ini.php
- /piwik.js
- /piwik.php
- /matomo.js
- /matomo.php
- https://github.com/matomo-org/matomo/blob/master/js/piwik.js
活动支持
- 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
配置
[General]
# 使用 https
assume_secure_protocol=1
FAQ
关闭网络访问
- How do I configure Piwik on a server without Internet?
- 禁用掉 Marketplace 插件即可
如何检测唯一用户
- https://matomo.org/faq/general/faq_21418/
- 默认跨站用户独立跟踪,可使用
enable_fingerprinting_across_websites
关闭