Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Google Tag Manager (body)

The second part of the Google Tag Manager container code, right after the opening body tag.

  • Type HTML
  • Runs Public site, right after <body>
  • Category Analytics and pixels
  • Tested with WordPress 7.1

Before you switch it on: Replace GTM-XXXXXXX with your container ID.

It arrives switched off, even when you install its whole pack with "Switch on after installing".

HTML
<!-- Replace GTM-XXXXXXX with your container ID. -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

Good to know

Needs a theme that supports wp_body_open (all current themes do).

Comes with a rule

It doesn't run for administrators, so your own visits don't count in your statistics. You can change the rule after installing.

In these packs

  • Analytics and pixels: The usual tracking codes, ready to paste your ID into. Administrators’ visits aren’t counted.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.