We have an issue where we’re trying to use the Piwik Site Inspector tool to look at some heatmaps we’re setting up but we’re getting an issue when trying to authenticate.
When firing up the inspector, it seems to try to redirect in the iFrame to /site-inspector/ which doesn’t exist on our site and throws a 404 error.
I’m assuming it’s meant to redirect to our Piwik container to authenticate but that’s not happening.
For relevance, we run a Meta site setup and the Piwik tag container is installed via some server side setup via our CMS, not via the dedicated Piwik Pro tag in Tag Manager (if that has some bearing on it?).
There should be possible way to fix it, but we do not take responsibility for any custom code. There is a script that points site inspector to read correct instance:
You would have to either manually change data-host to your Piwik PRO instance container domain domino-printing.piwik.pro with browser inspector - or do it with some custom html tag that switches data-host attribute for this script on page load.
Thanks for that workaround - a little script added via a tag to modify that ‘data-host’ value on Page Load and all works as expected - appreciate the solution!