Tool

Google Tag Manager

Free tag management for websites and apps

Tool

Free tag management for websites and apps

Newsletter

One email on Fridays, and nothing else.

  • Practical B2B tips

  • 4-min read on Fridays

  • For anyone in B2B growth

About Google Tag Manager

  • Free option
  • API
  • MCP

Ideal for

Marketers and developers managing analytics, advertising, and conversion tags across websites without repeated code deployments

Considerations

What Google Tag Manager does

Google Tag Manager (GTM) is a free tool that sits between your website and tracking platforms. Instead of adding tracking code directly to your website, you place a single GTM container snippet on your site. From then on, marketers can add, update, and test tracking tags through a visual interface without touching website code.

How it simplifies tracking

Normally, adding a conversion pixel means emailing your developer, waiting for code deployment, and hoping it works. With GTM, you log into a dashboard and add the pixel yourself in minutes. This eliminates dependency on technical teams and lets marketers move at marketing speed.

Common use cases for B2B

Tracking form submissions: Set up a trigger that fires a pixel when someone submits your demo request or contact form.

Event tracking: Track button clicks, video plays, scrolling behaviour, or custom events that matter to your business.

Conversion pixels: Add Facebook, LinkedIn, TikTok, and Pinterest conversion pixels without code changes.

Cross-domain tracking: If you run multiple domains or subdomains, GTM helps ensure consistent tracking across them.

Testing and debugging: GTM's preview mode lets you see exactly what's being tracked before publishing to your live site.

Setup and learning curve

Basic setup takes 30 minutes. You paste a container snippet into your website's header, then everything else happens in the GTM interface. Learning the interface takes a few hours; mastering advanced features takes longer.

Integration with other tools

GTM integrates with Google Analytics, Google Ads, Facebook Ads, LinkedIn, HubSpot, Klaviyo, Brevo, and most marketing platforms. It also supports custom HTML and JavaScript for tools not in their template gallery.

Who should use it

Any marketing team managing multiple tracking platforms, e-commerce companies running pixel-based remarketing, SaaS companies tracking lead quality, and organisations where developers are bottlenecks. Most B2B companies benefit from GTM within their first year of growth.

Who shouldn't use it

Very small teams with only one or two tracking needs, or organisations where developers are happy to manage all tracking. If your website is simple and you're only tracking Google Analytics, native implementation might suffice.

Limitations and alternatives

GTM is powerful but has a learning curve for advanced use cases. It's also subject to browser restrictions that prevent pixels from firing. For complex data requirements or first-party data collection, you might layer GTM with a CDP like Segment or mParticle.

Ultimate guide

If you’ve decided to implement Google Tag Manager for your B2B marketing efforts, here’s a step-by-step guide to help you get started and make the most of its features.

Setting up Google Tag Manager

Create a Google Tag Manager account: Go to the Google Tag Manager website and sign in with your Google account. After signing up, create a new account and set up a container for your website or app. The container is where all your tags will live.

Install the GTM container code: Once you’ve created your container, GTM will provide you with two snippets of code. Place one snippet in the <head> section and the other in the <body> section of every page on your website. This will enable GTM to manage your tags.

Set up your first tag: After you’ve installed the GTM container, you can begin setting up your tags. To create a new tag, click on “Tags” in the GTM interface, then click “New”. Select the type of tag you want to create (e.g., Google Analytics: GA4 Configuration), and configure it by entering the necessary details (e.g., your tracking ID for Google Analytics).

Set up triggers: Triggers define when and where your tags should fire. For example, you can set a trigger to fire a tag on all pages, or only on specific pages (like your thank-you page after a conversion). To create a trigger, click on “Triggers” in the GTM interface, then click “New” and set the conditions for the tag to fire.

Use variables: Variables allow you to capture dynamic values, such as the page URL or the value of a form field. To create a new variable, click on “Variables” in the GTM interface, then click “New” and define the variable’s value. You can use these variables in your tags and triggers.

Test your tags: Before publishing your changes, use the “Preview” mode to test your tags and triggers. This ensures that everything is working as expected and allows you to troubleshoot any issues before they go live.

Publish your container: Once you're satisfied with your setup, click on “Submit” to publish your container. This makes your tags live on your website.

Best practices for using Google Tag Manager

Organise your tags, triggers, and variables: Keep your GTM setup organised by using naming conventions and folders. This makes it easier to find and manage tags in the future.

Implement consent management: If you’re subject to privacy regulations like GDPR, make sure that you’re using GTM’s built-in features to manage user consent before firing tags that collect personal data.

Regularly audit your tags: Periodically check your tags to make sure they’re still functioning properly and are relevant to your current marketing efforts.

Leverage debugging tools: GTM has built-in debugging tools that allow you to test and debug your tags before they go live. Use these tools to ensure that everything is working correctly before publishing.

Conclusion

Google Tag Manager is a powerful tool that simplifies tag management and empowers marketers to take control of their tracking setups. By following this guide, you can leverage GTM to improve your B2B marketing efforts. However, it’s important to consider the learning curve and technical aspects of using GTM, especially if you’re working with a large or complex website. With the right setup and attention to detail, GTM can become an indispensable tool for tracking and optimising your marketing campaigns.

Review

As a head of growth and founder of two agencies, I’ve been using Google Tag Manager since its early days, and I can confidently say that it’s a game-changer for marketers who want to take control of their tracking setup. Six months ago, I was working with a team that relied on developers to implement tracking codes and tags, and it was a slow and cumbersome process. Once we started using GTM, everything became more streamlined and efficient. However, it’s not without its challenges, and here’s my perspective.

Why you should use Google Tag Manager

If you're a marketer looking to implement Google Analytics or other tracking tools without relying on developers, GTM is an invaluable asset. It allows you to set up and manage all your tags in one place, reducing the complexity of handling multiple scripts. GTM’s centralised approach ensures that everything is organised, and you can make changes quickly without waiting for a developer. The ability to test tags before publishing them and revert to previous versions if needed adds a layer of security that helps avoid errors on your website.

Another reason why I recommend GTM is the flexibility it offers. If you're running complex campaigns or tracking specific events, GTM allows you to create custom tags to meet your needs. You can track user actions, monitor conversions, or integrate with other tools all without needing custom code. This flexibility is essential for B2B marketers who require detailed, accurate tracking to measure the effectiveness of their campaigns.

When you might reconsider using Google Tag Manager

Despite its many benefits, there are some limitations to Google Tag Manager. For starters, the learning curve can be steep, especially if you’re not familiar with tag management systems. Setting up complex tags or integrating with third-party platforms can take time to understand and implement correctly. If your website’s structure changes frequently or has custom elements, it can make GTM more difficult to manage, and you may need some technical assistance.

Additionally, GTM’s reliance on user data tracking means you must remain vigilant about privacy regulations like GDPR. While GTM offers features to manage user consent, it’s important to ensure that your setup complies with these regulations to avoid potential issues down the line.

Description

Google Tag Manager is a free tag management system that lets teams deploy and update tracking tags, pixels, and code snippets on a website or mobile app through a web interface, without editing site code directly. It centralises tags for tools like Google Analytics, Google Ads, and third-party platforms, with versioning, preview/debug, and access controls. It suits marketers and developers who need to manage tracking and conversion tags across one or many sites.

Academy

Growth Academy

Start free

A free account opens the first course and keeps your progress.

  • A free course

  • Track your own skills

  • Every playbook you unlock