我想做的是,将整个piwik仪表板集成到网站管理面板中,这样只有管理员才能看到统计信息。
使用以下代码。
<iframe src="<url to piwik folder>/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=1&period=week&date=yesterday" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%"></iframe>
但是 piwik 给了我以下屏幕
The requested website idSite is not found in the request, or is invalid. Please check that you are logged in Piwik and have permission to access the specified website.
Go to Piwik
Login
我究竟做错了什么?