Unable to use Piwik's 'Site Inspector' on our site

Hi,

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?).

Website: Industrial Printers, Coders and Markers | Domino Printing
Piwik Container: https://domino-printing.piwik.pro/

Thanks in advance :slight_smile:

Hello @B_Shimm

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:

<script id="ppas_container_configuration" data-appid="6704945d-98ce-4462-85cc-d3d886e8cdb8" data-host="www.domino-printing.com"></script>

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.

Let me know if it worked for you.

Hi @jfidala

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! :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.