JS script is not loading

Hello everyone,

I’m trying to embed the the optinmonster JS script in order to show a welcome pop-up for the launch of the forum.

I used the HTML Theme component to insert it right before the

But I get this error in the browser console :

Refused to load the script 'https://a.omappapi.com/app/js/api.min.js' because it violates the following Content Security Policy directive: "script-src 'report-sample' .... Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
Is there something I should allow in the settings to load the script ?

Thanks for the help

1 Like

You can find solution to your problem here:

6 Likes

Yep, exactly what I needed. Thanks !

4 Likes

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