# Cant get google tag manager to work

**URL:** https://meta.discourse.org/t/cant-get-google-tag-manager-to-work/274805
**Category:** Data & reporting
**Tags:** analytics
**Created:** [August 11, 2023, 2:52pm UTC](https://meta.discourse.org/t/cant-get-google-tag-manager-to-work/274805 "2023-08-11T14:52:14Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [August 11, 2023, 3:15pm UTC](https://meta.discourse.org/t/cant-get-google-tag-manager-to-work/274805/2 "2023-08-11T15:15:41Z")

</div>

hi @Nikolaos_SP 👋 welcome to Meta 🙂

maybe have a look at this topic

> [@Google Tag Manager (gtm) script blocked by CSP](https://meta.discourse.org/t/google-tag-manager-gtm-script-blocked-by-csp/270210):
>
> Hi there! I’m having a hard time figuring out why our GTM script is being blocked by our CSP: Here’s the script: \<!-- Google Tag Manager --\> \<script\>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'sc…

---

_[View the full topic](https://meta.discourse.org/t/cant-get-google-tag-manager-to-work/274805)._
