WebmasterID logoWebmasterID
UTM tracking

Programmatic & DSP UTM tracking

Programmatic display bought through a demand-side platform (DSP) serves across countless publishers via real-time bidding. UTM parameters plus the DSP's dynamic macros on the landing URL are how those scattered clicks get attributed. This page gives a recommended structure and explains the macro approach common to DSPs.

Verified against primary sources

Recommended structure

Set utm_source to the DSP or buying platform you use, and a display medium. Use the DSP's macros for campaign and creative so values populate at serve time.

Dynamic macros vary by DSP

Each DSP exposes its own macro syntax — for example a creative-ID macro, a line-item macro, an exchange macro, and a publisher/domain macro. Map those macros into your utm_campaign and utm_content so the values are filled in per impression.

Worked example (generic):

https://example.com/?utm_source=dsp&utm_medium=display&utm_campaign=q2-awareness&utm_content=%CREATIVE_ID%

Replace %CREATIVE_ID% with your DSP's actual macro token.

Why programmatic needs UTMs most

Programmatic spreads across the open web, so referrer-based reporting produces a meaningless long tail of domains. A single utm_source per DSP and consistent mediums turn that into one comparable channel — the only practical way to total programmatic against your other paid channels.

How it appears in analytics and logs

A visit with utm_source set to your DSP and utm_medium=display confirms a programmatic click. Without UTMs, programmatic traffic appears as a long, unhelpful list of individual publisher referrers.

Diagnostic use case

Attribute open-exchange programmatic clicks to the campaign and creative, despite the click arriving from any of thousands of publisher domains.

What WebmasterID can help detect

WebmasterID attributes utm-tagged DSP visits to your programmatic campaign server-side, collapsing many publisher referrers into one measurable channel.

Common mistakes

Privacy and accuracy notes

DSP macros expand to campaign, creative, and publisher/exchange identifiers only. Never encode an individual. UTM values and macro outputs are public in the URL.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.