Skip to content
Analytics & Conversion Optimization

Google Tag Manager Setup and Container Management

One organised place for every tracking tag on your website, with reliable triggers, a proper data layer and changes that never break your site.

Google Tag Manager Setup

What is Google Tag Manager Setup?

Modern websites carry many tracking and marketing tags: Google Analytics 4, Google Ads conversion and remarketing tags, the Meta pixel, LinkedIn Insight Tag, Microsoft Clarity or Hotjar, chat widgets, affiliate pixels and more. When these are pasted directly into website code by different people over the years, the result is often a mess. Tags fire twice or not at all, nobody knows which ones are still needed, page speed suffers, consent choices are ignored and every change requires a developer.

Google Tag Manager (GTM) solves this by managing tags from a single container. Tags are configured once, fired by clear triggers, fed with information from variables and a data layer, tested in preview mode and published in versioned releases that can be rolled back. Marketing teams gain the ability to add and adjust tracking without redeploying the website, while developers provide structured data through the data layer instead of maintaining many scripts.

Our Google Tag Manager setup services cover new implementations, migrations from hard-coded tags, audits and clean-ups of existing containers, and ongoing management. We design container structure and naming conventions, work with your developers on data layer specifications, implement GA4, advertising and analytics tags, integrate consent management, test thoroughly and document everything. The foundation we build supports reliable GA4 data, accurate ad conversions and, where needed, server-side tracking.

Last updated:

Tools & technologies

  • Google Tag Manager
  • Tag Assistant
  • GA4 DebugView
  • Google Ads
  • Meta Events Manager
  • LinkedIn Campaign Manager
  • Consent management platforms
  • Chrome DevTools
Deliverables

What do you get?

Everything included in our google tag manager setup engagements, agreed in writing before work starts.
  • Tracking requirements and tag inventory
  • GTM account, container and permissions setup
  • Container structure, naming conventions and folders
  • Data layer specification for developers
  • GA4 configuration and event tags
  • Google Ads conversion, enhanced conversions and remarketing tags
  • Meta pixel, LinkedIn Insight Tag and other platform tags
  • Form, click, scroll, video and ecommerce tracking
  • Consent mode and cookie banner integration
  • Migration of hard-coded tags into GTM
  • Container audit, clean-up and performance review
  • Documentation and change management process
Capabilities

Google Tag Manager Setup capabilities.

Organised containers

Consistent naming, folders and notes make it clear what each tag does and why it exists.

Data layer done properly

We specify the data your developers should push, so tracking relies on stable data rather than fragile page elements.

Consent built in

Tags respect cookie choices through consent settings and your consent management platform.

Tested before publishing

Every change is checked in preview and debug tools, then published as a documented version.

Performance-aware

Unnecessary tags are removed and heavy scripts are reviewed, protecting page speed.

Secure by design

Access is limited, custom scripts are reviewed and publishing rights are controlled to prevent risky changes.

Works with modern websites

Tracking for single-page applications built with React, Next.js and similar frameworks, where pages change without full reloads.

How we work

Our Google Tag Manager Setup process.

Typical stages and durations. Exact timelines depend on scope and are confirmed in your proposal.
  1. 01

    Inventory

    Typically 2–4 days

    Current tags, tracking needs, platforms and site technology reviewed.

  2. 02

    Design

    Typically 3–5 days

    Container structure, naming, data layer specification and consent approach agreed.

  3. 03

    Implement

    Typically 1–2 weeks

    Tags, triggers and variables built; data layer implemented with developers.

  4. 04

    Test & publish

    Typically 3–5 days

    Preview testing, platform validation and versioned publishing.

  5. 05

    Document & support

    Ongoing

    Documentation delivered; ongoing changes managed as needed.

Guide

What should you know about Google Tag Manager Setup?

What is Google Tag Manager?

Google Tag Manager is a free tool that lets you add, manage and update tracking and marketing tags on your website or app without editing the site’s code each time. You install the GTM container once, then configure tags inside GTM. It supports Google and many third-party tags, and provides testing, version control and user permissions.

What are tags, triggers and variables?

GTM is built on three concepts.

  • Tags: code snippets that send data somewhere, such as a GA4 event or a Meta pixel event.
  • Triggers: rules that decide when tags fire, such as a page view, a click or a form submission.
  • Variables: values used by tags and triggers, such as page URL, button text or order value.

What is a data layer, and why does it matter?

The data layer is a structured JavaScript object on your website that holds information for tracking, such as page type, user status, products viewed, cart contents and completed transactions. Instead of GTM scraping information from page elements, which breaks when designs change, developers push reliable data into the data layer at the right moments. A clear data layer specification is the foundation of accurate ecommerce and conversion tracking.

Why move hard-coded tags into GTM?

Hard-coded tags are difficult to track, update and remove, and they often duplicate or conflict with each other. Moving them into GTM centralises control, allows testing before changes go live, provides version history, supports consent management and reduces dependence on developers for routine changes. Migration must be done carefully to avoid gaps or double counting during the switch.

Why is form tracking often unreliable?

Forms are submitted in many ways: page reloads, thank-you pages, AJAX submissions without reloads, embedded third-party forms in iframes and multi-step forms. Generic form triggers often miss submissions or count failed attempts. The most reliable approach is for the website to push a data layer event only after a successful submission, or to track a genuine thank-you page. For embedded forms, we use the provider’s own tracking features or messaging events.

How is tracking set up on React and Next.js websites?

Single-page applications change content without full page reloads, so standard page view triggers may fire only once. Tracking requires history change triggers or, better, data layer events pushed by the application on route changes and key actions. We work with developers to add these events in a consistent way. Our Next.js development team builds websites with tracking planned from the start.

How does GTM work with consent management?

GTM supports consent settings for tags, so tags can wait for or adapt to visitors’ consent choices. A consent management platform or cookie banner updates consent states, and Google tags use consent mode to adjust behaviour. Non-Google tags can be configured to fire only after the relevant consent is granted. Correct integration respects visitors and supports compliance with data protection expectations.

Which tags are commonly managed in GTM?

Common tags include GA4 configuration and events, Google Ads conversion tracking with enhanced conversions, Google Ads remarketing, Floodlight for enterprise advertisers, the Meta pixel, LinkedIn Insight Tag, Microsoft Advertising UET, Microsoft Clarity or Hotjar for heatmaps, chat widgets and affiliate or partner pixels. Each should be justified, documented and reviewed regularly.

How should a GTM container be organised?

A well-organised container uses consistent naming, such as platform, type and action in each tag name, folders by platform or purpose, notes explaining unusual configurations, shared variables instead of duplicates and a small number of well-defined triggers. This makes the container understandable to anyone who works on it later and reduces mistakes.

How are changes tested and published safely?

GTM’s preview mode and Tag Assistant show exactly which tags fire on each action and what data they send. We test each change across key pages and devices, confirm data arrives correctly in GA4 DebugView and ad platform tools, then publish with a descriptive version name. If something goes wrong, a previous version can be restored quickly. Workspaces allow several changes to be prepared without interfering with each other.

Who should have access to GTM?

GTM can run code on your website, so access should be controlled. Most users need only view or edit rights; publishing should be limited to trusted people. The container should belong to your business account, with agencies and freelancers given access that can be removed. Regular reviews of users and permissions reduce risk.

Can GTM slow down a website?

GTM itself is lightweight, but the tags it loads can affect performance, especially heavy third-party scripts, many pixels firing on every page and custom scripts that run inefficiently. We review tags for necessity and impact, remove unused ones, fire tags only where needed and consider server-side tagging to move some processing off the browser.

What are the security risks of custom HTML tags?

Custom HTML tags can run any JavaScript on your site. Poorly written or malicious scripts could break pages, slow performance or leak data. We minimise custom HTML, prefer built-in templates from the community gallery, review any third-party code before adding it and restrict who can publish changes. For sensitive pages such as checkout or account areas, tags are kept to the essential minimum.

How does GTM work with Shopify and other platforms?

Different platforms handle tracking differently. Shopify restricts scripts on checkout and uses its own customer events system for tracking in a sandboxed environment, so standard GTM implementations may not capture checkout steps without adjustments. WordPress, WooCommerce, Magento and custom sites generally allow full GTM installation with plugins or code. We choose the right approach for each platform to capture complete, accurate data.

What does a GTM audit include?

A GTM audit reviews container structure, tag inventory, duplicate or conflicting tags, trigger accuracy, variable usage, data layer quality, consent settings, custom code risks, performance impact, publishing history and permissions. The audit report lists issues by priority and includes a clean-up plan.

Which GTM mistakes cause bad data?

These issues are common in containers we audit.

  • The GTM container installed twice on the same pages.
  • Tags also hard-coded on the site, causing double counting.
  • Form triggers that fire on failed submissions.
  • Tags firing before consent is given.
  • Old tags for platforms no longer used.
  • No naming conventions or documentation.

Why is documentation important?

Tracking changes over time as campaigns, pages and platforms change. Without documentation, teams forget why tags exist and fear removing anything. We document the data layer specification, tag list with purposes, key events, naming conventions and change process, so tracking remains understandable and maintainable.

How is ecommerce tracking implemented through GTM?

Ecommerce tracking depends on the website pushing structured events to the data layer, such as viewing an item, adding to cart, beginning checkout and completing a purchase, with product details, prices, quantities and a unique transaction ID. GTM then sends these events to GA4, Google Ads, Meta and other platforms in the formats each expects. A single, well-structured data layer feeding all platforms keeps numbers consistent across tools.

How are enhanced conversions set up for Google Ads?

Enhanced conversions improve Google Ads measurement by sending hashed customer information, such as an email address or phone number provided in a form or checkout, alongside conversions. Google matches this securely with signed-in accounts to attribute conversions that cookies would miss. In GTM, enhanced conversions are configured using data layer values or page elements, with consent and privacy considerations respected.

Can GTM be used for mobile apps?

GTM has containers for Android and iOS apps working with Firebase, but most mobile tracking today is implemented directly with the Firebase SDK and the GA4 app data stream. We recommend the approach that best fits your app architecture and team.

What drives the cost of Google Tag Manager setup?

Costs depend on the number of websites and domains, the number of platforms and tags, data layer complexity, ecommerce and form tracking needs, consent integration, migration of existing tags, testing depth and documentation. Audits are usually priced by container size and complexity.

Pricing & engagement

How do pricing and engagement work?

GTM setup, migration and audits are fixed-scope projects. Ongoing tag management for new campaigns, pages and platforms is available as a monthly retainer.

FAQS

Google Tag Manager Setup FAQs

Container setup, data layer specification, GA4 and advertising tags, triggers, consent integration, testing, publishing and documentation.

Yes. The standard version of GTM is free. Server-side tagging requires paid hosting.

For the initial installation and data layer, yes. After that, many tracking changes can be made in GTM without code changes.

Yes. We audit, remove duplicates and unused tags, fix triggers and document the container.

Yes, ideally through a data layer event pushed after a successful submission.

Yes, with platform-specific approaches, since Shopify restricts scripts on checkout and uses its own customer events system.

GTM itself is light; heavy tags can slow pages. We review and optimise the tags loaded.

Your business should own it, with agency access that can be removed at any time.

READY TO COLLABORATE

Talk to us about Google Tag Manager Setup

Tell us about your goals for Google Tag Manager Setup. We will reply with a clear recommendation, timeline and written proposal.

Detailed strategy proposal & honest milestone pricing
Direct access to senior strategy & engineering leads
Guaranteed response within 24 business hours

Get in Touch

Share your requirements and we will send a tailored proposal.