# GTM סירב לטעון את הסקריפט מכיוון שהוא מפר את ה-Content Security Policy

**URL:** <https://meta.discourse.org/t/gtm-refused-to-load-the-script-because-it-violates-the-content-security-policy/194058>\
**Category:** Data & reporting\
**Created:** [16 ביוני,‏ 2021,‏ 1:06pm UTC](https://meta.discourse.org/t/gtm-refused-to-load-the-script-because-it-violates-the-content-security-policy/194058 "2021-06-16T13:06:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![narayanan](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@narayanan](https://meta.discourse.org/u/narayanan)\
**Post date:** [16 ביוני,‏ 2021,‏ 1:06pm UTC](https://meta.discourse.org/t/gtm-refused-to-load-the-script-because-it-violates-the-content-security-policy/194058/1 "2021-06-16T13:06:42Z")

</div>

Hi,

I’m trying to add new GTM container to discourse. We get

```plaintext
Refused to load the script "https://forums.techsoup.org/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3&ns=1&cb=1660101200' because it violates the following Content Security Policy directive: "script-src https://forums.techsoup.org/logs/ https://forums.techsoup.org/sidekiq/ https://forums.techsoup.org/mini-profiler-resources/ https://forums.techsoup.org/assets/ https://forums.techsoup.org/brotli_asset/ https://forums.techsoup.org/extra-locales/ https://forums.techsoup.org/highlight-js/ https://forums.techsoup.org/javascripts/ https://forums.techsoup.org/plugins/ https://forums.techsoup.org/theme-javascripts/ https://forums.techsoup.org/svg-sprite/ https://www.googletagmanager.com/gtm.js 'nonce-0cac1a2cef90863cc692ed7f68c5f4f0'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback"

```

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/b/fb3d203c0d43bacfff13ed6996c21a790abe20da.png)

---

_[View the full topic](https://meta.discourse.org/t/gtm-refused-to-load-the-script-because-it-violates-the-content-security-policy/194058)._
