Google Tag Manager (GTM) is one of the most powerful tools in a digital marketer’s toolkit. Instead of manually adding tracking codes for Google Analytics, Facebook Pixels, or Google Ads to your website’s backend every time you want to measure something, GTM allows you to manage everything from a single, user-friendly dashboard.
For Australian small business owners, this means less reliance on expensive developers and more control over your data. Whether you want to track how many people click your 'Call Now' button or monitor form submissions on your contact page, it all starts with a solid GTM foundation.
Before You Begin
To complete this setup, you will need:
- A Google Account (we recommend using a professional company email rather than a personal Gmail).
- Access to your website’s backend (WordPress admin, Shopify, or the ability to edit your HTML files).
- About 20-30 minutes of focused time.
---
Step 1: Create a Google Tag Manager Account
First, navigate to tagmanager.google.com. Log in with your preferred Google account. If you’ve never used GTM before, you’ll see an empty dashboard with an option to 'Create Account'.
What you’ll see: A setup screen asking for Account Name (use your business name) and Country (select Australia).Step 2: Set Up Your Container
A 'Container' is essentially the bucket that holds all the tags for a specific website.
- Container Name: Enter your website URL (e.g., www.yourbusiness.com.au).
- Target Platform: Select 'Web' for standard websites.
- Click Create and accept the Google Tag Manager Terms of Service Agreement.
Step 3: Copy Your Installation Codes
Once the container is created, a pop-up will appear titled 'Install Google Tag Manager'. This contains two snippets of JavaScript code.
- The Header Code: This goes as high in the
of your page as possible. - The Body Code: This goes immediately after the opening
tag.
Step 4: Install the Code on Your Website
This step varies depending on which platform you use.
- WordPress: The easiest way is to use a plugin like 'GTM4WP'. Alternatively, if you use a theme like Divi or Elementor, they have 'Integrations' sections where you can paste these codes.
- Shopify: You will need to edit your
theme.liquidfile. Paste the first code snippet below thetag and the second below thetag. - Custom HTML: Manually paste the codes into every page of your site (or your global header/footer file).
Warning: Be careful not to delete any existing code when pasting. If you aren't comfortable editing code, this is the time to ask a developer or contact us for help.
Step 5: Verify the Installation
Before we add any tags, we need to make sure the 'bucket' is actually on your site. The best way to do this is using the Google Tag Assistant Chrome extension.
- Install the extension and navigate to your website.
- Click the extension icon and hit 'Enable', then refresh your page.
- If installed correctly, you should see 'Google Tag Manager' listed with a green or blue icon.
Step 6: Create Your First Tag (Google Tag / GA4)
Now that GTM is alive, let’s add your Google Analytics 4 (GA4) tracking.
- In the GTM dashboard, click Tags > New.
- Name it 'GA4 - Configuration'.
- Click Tag Configuration and select Google Tag.
- Enter your Tag ID (this is your GA4 Measurement ID, which looks like
G-XXXXXXXXXX). - Click Triggering and select Initialization - All Pages.
- Click Save.
Step 7: Preview and Debug
GTM has a 'Preview' mode that allows you to test changes before they go live to the public.
- Click the Preview button in the top right of the GTM workspace.
- Enter your website URL and click Connect.
- A new window will open with your site, and a 'Tag Assistant' tab will open in your browser.
- Check the 'Summary' in Tag Assistant to see if your 'GA4 - Configuration' tag shows under the 'Tags Fired' section.
Step 8: Publish Your Container
This is the most common mistake: forgetting to publish! Your changes are not live until you hit the big blue button.
- Click Submit in the top right corner.
- Give your version a name (e.g., 'Initial GA4 Setup').
- Click Publish.
---
Common Mistakes to Avoid
- Double Tagging: If you already have Google Analytics hard-coded on your site, remove it before adding it via GTM. Otherwise, you will record every visit twice, ruining your data accuracy.
- Incorrect Placement: Placing the header code in the footer can cause the tag to fire too late, missing users who bounce quickly.
- Not Using Folders: As your GTM grows, it gets messy. Use folders to organise tags by type (e.g., 'Marketing Pixels', 'Conversion Tracking').
Troubleshooting
- Tags aren't firing: Check if you have an ad-blocker enabled in your browser. These often block GTM from loading during testing.
- 404 Error in Preview: Ensure your website URL is entered correctly with
https://. Also, check that you have actually published at least one version of the container. - Container Not Found: Double-check that the GTM ID in your code (e.g.,
GTM-XXXXXX) matches the ID shown in your dashboard.
Next Steps
Now that you have successfully set up Google Tag Manager, you are ready to start advanced tracking. We recommend moving on to these tasks:
- Set up Event Tracking: Track clicks on your phone number or email address.
- Install the Meta Pixel: Use GTM to deploy your Facebook tracking for better ad targeting.
- Link Google Ads: Set up conversion linker tags to ensure your Australian search campaigns are reporting accurately.
If you find the technical side of tracking overwhelming, the team at Local Marketing Group is here to help. We specialise in ensuring Australian businesses have 'clean' data they can actually trust. Contact us today to discuss an analytics audit for your website.