GTMはコンテンツセキュリティポリシーに違反したため、スクリプトの読み込みを拒否しました

こんにちは、

Discourse に新しい GTM コンテナを追加しようとしています。以下のエラーが発生します。

スクリプト「https://forums.techsoup.org/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3&ns=1&cb=1660101200」の読み込みが拒否されました。これは、以下のコンテンツセキュリティポリシーディレクティブに違反しているためです:「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'」。'script-src-elem' が明示的に設定されていないため、'script-src' がフォールバックとして使用されています。

コンテンツセキュリティポリシーに新しいスクリプトを追加する必要があります。

「いいね!」 3

Twitter アナリティクスとの統合方法について、ご教示いただけますでしょうか。

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