# Script Google Tag Manager (gtm) bloqué par CSP

**URL:** <https://meta.discourse.org/t/google-tag-manager-gtm-script-blocked-by-csp/270210>\
**Category:** Data & reporting\
**Tags:** analytics\
**Created:** [Juin 30, 2023, 11:26 UTC](https://meta.discourse.org/t/google-tag-manager-gtm-script-blocked-by-csp/270210 "2023-06-30T23:26:29Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tyf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyf/32/288655_2.png) [@tyf](https://meta.discourse.org/u/tyf)\
**Post date:** [Juillet 3, 2023, 8:49 UTC](https://meta.discourse.org/t/google-tag-manager-gtm-script-blocked-by-csp/270210/7 "2023-07-03T20:49:34Z")

</div>

Merci beaucoup d’être intervenu ici @MarkDoerr !

> [@MarkDoerr](#):
>
> Il semble que vous ayez quelques scripts bloqués pour le moment que vous voudrez ajouter à votre CSP :
> 
> ![Screenshot 2023-07-03 at 12.26.00 PM](https://global.discourse-cdn.com/meta/original/4X/e/1/4/e14eb81906d2b80b52ec3ced661999f08ed5c223.jpeg)

Je devrai contacter l’équipe qui gère ces scripts et mentionner également la gestion du `nonce`, merci de les avoir signalés !

Étrange, avec `https://www.googletagmanager.com` ou `https://*.googletagmanager.com` autorisés, il n’y a aucune erreur liée au CSP pour le script GTM en particulier dans Brave ni Safari, seulement dans Chrome et Firefox.

---

_[View the full topic](https://meta.discourse.org/t/google-tag-manager-gtm-script-blocked-by-csp/270210)._
