Referral is the long tail of the web: a review that links to you, a directory listing, a forum outside the big networks, a customer's blog post. It is often where the most surprising customers come from, because each referrer is a recommendation someone chose to make.
The rule Reveata applies
The channel is decided once per visit, from the first page. Reveata checks, in order, ad click ids, ad tags, utm_medium, ?via= and known sources. A visit reaches Referral in two ways:
- By medium.
utm_mediumofreferral,referrer,linkorbacklink→ Referral, whatever the source, provided no click id or paid ad tag came first. - By elimination. Nothing earlier matched, and the visit has at least one of:
- an external referrer that is not a known search engine, social network, AI assistant, mail app, newsletter platform or ad network,
- a
utm_sourcevalue Reveata does not recognise, unless it contains "newsletter" or "email" (or is just "mail"), which send it to Newsletter or Email, - a
?ref=or?source=value it does not recognise.
The source shown is the raw utm_source or ref value when there is one, otherwise the referring host without www..
Typical members, and some surprises
| Visit | Channel | Source |
|---|---|---|
Link on someblog.com |
Referral | someblog.com |
?ref=podcast-ep12 |
Referral | podcast-ep12 |
?utm_source=partner-blog with no medium |
Referral | partner-blog |
Link from news.google.com |
Referral | news.google.com |
| A Mastodon server other than the three Reveata knows | Referral | that server's host |
| A newsletter on a custom domain, untagged | Referral | that domain |
?utm_source=reddit&utm_medium=referral |
Referral |
The last row shows that a referral medium wins over a known source: the visit keeps the name Reddit but leaves Organic social. Use that only when you mean it.
What does not belong here
- Partners you pay. Use
?via=orutm_medium=affiliateso they go to Affiliate. - Your own domains. A referrer on your website's own host names, or
localhost, is a self-referral and counts as Direct. A checkout on another root domain needs cross-domain tracking. - Referral spam. Fake referrers that never sent a real person can be dropped before they are stored. Turn it on, and exclude specific hosts, in Exclusions.
- Newsletters you can name. Tag them
utm_medium=newsletterto put them in Newsletter rather than here.
Reading revenue from referrers
- Connect payments and pass the visitor id at checkout (Connect a payment provider).
- In the Sources card, click Referral, open Referrer and set the sort toggle to Revenue. For tagged links, open Campaign and pick
?ref=or?utm_source=. - Look at revenue per visitor as well as totals: a small directory that sends ten visitors and two customers deserves a thank-you note and maybe a better listing.
An alert can tell you by email, Slack or Discord when a new referrer appears, which is often the first sign someone wrote about you.
curl -G https://reveata.com/api/v1/websites/example.com/analytics/breakdown \
-H "Authorization: Bearer $REVEATA_TOKEN" \
--data-urlencode "dimension=referrer" \
--data-urlencode "metrics=visitors,revenue,revenue_per_visitor" \
--data-urlencode "period=last_90d" \
--data-urlencode 'filters=[{"dimension":"channel","operator":"is","values":["referral"]}]'