
Marketing in a Minute – Episode 27 | Ahmed Moaaz
The pixel tracks what visitors do, events mark the actions that matter, and UTM tags tell you exactly which link brought each visit. Set all three up correctly before you spend a single pound on ads.
The foundation of every digital measurement
Before you read any report or judge any campaign, your visitors’ activity has to travel from your website to your measurement tools correctly. Three things create that foundation: the tracking code installed on your site, the events it reports, and the link tags that tell you where each visitor came from. Our final episode explains all three in the language of a business owner, not a programmer.
First: the tracking code
A small snippet placed on every page of your site – the best-known examples are the Meta pixel and Google’s measurement tag. Its job is to record visits and send them to your ad or analytics account. Without it, your advertising is blind: the platform does not know who visited or who bought, so it cannot improve targeting and you cannot measure return.
The basic rules: one code per platform, installed on every page of the site, not only the homepage. After installing, verify with the platform’s official checking tools that it actually fires. The most common mistake: the code installed twice through two different methods, so the numbers silently double and decisions get built on phantom data.
Second: connecting events
The code alone records “a visit happened”. Events tell it what exactly happened: viewing a product page, adding to cart, starting checkout, completing a purchase, an email signup, a WhatsApp button click.
Why does this matter so much? Two reasons:
- Measurement: you see exactly where visitors leak out of the buying journey. The gap between those who added to cart and those who completed payment tells you where the problem lives.
- Automatic optimization: the ad platforms’ algorithms learn from events. A campaign optimized for the “purchase” event finds you buyers; a campaign optimized for “page view” brings curious visitors only. Same budget, completely different result.
A golden rule: do not launch a sales campaign before confirming the purchase event itself arrives recorded and correct. Test it yourself: place a test order and confirm it appears in the measurement dashboard within minutes.
Third: UTM link tags
Short strings appended to any link you share, telling your analytics tool where the visitor came from. A plain link says “came from somewhere”; a tagged link says “came from the Instagram ad for the launch campaign, video version two”.
The three essential fields are the source (instagram), the medium (paid_social) and the campaign name (launch_march). You can add a content field to tell ad variations apart.
Where do you put them? On every link you control: your ads, your email messages, your posts, influencer links, even the WhatsApp link in your email signature. Free generators build them in seconds, and most platforms add them automatically to ads if you enable the option.
Why the three work together
Each tool covers a gap in the others. The tracking code tells the platform about visitor activity so it can optimize ads. Events turn “a visit” into commercial meaning. And UTM tags tell your own analytics – independently of the platforms’ claims – where each order actually came from. Remember from the attribution episode: UTM tags are your first ground-level tool for checking platform reports.
Common mistakes that corrupt everything
- Installing the code twice: once through a plugin and once manually in the theme, so the numbers double silently.
- A purchase event that fires on the thank-you page view without verifying payment: cancelled orders get counted as sales.
- Random labels: “Spring” in one link and “spring” in another appear as two different campaigns in reports. Agree on a written naming convention: always lowercase, underscores instead of spaces.
- Tagged internal links: never put UTM tags on links inside your own site; they erase the visitor’s original source and attribute the visit to itself.
- Not re-checking after technical changes: a theme update or a new plugin can break tracking silently. Test the main events after every technical change.
A half-hour audit plan
- Open your site from your phone and confirm with the platforms’ checking tools that the base code fires on several different pages.
- Place a complete test order and watch the purchase event appear in the measurement dashboard.
- Open the sources report in your analytics: do you see understandable sources, or a large block of “direct / unknown”? A large unknown block means untagged links.
- Review your recent campaign labels: do they follow one convention, or chaos?
A practical example: before and after
A store launched campaigns on three platforms at the same time with no link tags. A month later it asked: which platform deserves a bigger budget? Nobody could answer – the reports contradicted each other and two-thirds of orders came from “unknown” sources. The store paused for a week, tidied the code and events, and applied one naming convention to every link.
The following month the picture appeared: the platform they believed was strongest brought the fewest confirmed orders, and a nearly free email channel was quietly producing a quarter of sales. They moved a third of the budget based on trusted numbers, and total sales rose with exactly the same spend – not one extra pound in the usual monthly ad budget. Not a single ad changed; only the measurement changed, and so the decisions changed.
With that, the circle of this series closes: numbers you can read, a foundation you measure with, and decisions you grow with. Apply what you learned episode by episode, and within weeks you will notice the accumulation in your own numbers.
Summary
Correct measurement starts before the first ad pound: one tracking code installed on every page, defined events that arrive reliably, and disciplined link tags on everything you share. Half an hour of auditing today protects every decision you will later build on these numbers. Whoever measures on a broken foundation does not make a mistake in one report; they make a mistake in every decision.
Thank you for following Marketing in a Minute – one marketing concept in every episode. Have a question about this topic? Send it on WhatsApp.