URL contains no Google Tag Manager code

This means that the URL in question does not contain the Google Tag Manager snippet.

Why is this important?

Google Tag Manager (GTM) is user-friendly solution to managing tracking and analytics tags, for example Adwords Conversion Tracking and Google Analytics.

This Hint merely exists to highlight the absence of such a tag.

What does the Hint check?

This Hint will trigger for any internal URL that does not contain either the JavaScript or non-JavaScript versions of the GTM code.

Examples that trigger this Hint

The Hint would trigger for any URL which does NOT contain the following in the <head>:

<!-- 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-XXXX');</script>
<!-- End Google Tag Manager -->

AND does NOT contain the following in the <body>:

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

Why is this Hint marked 'Advisory'?

Most sites on the internet do not use GTM, so unless a site IS using GTM, you would actually expect this Hint to trigger for all the URLs.

This Hint becomes useful when you audit a site that does actively use GTM, as it will highlight the URLs for which the GTM code is not present, allowing you to check and potentially fix this.

Ready to try Sitebulb?
Start your free 14 day trial now

Start Free Trial