Because now all the inline scripts initialised by gtm are blocked. But I want to whitelist them all. And I can’t find the inline code I’m referring to inside “Inline Whitelist tab”
It’s always this part of the gtm script, that gets blocked, this is used to place tags in the code. For example a facebook pixel. The external script itself has a nonce so is whitelisted.
f.prototype.aa = function(a) {
this.D('<span id="ps-script"/>');
var b = this.i.getElementById("ps-script");
b.parentNode.replaceChild(a, b)
}
The site I’m referring to: https://jobs.realdolmen.com/
-
This reply was modified 2 years, 10 months ago by
samlinck.
-
This reply was modified 2 years, 10 months ago by
samlinck.
For people experiencing the same problem as me: https://stackoverflow.com/a/74662683/22339887
This answer fixed it for me. The accepted answer wasn’t working in my case.