Aregueifa

How a redirect passes UTM values through a silent handshake

Some links do very little on the surface. The label reads "Click here", the address on the screen is the one you came from, and yet when the page settles something has changed: a short string of letters and numbers now sits in the address bar. Nobody announced it and nobody asked for it. That is precisely why it works.

Behind that quiet click sits a small exchange of instructions. One server answers with a status code and a destination; the browser obeys, carries the payload across, and lands on a page that may look identical to the one it started from. Campaign data rides along because it was never inside the page to begin with — it lives in the URL, which travels even when the content does not.

The exchange is worth understanding, because it is the difference between a campaign you can account for and one that vanishes into a spreadsheet labelled direct. What follows covers how a parameter survives a hop, where it usually gets dropped, what a UTM value actually is, how the two halves of the handshake agree without ever meeting, and what the whole thing looks like once it reaches an Australian market.

The click that looks like it goes nowhere

Start with the shape of it. A tracking link points at a domain the marketer controls, and the server answers with a redirect rather than a page. The response carries a status code — 302 for a temporary move, 301 for a permanent one — and a Location header telling the browser where to go next. If the destination is on the same domain and the path is unchanged, the visitor sees the page they would have seen anyway; the only difference is the query string bolted to the end.

The parameter is a token. It might be a campaign identifier, an affiliate code, a click ID minted by an ad platform, or a bundle of UTM labels saying where the visit came from and what the click was for. Because it sits in the address bar rather than in the page, it survives the least glamorous journeys: a copy-and-paste into a chat thread, an email client that rewrites links, a QR code taped to a café window in Fitzroy.

This is not exotic machinery. Australian small businesses meet it constantly — a florist in Geelong sharing a link in a Facebook post, a wholesaler in Adelaide emailing a catalogue, a reseller in Townsville sending a tracked link through Messenger. The mechanics look the same whether the business spends fifty dollars a month on advertising or fifty thousand.

What the redirect does to the query string

Here is the part that surprises people. A redirect does not automatically destroy the parameters you started with. Under the behaviour most servers implement, a Location header that contains no query of its own inherits the query from the original request. So a request for /promo?utm_source=newsletter&utm_medium=email that answers with a relative redirect to /promo ends up, in the end, at the same URL with both values intact.

When the destination carries its own query string, the outcome depends on the software doing the redirecting. A rewrite rule can preserve the original arguments, can append them, or can discard them outright with a flag that means query string dropped. Application code might rebuild the URL from scratch and quietly lose the campaign. The destination can be any domain at all — even a parked placeholder such as the redirect destination — because the payload travels in the address, not in the page.

Two kinds of value travel in that string. UTM parameters are labels a human chose: source, medium, campaign, term, content. Click IDs are opaque strings minted by a platform — gclid from Google Ads, fbclid from Meta, msclkid from Microsoft — which the platform later uses to reconcile a conversion with the click that caused it. Strip the labels and your reporting suffers. Strip the click ID and the platform's own attribution stops, even though analytics still shows the visit.

Where the values come from and where they die

Most traffic that arrives with a parameter got it from an ad platform's auto-tagging, an email campaign, a shortened link, or a printed QR code. Auto-tagging is the quietest of these: the platform appends its click ID to the landing URL before anyone sees it, at the last possible moment, on the way into your domain.

The handshake fails in predictable places. A link shortened by a third-party service becomes a wrapper that must pass the parameter on again, and wrappers often drop what they do not recognise; Facebook's own click wrapper is notorious for it. Then there are the edges: an app opening the link in an in-app browser that sanitises the address, a plugin regenerating a permalink mid-flight, a marketing tool rebuilding the URL and forgetting the tail, a customer retyping the link from an email into a browser.

Values die less often from bad intent than from plumbing. The person who built the chain at four on Friday afternoon and the person reading the report on Monday morning are rarely the same person, and the chain keeps no memory of its own. It does only what each hop explicitly tells it to.

Reading the handshake from the server side

To see the exchange rather than guess at it, read the server's access log. A standard log line includes the full request line, query string included, so the inbound parameter shows up even when the page it feeds is plain HTML. From there the browser-side half does its quiet work: a tag on the site reads the query, writes a first-party cookie for source and medium, and keeps it for a couple of years so a return visit still counts as the original click.

The naming convention is the other half of the agreement. Tools that read UTM values generally expect lowercase, hyphens instead of spaces, and a fixed set of names. Case differences are handled inconsistently across tools, so utm_source and UTM_SOURCE can land in two separate rows of the same report. A missing medium gets filled with the source, or with a fallback labelled none, which is how a genuine direct visit ends up sitting beside a broken link in the same chart.

Both sides commit to that convention without announcing it. The platform sends an opaque token and expects the server to log the query and hand it back on the conversion. The server accepts a set of labels and expects the platform to keep the token intact. Neither side ever says I am sending a source; they simply act as though the other is listening.

Why the handshake behaves differently in Australia

The technical pattern is universal; the market around it is not. Australian digital spend clusters in Sydney and Melbourne, while regional businesses in Toowoomba, Launceston, Katherine or Alice Springs often lean on Facebook and Instagram because that is where local attention actually is, and they judge a campaign by enquiries that become quotes rather than by impressions. Plain speech ends up in the campaign names — EOFY sale, Christmas bonus, tradie pack — and the tracked link is often the only place it is written down.

Connectivity is patchy outside the capitals, so a link has to work on prepaid mobile data from Telstra or Optus, over a slow NBN connection, and inside an SMS thread with a plumber in Wagga Wagga. That last channel matters: trades, hospitality and clinics still run on SMS, and a tracked link in a message is often the only breadcrumb connecting an enquiry to a sale.

The calendar is not uniform either. The end of the financial year in June and July brings a rush of retail campaigns around the country, alongside Christmas and the summer trade. When several of those overlap and every one of them points at the same landing page, the parameter is the only thing separating the June EOFY email from a paid social ad that happened to run on the same weekend.

Making the chain legible and verifiable

The fix is unglamorous: write the chain down, test it, and check the logs. A quick request to the tracking link with headers visible shows every hop, every status code and whether the query survived. Test on a phone, on a desktop and inside a social app, because the app browser is where parameters are most often stripped. Then keep the naming rule in one place — a shared document, a spreadsheet, a convention somebody actually owns.

There is a commercial side to all of this. Redirect domains age like any other asset: they pick up reputation, they get listed and sold, and a name that looked like a throwaway on day one can turn out to be the part of the setup everybody recognises. Buyers here work in a market where .com.au and .au names are regulated and the after-market is active, and a domain valuation report often decides whether a name is worth holding onto or replacing.

The handshake has legal edges as well. Australian privacy law and the Spam Act shape what can be tracked and how consent is recorded, and a parameter that quietly follows somebody around is easier to justify when it is documented than when it is folklore. Keep the logs, keep the convention, keep the consent record, and the invisible exchange keeps working long after the person who set it up has moved on to the next campaign.