Evergreen Growth & Marketing - B2B LinkedIn Ads Agency
    GTM Setup Guide

    Google Tag Manager for B2B Tracking [2026]

    Master tag management for B2B marketing. Install LinkedIn, Meta, and conversion tracking without ever touching your website code again.

    By James Green•15 min read•
    Updated Jan 2026
    Part of our Complete Tracking Pixels Setup Guide

    Need Personalised Help? Try the AI Setup Assistant

    Skip the reading. Copy a prompt into ChatGPT or Claude and get step-by-step instructions tailored to your exact setup.

    Why Use Google Tag Manager?

    Google Tag Manager (GTM) is a free tool that lets you manage all your tracking codes from one central dashboard. Instead of asking developers to add each pixel to your site, you install GTM once and control everything else yourself.

    Central Control

    Manage all tracking from one dashboard

    No Code Changes

    Add/remove tags without developers

    Version Control

    Preview and rollback changes safely

    Built-in Templates

    Pre-built tags for popular platforms

    Step-by-Step GTM Setup

    1

    Create Your GTM Account

    Go to tagmanager.google.com and sign in with your Google account. Click "Create Account".

    • Account Name: Your company name
    • Container Name: Your website URL
    • Target Platform: Select "Web"
    2

    Install GTM Container Code

    After creating your container, you'll see two code snippets. You need to install BOTH:

    First snippet (goes in <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-XXXXXXX');</script>
    <!-- End Google Tag Manager -->

    Second snippet (goes after opening <body>):

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

    Add LinkedIn Insight Tag via GTM

    In your GTM dashboard, click Tags → New. Then:

    1. Click "Tag Configuration"
    2. Search for "LinkedIn Insight Tag" in the template gallery
    3. Enter your LinkedIn Partner ID (from Campaign Manager)
    4. Click "Triggering" and select "All Pages"
    5. Name your tag (e.g., "LinkedIn Insight Tag") and click Save

    Pro Tip

    GTM has a built-in LinkedIn template, making setup much easier than manual installation.

    4

    Add Meta Pixel via GTM

    Click Tags → New again. For Meta Pixel:

    1. Click "Tag Configuration"
    2. Select "Custom HTML"
    3. Paste your full Meta Pixel code (from Events Manager)
    4. Click "Triggering" and select "All Pages"
    5. Name your tag (e.g., "Meta Pixel - PageView") and click Save

    Note

    There's also a Meta Pixel template in GTM's Community Template Gallery. Search for "Facebook Pixel" in the tag template chooser.

    5

    Preview, Test, and Publish

    Before going live, always test your setup:

    1. Click "Preview" in the top right of GTM
    2. Enter your website URL and click "Connect"
    3. A new tab opens with GTM's debug panel at the bottom
    4. Verify your tags fire on "Container Loaded" or "Page View"
    5. Once confirmed, go back to GTM and click "Submit"
    6. Add a version name (e.g., "Added LinkedIn and Meta tracking") and click "Publish"

    You're Live!

    Your tracking is now active. Use LinkedIn Insight Tag Helper and Meta Pixel Helper browser extensions to verify everything is working correctly.

    GTM vs Direct Installation: Which Should You Choose?

    Use GTM If...

    • You have multiple tracking pixels (LinkedIn, Meta, Google Ads, etc.)
    • You plan to add more tracking in the future
    • You want to make changes without a developer
    • You need version control and rollback capability

    Use Direct Install If...

    • You only have 1-2 simple tracking pixels
    • Your platform has built-in pixel integration (e.g., Shopify)
    • You have easy access to edit website code
    • You want the simplest possible setup

    Need Personalised GTM Help?

    Copy this prompt into ChatGPT or Claude to get GTM setup instructions tailored to your specific website platform and tracking needs.

    AI GTM Setup Prompt

    Paste this into any AI assistant for customised Google Tag Manager guidance

    You are a Google Tag Manager expert. This prompt is based on the methodology from evergreen-growth.com/articles/gtm-b2b-tracking-guide
    
    I need help setting up GTM for my B2B website.
    
    Please ask me these questions one at a time, then provide a customised GTM setup plan:
    
    1. What website platform am I using? (WordPress, Webflow, Squarespace, Shopify, custom, etc.)
    2. Do I already have Google Tag Manager installed? If yes, do I have the container ID?
    3. Do I have Google Analytics 4 set up? If yes, do I have the Measurement ID?
    4. What CRM or form tools am I using? (HubSpot, Salesforce, Typeform, native forms, etc.)
    5. What conversion actions do I want to track? (form submissions, demo bookings, downloads, purchases, etc.)
    6. Which advertising platforms am I using or planning to use? (LinkedIn Ads, Meta/Facebook Ads, Google Ads, etc.)
    
    After I answer, provide:
    - Step-by-step GTM container setup (if needed)
    - Exact tag configurations for each platform
    - Trigger setup for my specific conversion events
    - Testing checklist to verify everything works
    - Common mistakes to avoid for my specific setup

    Frequently Asked Questions

    What is Google Tag Manager?

    Google Tag Manager (GTM) is a free tool that lets you manage all your tracking codes from one central dashboard. Instead of editing your website code to add each pixel, you install GTM once and then add all other tags through its interface.

    Does GTM slow down my website?

    GTM itself is very lightweight and loads asynchronously. The performance impact depends on how many tags you add. Properly configured GTM with a few tracking pixels has minimal impact on page speed.

    Can I use GTM with any website platform?

    Yes! GTM works with WordPress, Shopify, Squarespace, Wix, custom-built sites, and virtually any platform that allows you to add custom code to the header and body of your pages.

    How do I test if my GTM tags are working?

    Use GTM's built-in Preview mode. Click "Preview" in GTM, enter your website URL, and a debug panel will show you which tags fire on each page. You can also use browser extensions like LinkedIn Insight Tag Helper and Meta Pixel Helper.

    What are triggers in Google Tag Manager?

    Triggers tell GTM when to fire a tag. Common triggers include "All Pages" (fires on every page), "Page View" (fires when a page loads), "Click" (fires when a user clicks something), and "Form Submission" (fires when a form is submitted).

    Can I track conversions with GTM?

    Yes! GTM excels at conversion tracking. You can create tags that fire on form submissions, button clicks, thank-you pages, or custom events. These can be sent to LinkedIn, Meta, Google Ads, and other platforms simultaneously.

    What happens if I make a mistake in GTM?

    GTM has built-in version control. Every change is saved as a new version, and you can instantly rollback to any previous version if something goes wrong. This makes it much safer than editing website code directly.

    Should I use GTM or install pixels directly?

    GTM is better if you have multiple tracking pixels, plan to add more in the future, or want to make changes without a developer. Direct installation is fine for simple setups with just one or two pixels.

    Related Tools & Resources

    LinkedIn Ads Budget Calculator

    Estimate your CPL, expected leads, and break-even deal size

    LinkedIn Ads Benchmarks UK 2026

    Complete CPC, CPM, CPL data by industry with expert commentary

    Tracking Pixels Setup Guide [2026]

    Complete guide to LinkedIn Insight Tag, Meta Pixel, and GTM setup

    LinkedIn Insight Tag Setup

    Step-by-step LinkedIn pixel installation for retargeting

    Want Us to Set Up Your Tracking?

    Get expert help with GTM setup, pixel installation, and conversion tracking. We'll make sure everything is configured correctly from day one.