# GTM container blocked

**URL:** <https://community.hubspot.com/t/gtm-container-blocked/109963>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [June 24, 2024, 1:53pm UTC](https://community.hubspot.com/t/gtm-container-blocked/109963 "2024-06-24T13:53:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PSummers3](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@PSummers3](https://community.hubspot.com/u/PSummers3)\
**Post date:** [June 24, 2024, 1:53pm UTC](https://community.hubspot.com/t/gtm-container-blocked/109963/1 "2024-06-24T13:53:56Z")

</div>

We have recently migrated from WordPress to HubSpot CMS. Unfortunately we are having difficulty getting tracking to work properly. The GTM container and GA4 tracking code are both on the website. We have also activated the cookie consent banner using the Opt-in option.

Unfortunately, the GTM container appears to be getting blocked (I’m unsure what by) when navigating to second page in a journey and therefore it’s not firing, despite accepting the cookies in the cookie consent banner.

Any insight on what needs updating / fixing would be appreciated.

Pete

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 25, 2024, 4:13pm UTC](https://community.hubspot.com/t/gtm-container-blocked/109963/2 "2024-06-25T16:13:24Z")

</div>

Hi, @PSummers3 Thanks for your post. Do you have any additional details you can provide to help our community members better troubleshoot with you?

Hey, [@Ben\_M](https://community.hubspot.com/t5/user/viewprofilepage/user-id/87451) @TomM2 @alyssamwilie do you have any troubleshooting tips you can share with @PSummers3?

Thank you for taking a look! — Jaycee

---

<div class="post-metadata">

**Author:** ![Ben\_M](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ben_m/32/2679_2.png) [@Ben\_M](https://community.hubspot.com/u/Ben_M)\
**Post date:** [June 30, 2024, 2:17pm UTC](https://community.hubspot.com/t/gtm-container-blocked/109963/3 "2024-06-30T14:17:25Z")

</div>

Can you share a link to one of your pages so we can examine what is going on?

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [July 1, 2024, 12:51pm UTC](https://community.hubspot.com/t/gtm-container-blocked/109963/4 "2024-07-01T12:51:02Z")

</div>

Hey@PSummers3

First thing I woul check is that you’e implemented GA4 using the HS integration rather than manually adding the scripts. [See this KB article.](https://knowledge.hubspot.com/website-pages/integrate-google-analytics-with-hubspot-content)
