I have been searching the whole net for all night long but I can’t find a specific solution. Any help would be greatly appreciated.
What I want to do is, show a weekly visits graph above the [wp-piwik module="overview" title="" period="year" date="yesterday"]
code, in a public widget.
I tried to add <span class="wp-piwik_dynbar">Loading...</span> but of course that doesn’t work when I log out. And there’s no option for “everybody” in “Piwik Display to” settings.
Now I know that in order to publicly share my piwik reports, I have to allow anonymous user.
But I only want “weekly visits graph” to be public not my whole piwik platform.
I’ve read about using the authorization token for registered users, but I want this graph to be seen by everybody.
So what I’m wondering is, if there is any possible way to use wp-piwik to act like a registered user for anonymous and grab only a specific data (in this case a weekly visits dashboard) from piwik and share it on a sidebar widget, by using shortcodes and not risking any security issues?
If I could accomplish this with a work around or with a simple known code I will be the happiest guy of this year.
Any suggestions and replies are greatly appriciated.