top of page
  • Writer's pictureBrent Payne

URL contains no Google Tag Manager code

The scanned URL seems to lack the inclusion of the Google Tag Manager (GTM) snippet code.

Why is this important?

Employing GTM streamlines the process of implementing tags for tracking and analytics purposes, such as for Google Analytics and Adwords Conversion Tracking.

This Optimization is simply to point out that the URL does not have a GTM tag installed.

What does the Optimization check?

Should there be an absence of the GTM code in its JavaScript or non-JavaScript form within an internal URL, this Optimization will be triggered.

Examples that trigger this Optimization

Should a URL fail to incorporate the subsequent code within the <head> section, this Optimization will be activated:

<!-- 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=''+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-XXXX');</script><!-- End Google Tag Manager -->

Additionally, the URL will trigger this Optimization if it excludes this in the <body>:

<!-- Google Tag Manager (noscript) --><noscript><iframe src=""height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) -->

Why is this Optimization marked 'Insight'?

The designation 'Insight' for this Optimization suggests it doesn't necessarily prompt immediate action. It's provided to draw attention to a potential area of interest rather than signaling an urgent issue to address.

Considering most internet sites don't leverage GTM, the typical expectation is for this Optimization to be activated across URLs where GTM isn't employed.

However, for those sites that do rely on GTM, this Optimization becomes invaluable as it will pinpoint the specific URLs lacking the GTM code, providing an opportunity for review and rectification if needed.

0 views0 comments

Recent Posts

See All

CSS file size too large discovered in SEO audit

In our SEO audits at Loud Interactive, we often come across a common yet significant issue that can heavily impact your website's loading speed and overall performance: CSS file size too large. Let's

CSS file size too large discovered in SEO audit

When conducting an SEO audit on your site, one issue that might come up is that your CSS file size is too large. But why does this matter, and what can you do about it? Let's dive in. What's the Issue

H1 tag missing or empty" Discovered in an SEO Audit

At Loud Interactive, we've encountered a common issue during our SEO audits that can significantly impact a website's performance on search engines: the "H1 tag missing or empty" warning. This problem

bottom of page