google tag manager on every wordpress site, container ready.
paste a `GTM-XXXXXX` container ID. the head snippet renders in `wp_head`, the noscript fallback renders right after `<body>`. no plugin, no manual theme edit, no missing noscript that voids your dataLayer.
free trial. no credit card. all 30 integrations included on every plan.
GTM layers inside every wordpress site.
GTM has two snippets: one for `<head>`, one immediately after `<body>`. Most WordPress plugins place the first; many skip the second because there's no clean theme hook.
one container, every tag, no plugin merry-go-round.
paste a `GTM-XXXXXX` once. manage every tag inside Tag Manager — analytics, ad pixels, custom HTML, conversion linker, consent cmp. no per-tag WordPress plugin to install or update.
GTM-EXAMPLEboth snippets, in the right place, every page.
most WordPress GTM plugins render the head snippet but skip the noscript iframe — Google's spec wants both. without noscript, no-JS bots and accessibility audits flag the install as incomplete.
<!-- 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,'script','dataLayer','GTM-EXAMPLE');</script>
<!-- End Google Tag Manager --><!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-EXAMPLE"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->paste your container ID. publish.
Yovale validates `GTM-` shape at save. the MU-plugin places the head snippet at `wp_head` priority 1 and the noscript iframe immediately after `<body>` open — exactly where Google's docs require.
- 1Open Tracking → Analytics
Find Google Tag Manager in the dashboard's tracking panel. ships disabled by default.
- 2Paste your GTM container ID
Copy from the GTM workspace — top-right of the screen, format `GTM-XXXXXX`.
- 3Publish a tag in GTM, save here
Toggle on in Yovale. The head + noscript pair renders on the next page hit. Use Tag Assistant to confirm.
GTM-EXAMPLEGTM issues this when you create a workspace. format: `GTM-` followed by 4–12 uppercase letters or digits.
one plugin per pixel, or one container to rule them all.
N plugins, N update channels
1 container, 1 publish flow
page load → dataLayer → tag fired.
container tag in `<head>` requests gtm.js
events queue while gtm.js loads
tags evaluate triggers in priority order
GA4 + Meta + LinkedIn fire if conditions met
marketing tags wait for consent grant
questions before you switch hosts for GTM.
Can I use both GTM and a direct GA4 integration?
Yes. Many teams keep GA4 direct (faster initial load) and run all other tags through GTM. Both ship from the Yovale tracking panel and don't conflict.
Does the noscript iframe really matter?
It matters for no-JS bots, accessibility audits, and Tag Assistant verification. Skipping it doesn't break JS users but does flag the install as incomplete and drops crawler-only conversions.
What about server-side GTM?
Server-side GTM runs on a Google Cloud Run instance, not the WordPress host. The web container snippet is what Yovale renders — sGTM forwarding is configured inside GTM itself.
Will the page cache strip my GTM snippet?
No. The snippet is part of the cached HTML. Consent state lives on a `<html>` class set client-side, so the cache key stays page-level instead of per-visitor.
Can I switch between GTM containers without losing data?
Yes. Change the GTM-XXXXXX in the dashboard and save. Old container fires until the page cache rotates; you can purge the cache from the same panel to switch immediately.
tags you can manage inside your container.
fire GA4 directly or through your GTM container — both work on every plan.
common reason teams adopt GTM — manage Meta + GA + ads from one container.
conversion tag for Google Ads, often deployed through GTM.
free heatmaps that pair well with GTM-managed events.
ship a WordPress site with GTM properly installed by day one.
free trial. no credit card. paste a GTM-XXXXXX, save, and Tag Assistant turns green.