[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
Hello,
On the mail App page inside wordpress
"Thanks for using WP-Piwik!
An error occured: You can't access this resource as it requires an view access for at least one website. [Support]
Auto site configuration is enabled.
Tracking code insertion is disabled"
I have inserted the "Before the </body> tag on your index.html or index.php file include the following code:
// <!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "http://www.MYSITE/counter/" : "http://MYSITE/counter/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://www.MYSITE/counter/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->
Under FOOTER.PHP That's is the only file i have found /body
in the Piwik settings, problem with "check url and auth token"
I have inserted in the REST url: http://www.MYSITE/counter/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday#module=Dashboard&action=embeddedIndex&idSite=1&period=day&date=yesterday&idDashboard=1
And the Token i took from the API page and paste...
Please help me to fix this issue :)
Thanks :)
Eldad