1 选择日期为当天
2 数据库中,表格piwik_log_visit有访问数据
解决方法:
设置php.ini中的时区为
date.timezone = Asia/Shanghai
若无修改php.ini的权限
修改piwik源码中的 index.php , piwik.php:
date_default_timezone_set("Asia/Shanghai");
php支持的时区列表
date.timezone = Asia/Shanghai
date_default_timezone_set("Asia/Shanghai");
#
How is a Unique Visitor counted in Piwik?
Unique Visitors is the number of visitors coming to your website; Unique Visitors are determined using cookies. If the visitor doesn't accept cookie, a simple heuristic is used to try to match the visitor to a previous visitor with the same features (IP, resolution, browser, plugins, OS, ...).
#
Positive Negative
How is a 'visit' defined in Piwik?
If a visitor comes to your website for the first time, or if he comes returns to your website 30 minutes after his last page view, this will be recorded as a new visit.
You can change this value for measuring visits (session timeout) in the configuration file (config/global.ini.php) by adjusting the visit_standard_length value (defaults to 1800 seconds, 30 minutes).
href="http://www.example.com/index.html?piwik_campaign=testsite"则 Referers->Campaignes中会显示 testsite
globalconfig.php 文件