Guide

How to monitor website tracking before it breaks

Analytics rarely breaks with a bang - it breaks silently. A theme update, a new consent banner, a developer removing "unused" scripts, and suddenly your purchase tag is gone. Here's how to catch it on day one instead of next quarter.

Home / Guides / Monitor tracking

Tracking almost never breaks with a bang. It breaks silently - a deploy strips a tag, a developer renames a CSS class your trigger depended on, a consent banner update blocks a pixel - and nothing turns red. Your dashboards just quietly go empty and you find out weeks later when the numbers look wrong and you've already wasted ad spend optimising on missing data. This guide covers how to monitor website tracking so you catch the break in hours, not weeks.

The real cost: a broken purchase tag doesn't just dent reporting - Google Ads and Meta stop receiving conversions, so smart bidding optimises toward the wrong people. The damage compounds every day it goes unnoticed.

Why tracking breaks silently

What a tracking monitor should do

Re-check key pages on a schedule

Home, a key product/category page, and the checkout or thank-you page - the ones where the money actually gets tracked. Daily is a good baseline; higher frequency around a release.

Use a real browser, not a source grep

Tags are injected at runtime by GTM, the CMS and consent tools. Only a rendered page shows what really fires - a raw HTML fetch will miss most of it and give false alarms.

Check the data, not just presence

Confirm the events still carry value, currency and transaction_id. A purchase that fires with value=0 is "working" and still broken.

Alert only on change

Fire an alert when something goes from working to broken (and when it recovers) - not on every run. Daily "all good" emails train you to ignore them, so the one that matters gets missed too.

Can you build a GTM monitor yourself?

Yes - and for one or two sites it's a reasonable project. The shape of it:

The catch: it's not the first version that's hard, it's maintaining it. Consent banners block the flow, selectors change, checkout needs a test transaction, and someone has to keep the host and the assertions alive. Most home-grown monitors quietly rot within a few months - which means you're back to unmonitored.

Or use a monitor that already exists

duckmetric does exactly this out of the box: scheduled re-scans in a real browser, checking both that tags fire and that the data inside is intact, with alerts via email, Slack or Microsoft Teams the moment a tag goes from firing to broken - and only on the change, so there's no daily noise.

See monitoring

FAQ

How often should I check my website tracking?

Continuously monitor the money pages (checkout, key conversions) at least daily, and run a fuller audit around any site release. Tracking breaks most often on deploys, so tie a check to your release process.

Why don't I just get an alert when a tag stops firing?

GTM and the ad platforms don't tell you when a tag stops firing - there's no built-in "tag missing" alarm. That's exactly the gap a monitor fills: something has to load the page and confirm the request still goes out.

Can I monitor tracking without editing the site?

Yes. A monitor watches the requests the page makes from the outside, so it needs no code change. You only need edit access if you want to fix what it finds.

What should trigger an alert?

A change from working to broken - a previously-firing tag that stops, an event that loses its value/currency/transaction_id, or a tag that starts firing before consent. Alert on the transition, not on every scan.

Related: how to check GTM tracking · monitoring & alerts · full tracking audit

Start with a free check

See your tracking today, then put the pages you can't afford to lose under monitoring.