Skip to content
Skip to main content

Which campaign brought a visitor, and what they did next

Every pageview carries the campaign the visit started on and the one it is on now. Eight ad-platform click IDs resolve to a source even when a link carries no UTM tag, and every visit rolls up into one of ten channels.

Questions a campaign report should answer

Which channel sent this visit

Paid Search, Paid Social, Organic Search, Organic Social, Email, Referral, AI Assistants, Paid Other, Other, or Direct. Every pageview lands in exactly one.

Which campaign it started on, and which it is on now

Both ends of the visit are recorded on every pageview: the one it started on and the one it is on now.

How many of its visits completed a goal

The Campaign Performance widget counts goal completions per campaign, once per visit no matter how many goals it finished.

Three attribution models, named and switchable

All three read inside a single visit, which ends after 30 minutes of inactivity under a salt that rotates daily, so none of them follow a visitor from one day to the next.

  • First Touch (the default) credits the campaign the visit started on.
  • Last Touch credits the most recent tagged campaign in the visit.
  • Last Non-Direct Click credits the last tagged campaign that arrived from somewhere: a search engine, a social network, an email, or any other site. It skips touches that arrived with no referrer, so a visit that clicked an ad, left, and came straight back later still credits the ad.

First Touch and Last Touch usually agree. Attribution carries the campaign a visit started on forward to every later page in that same visit, so switching between these two rarely changes the answer. Last Non-Direct Click is the one that moves: it separates a campaign that brought someone to the site from a link they clicked after they had already arrived, which First Touch and Last Touch cannot tell apart.

Switching the model changes which touch inside the visit gets the credit. It does not say the campaign caused the visit: each model divides credit among the touches we observed, and only a holdout test answers what would have happened without the campaign.

Eight click IDs, named to the network that sent them

A tagged link is not the only way a campaign reaches us. Ad platforms append their own click ID to the destination URL, and we read all eight the industry currently sends.

Click ID Network Medium when corroborated
gclid Google Ads cpc
gbraid Google Ads (iOS, App Tracking Transparency) cpc
wbraid Google Ads (iOS, App Tracking Transparency) cpc
msclkid Microsoft Advertising cpc
twclid X Ads cpc
yclid Yandex Direct cpc
li_fat_id LinkedIn Ads cpc
fbclid Meta (Facebook and Instagram) social

A click ID names the network by itself. The medium is only recorded as the paid value above when the visit's referrer agrees you arrived from that network, because a gclid or li_fat_id survives being pasted into an email, a chat, or a bookmark. When nothing corroborates it, the medium records the parameter itself, (gclid), so you can tell a real ad click from a pasted link at a glance.

fbclid is the one exception. Facebook and Instagram add it to organic posts and profile links as well as ads, so a corroborated fbclid records medium social, never a paid value.

Ten channels, one for every pageview

Channel grouping rolls referrer domains, UTM tags, and click IDs into the line a marketer reads: how much traffic each channel sent.

Direct Organic Search Paid Search AI Assistants Organic Social Paid Social Paid Other Email Referral Other

AI Assistants is checked first, so ChatGPT, Claude, Gemini, Perplexity, Copilot, and Meta AI are not read as a visit to their parent search or social domain. Every pageview reaches exactly one channel; a visit that matches nothing above counts as Direct.

Tag your own links

We read a campaign source from utm_source, or from source, ref, and src if utm_source is absent, checked in that order. Add utm_medium and utm_campaign to name the rest of the campaign, and utm_term or utm_content for a paid keyword or a creative variant.

https://example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale

See the campaign behind every visit

First touch and last touch on every pageview, cookieless.