UTM tags, ?ref and ad click ids
View as MarkdownEvery link parameter Reveata reads, how it sets the channel and source of a visit, and where to see campaigns.
On this page
When a visit starts, Reveata reads the parameters of its landing page address and decides where the visit came from. Nothing needs to be turned on: add the parameters to your links and they show up.
Parameters that are read
| Parameter | Used for |
|---|---|
utm_source |
Source of the visit (for example newsletter, x, partner-blog) |
utm_medium |
Kind of traffic (email, cpc, social, affiliate…), which decides the channel |
utm_campaign |
Campaign name |
utm_term |
Keyword or audience |
utm_content |
Which link or ad version |
ref |
Short source tag: ?ref=producthunt |
via |
Partner or affiliate tag: ?via=anna (the visit goes to the Affiliate channel) |
source |
Another short source tag, read like ref |
gclid, gbraid, wbraid, msclkid |
Search ad clicks (Google, Microsoft) |
dclid |
Display ad clicks |
ttclid, twclid, li_fat_id, rdt_cid, epik, sccid |
Social ad clicks (TikTok, X, LinkedIn, Reddit, Pinterest, Snapchat) |
fbclid |
Facebook and Instagram clicks, paid or not |
Names are matched without regard to case (UTM_SOURCE works). Only one of ref, via and source is kept per visit, in that order. Every other query parameter is dropped before anything is stored, so tokens and personal data in your URLs never reach Reveata. Parameters inside a hash route (/#/signup?ref=x) are read too when you use hash routes.
How the channel is decided
Each visit (session) gets one channel, from its first page. The first rule that matches wins:
- An ad click id:
gclid,gbraid,wbraidormsclkid→ Paid search;dclid→ Display;ttclid,twclid,li_fat_id,rdt_cid,epikorsccid→ Paid social.fbclidalone is not treated as paid, because Meta adds it to ordinary links too. utm_medium:cpc,ppcorsem→ Paid search (Paid social when the source is a social network);paid social→ Paid social;display,bannerorcpm→ Display;affiliateorpartner→ Affiliate;newsletter→ Newsletter;email→ Email;organicorseo→ Organic search;social→ Organic social;aiorllm→ AI assistants;referral→ Referral.?via=→ Affiliate.- A known source, from
utm_source,?ref=,?source=or the referrer: search engines → Organic search; social networks and communities (including Hacker News, Product Hunt and GitHub) → Organic social; AI assistants such as ChatGPT, Claude, Perplexity and Gemini → AI assistants; mail apps → Email; newsletter platforms such as Substack and beehiiv → Newsletter. - Any other referrer, unknown
utm_sourceor?ref=→ Referral. - Nothing at all, or a referrer on your own domains → Direct.
The source shown in reports is the known name ("Hacker News", "Google") when there is one, otherwise the raw utm_source or ref value, otherwise the referring host.
Later visits of the same person get their own channel. Which visit gets credit for a payment depends on your attribution model.
Where to see them
- Sources panel: the Channel, Referrer and Campaign tabs. The Campaign tab switches between
?utm_campaign=,?utm_source=,?utm_medium=,?utm_term=,?utm_content=and?ref=. - Filters: the Source group filters on channel, referrer, every UTM field and
ref. See Filters and segments. - Revenue: every row shows the revenue of the visits it covers once payments are connected.
Tips
- Lower-case values and one naming scheme (
newsletter, neverNewsletterandnews-letter) keep one campaign on one row. - For links in bios, QR codes and partner posts,
?ref=is shorter than a full UTM set and does the same job. - Outbound links on your own pages keep only their
utm_*,ref,viaandsourceparameters in your Exit link report. - A guide on naming: Tag your links so every visit has a source.