I recently installed the Google Tag Manager plugin in my WeWeb app and added my Container ID, but GTM doesn’t seem to recognize that the tag is installed.
I’ve checked my setup multiple times, but when I use Tag Assistant or preview mode in GTM, it says that no GTM container is detected on my site.
Has anyone else experienced this issue? What could be causing it, and how can I fix it?
Hi, I have the same issue. My GTM works great on my other website but Tag assistant keep saying “No GTM container is detected” on my website : app.pochade.fr
The GTM works and is detected on the staging and the editor. Any idea ?
Same problem. GTM is not being recognized using plugin. I followed this setup (https://www.youtube.com/watch?v=UjZ-V8E1E9A) and everything looks fine on the setup across (1) WeWeb plugin, (2) Google Tag Manager, and (3) Google Analytics…but there is no connection, per screenshot.
Any advice or video of the basics to establish connection across the 3 above?
I gave up and removed the plugin. It worked for a long time, then after setting up Sentry, it stopped and even after removing Sentry it wouldn’t work any longer.
Since I use Cloudflare for my DNS, I gave their Tag Management a try. It is a GTM alternative called Zaraz. It’s easy to setup once you figured out that you need to setup a dummy sub-domain and then use that to initialize the JS code. (Use Zaraz on domains not proxied by Cloudflare · Cloudflare Zaraz docs)
My steps:
Add a sub-domain to your site DNS settings. Make sure it is proxied:
Go out to the main Cloudflare account home, and then click ‘Tag Management’. Should bring up a list of your domain(s) with Zaraz and Consent Management Inactive. Click on the domain name.
Add the 3rd-party tools you want to feed event data to and follow setup. In my case GA4 and FB Pixel. Pixel required additional API key that they provide directions for:
Very helpful, thank you. I followed your guide above, but the script was not added to my site (confirmed when inspecting via F12).
Where did you find the Zaraz script to add to your headers? It looks like Zaraz default settings are to auto-inject the script…but it appears you manually added them WeWeb / Project Settings / Custom Code / Header, correct?
I have the Auto-inject and iFrame-inject disabled in my settings. Since the WeWeb custom domain cannot be set to proxy in the DNS settings, Cloudflare can’t inject the script automatically. That is why I had to use the dummy sub-domain, which can be proxied.
Thanks, Eric. I ended up contacting WeWeb support, who confirmed that many users are successfully using the plugin, which prompted me to start from scratch and retry. I uninstalled the plugin and deleted Google Tag Manager (GTM) and Analytics that I had set up. Then I set up GTM and reinstalled the plugin - and confirmed that connection within GTM before adding Google Analytics. Everything works now, but I don’t know what was wrong before, as I believe the setup was the same.