Preview mode not working

Hi all,

I have a problem with the preview mode, when I launch it I don’t have the normal panel where we see the tags fired or not, it seems not working (see attachment 1).

I see an error in the Google console that indicates a Content Security policy. It can explain this bug ?

Thanks!

mtm preview|690x369

Hi, I am getting the same error, did you find a solution for this?

Hi @RATNAROY, @OuissMTM
This is an HTTP configuration of the tracked website, server side.
You have to add some exceptions in the Content-Security-Policy HTTP header. If not possible, you can add this in the HTML <meta http-equiv="Content-Security-Policy" ... > tag.
Put the address of your Matomo server in the script-src policy (and also connect-src policy to prevent unnecessary errors in the console log).
See:

1 Like

Thanks a ton! I have informed the developer, hopefully he’d be able to set it right.

1 Like