Skip to content

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

Google Tag Manager (head)

The first part of the Google Tag Manager container code, for the page head. Install “Google Tag Manager (body)” too.

  • Type HTML
  • Runs Public site, in <head>
  • Tested with WordPress 7.1

Fill in your details first. Replace GTM-XXXXXXX with your container ID.

HTML
<!-- Replace GTM-XXXXXXX with your container ID. -->
<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-XXXXXXX');</script>

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.