August 10, 2022, 5:21am
I have been using matomo since piwik, but I am new to the forum. Specifically, I use it with wordpress and this plugin. I would like to know if there is a way to embed the visitor map on my website so that I can remove the revolver map and reduce external tracking.
August 10, 2022, 8:36am
Revolver maps is an external service that provides visitor map.
As you can see:
07:34PM - 06 Jul 08 UTC
At the moment, users can only export widgets if they have made their statistics
… publicly available. Often, people would be happy to share their number of visits (and show the evolution graph over the last 30 days for example), but they don't want to share other data (keywords, referers, etc.).
At the moment widgets are shown only if stats are avaialble for the anonymous user, or if the user passes its token_auth to the widget. This is a problem as currently token_auth is like having the login + password.
- each website is associated with a website_key that has VIEW access to the website data.
- this key is the one passed for invoking the widgets.
- it is expected that this key is Known to external users. Having this key means that all the website reports are readable.
- during Authentication, in: /plugins/Login/Auth.php there will be a new sql query to select from piwik_site and try and match a website key; if matched, the login used is anonymous. anonymous user has read access but no write access (you can't create websites, users, goals, etc.).
- DB changes: new token_auth field of 32 chars in piwik_site
- Migration: this token_auth must be randomly generated for all existing websites during migration.
- API: the token_auth is now returned in the website responses from the SitesManager API, eg. in SitesManager.getSiteFromId(). When adding a new website, the token_auth must be generated.
- Authentication: should be a small change in plugins/Login/Auth.php. Side note: we make sure that when the token_auth is empty in the DB (in case of migration issue for example), the authentication fails.
- UI: the website_key is now added to all widgets embed fields URLs (for flash invocation, and iframe invocation)
The downside of this method is that the website_key is available to see all widgets for a website. This is rather open and will be an issue for some websites which will claim that it is not ok to open all the reports to everyone. The alternative would be to have a md5 hash generated for each tuple (widget, website), the Auth would then look in this list to authenticate.
if anyone is interested and wants to build this feature, let us know in the comments
I would like to suggest a rather small detail change to the live-map-widget, which hopefully can be added quite easily:
The one thing that has kept me from using the live map widget is the user details offered in the black info squares as one hovers over the visits - that is just too much info leaking there IMO, so my request comes down to:
Please add an option NOT to display these info-bubbles (or, for the time being, point me at the code to investigate),
or allow for pic…
And also (I known you already saw this ;-))
I’m using wordpress and wp-piwik plugin in order to import data into my Web site. However, the plug in does not support the import of visitor map even if this is planned as long term feature
I read this guide about importing data into Web sites. I would like to have public access (not password protected) to my data without giving anonymous access.
Is there any way to achieve this?
So today there is no simple solution available…
Then you can either: