In short: Google Tag Manager (GTM) lets you manage all your website tracking – GA4, Google Ads conversions, Meta pixel, custom events – from one container, without editing code for every change. For WordPress sites, setup means: creating the container, installing it via a plugin or manual code, then building tags for pageviews, form submissions, phone clicks and conversions. This 2026 guide covers the full WordPress setup plus the essential tag recipes.
Last updated: October 2026.
Every tracking change that requires a developer, a code edit and a deployment is a change that won’t happen. Google Tag Manager removes that bottleneck: marketers and SEOs deploy tracking through a web interface, with versioning, preview mode and rollback. If you’re serious about GA4 done right or CRO, GTM is the foundation.
What Google Tag Manager does
GTM is a tag management system: a small container snippet on your site that loads tags (snippets of tracking code) according to triggers (rules like “on all pages” or “when a form is submitted”), using variables (data like the clicked URL or form ID).
Tags = what to fire (GA4 config, Ads conversion, Meta pixel, custom HTML). Triggers = when to fire it (page view, click, form submit, scroll). Variables = the data the tag needs (page URL, click text, event value).
The payoff: add GA4 today, Ads conversions tomorrow, a new heatmap tool next month – all without touching your theme files.

Step 1: Create your GTM container
At tagmanager.google.com: create an account (your business name), create a container for your website, choose “Web” as the target platform. GTM gives you two snippets: one for the head section, one for the body section.
Step 2: Install GTM on WordPress
Option A – Plugin (easiest). “GTM4WP” (Google Tag Manager for WordPress) is the standard: paste your Container ID (GTM-XXXXXXX), and it injects both snippets correctly, including dataLayer support. Activate, configure, done.
Option B – Manual. Paste the head snippet as high in the head as possible and the body snippet right after body opens. On block themes, use a plugin like WPCode (header/footer locations) – but don’t mix methods; one installation only.
Verify: install Google’s Tag Assistant Chrome extension, open your site, and confirm the container loads. Then in GTM, hit Preview – your site opens in debug mode showing which tags fire.
Step 3: The essential tag recipes
GA4 Configuration tag. Tag type: Google Analytics → GA4 Configuration. Measurement ID: your G-XXXXXXXXXX. Trigger: All Pages. This replaces any hardcoded GA4 snippet – remove those to avoid double-tracking.
GA4 Event – form submissions. Trigger: Form Submission, filtered to your contact/quote forms. Tag: GA4 Event with event name form_submit. Mark it as a conversion in GA4. Test by submitting the form in Preview mode and watching the tag fire.
GA4 Event – phone clicks. Trigger: Click – Just Links, where Click URL starts with tel:. Event name phone_click. For service businesses, calls are often the #1 conversion – track them.
GA4 Event – email clicks. Same pattern with mailto: → event email_click.
Google Ads conversion. Tag type: Google Ads Conversion Tracking, with your Conversion ID and label. Trigger on the thank-you page view (or the form-submit event). Import the same conversion into GA4 for consistent reporting.
Scroll tracking. Built-in: enable Scroll Depth variables, trigger at 25/50/75/90% thresholds, GA4 event scroll. Feeds engagement analysis for CRO.

Step 4: Publish safely
Always Preview first. GTM’s Preview mode shows exactly which tags fire on each action, and which don’t. Click through your key flows – forms, phones, checkout – and confirm every tag.
Version everything. Every Publish creates a named version. Name them descriptively (“Added phone_click event”) – future-you will be grateful. Rollback is one click if something breaks.
Workspaces for teams. If multiple people edit tracking, use separate workspaces and merge – like branches for tags.
WordPress-specific gotchas
- Caching plugins. WP Super Cache, Autoptimize and similar can interfere with Preview mode. Bypass cache while debugging (logged-in users are usually excluded from cache anyway).
- Cookie consent. If you run a consent banner, configure GTM’s Consent Mode so tags respect user choices – required under tightening Australian privacy rules.
- Theme updates. Manual snippet installs in theme files get wiped by theme updates. Plugin-based installs survive. Another reason GTM4WP beats manual paste.
- Duplicate GA4. The classic WordPress mess: GA4 in Site Kit + GA4 in Rank Math + GA4 in GTM = triple counting. Pick ONE installation path (GTM) and disable the others.
What to track: the priority list
For most Australian service businesses, in order: page views (baseline), form submissions (primary conversion), phone clicks (often the real primary), email clicks, brochure downloads, scroll depth (engagement), outbound clicks (partner links), video plays (if video sells). Ecommerce adds: view_item, add_to_cart, begin_checkout, purchase with value.
Resist tracking everything. Every event should answer a business question or feed an optimisation decision. Unused events are noise that slows analysis.
GTM + GA4 + CRO: the loop
GTM is the plumbing, GA4 is the meter, CRO is what you do with the readings. Together: GTM captures the events, GA4 reports the funnels, CRO tests the fixes, GTM measures the results. Businesses that close this loop out-learn competitors every single quarter.
At Vans Marketing, analytics setup is step zero of every engagement – we don’t guess, we measure. Get a free audit and we’ll check whether your tracking tells the truth.
Google Tag Manager for WordPress – frequently asked questions
What is Google Tag Manager?
Google Tag Manager (GTM) is Google’s free tag management system: a container snippet on your site that loads tracking tags (GA4, Ads conversions, pixels) based on triggers you configure in a web interface – no code edits needed for each change.
Is Google Tag Manager free?
Yes – GTM’s standard version is free and sufficient for virtually all small and mid-size businesses. GTM 360 (enterprise) adds SLAs and advanced features most businesses never need.
What’s the best GTM plugin for WordPress?
GTM4WP (Google Tag Manager for WordPress) is the standard: correct snippet placement, dataLayer support, and compatibility with most themes including block themes. Avoid manual theme-file edits, which break on theme updates.
Does Tag Manager slow down my site?
The container itself is lightweight and loads asynchronously. What slows sites is what people put in it – a dozen marketing pixels will hurt regardless of how they’re installed. Audit your tags quarterly; remove what you don’t use.
GTM vs hardcoding tracking – which is better?
GTM for almost everyone: versioning, preview/debug mode, no-deploy changes, and one place to see all tracking. Hardcode only when you need absolute minimal overhead or have unusual technical constraints.
