Skip to content
Channels

Affiliate traffic: partner links, ?via= and utm_medium=affiliate

3 min read · Updated · By the Reveata team

Short answerReveata counts a visit as Affiliate when its landing address has a ?via= parameter, or when utm_medium is affiliate, affiliates, partner, partners or referral partner, provided no ad click id was on the link first.

Affiliates and partners send customers in return for a share of the sale, so the question you need answered is exact: which partner brought which paying customer. Reveata gives these visits a channel of their own, apart from ordinary Referral links, as long as the link says it is a partner link.

The rule Reveata applies

The channel is decided once per visit, from the first page, and the first matching rule wins:

  1. Ad click ids (gclid, msclkid, ttclid and the rest) win over everything. A partner who runs ads to your site with your link will show as paid search or paid social.
  2. utm_medium of affiliate, affiliates, partner, partners or referral partner (spaces, hyphens or underscores allowed) → Affiliate. This medium also beats an ad tag in utm_source: utm_source=facebook_ads&utm_medium=affiliate is Affiliate.
  3. ?via= on the landing address → Affiliate, unless a recognised utm_medium already chose another channel.

The source is the known source name if the tag names one, otherwise the raw utm_source or via value. Reveata keeps one of ref, via and source per visit, in that order, so a link with both ?ref= and ?via= keeps the ref value as the source while ?via= still sets the channel.

Link Channel Source
?via=anna Affiliate anna
?utm_source=anna&utm_medium=affiliate Affiliate anna
?utm_source=techblog&utm_medium=partner&utm_campaign=q4 Affiliate techblog
?ref=anna Referral anna
?via=anna&utm_medium=email Email anna
?via=anna&gclid=… Paid search Google

?via= is the format used by Rewardful-style affiliate tools, and it is the shortest to hand out. A bare ?ref= is not enough: unknown ref values are Referral. See Partner, affiliate and ref links that add up for a naming scheme.

What does not belong here

  • One-off mentions such as a podcast or guest post you do not pay for: ?ref=podcast-ep12 keeps them in Referral, which is more honest.
  • Influencers paid a flat fee behave more like ads. Tag them utm_medium=paid_social if you want them judged next to your ads (Paid social).
  • Sponsored newsletter slots belong in Newsletter with utm_medium=newsletter.

Partner links fail quietly when a redirect drops the query string. Open each link in a private window and check that via or the UTM tags are still in the address bar when the page loads. If your checkout runs on another root domain, set up cross-domain tracking so the visit and its partner reach the payment.

Ranking partners by revenue

  1. Connect your payment provider and pass the visitor id at checkout (Connect a payment provider).
  2. Pick an attribution model. First touch usually matches what partners expect: the partner who introduced the customer gets the credit, even if the customer came back later by typing your address (How revenue attribution works).
  3. In the Sources card, click Affiliate, open Campaign and pick ?ref= (where via values appear) or ?utm_source=, then set the sort toggle to Revenue.

Renewals inherit the source of the first payment, so a partner keeps getting credit for the subscription revenue of the customers they brought.

bash
curl -G https://reveata.com/api/v1/websites/example.com/analytics/breakdown \
  -H "Authorization: Bearer $REVEATA_TOKEN" \
  --data-urlencode "dimension=source" \
  --data-urlencode "metrics=visitors,revenue,conversion_rate" \
  --data-urlencode "period=last_90d" \
  --data-urlencode 'filters=[{"dimension":"channel","operator":"is","values":["affiliate"]}]'

Frequently asked questions

Does Reveata pay my affiliates?

No. Reveata measures which partner brought which visits and payments. Payouts stay with your affiliate tool or your payment provider.

Why does a partner's link show as Referral?

It probably uses ?ref= or a plain link without tags. Give the partner a ?via= link or one with utm_medium=affiliate.

Can a partner be credited if the customer pays weeks later?

Yes, within the attribution window, which is 90 days by default and can be changed per website. With first touch the partner's visit keeps the credit even if the customer returns another way.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
Traffic sourceReferral traffic: links from sites Reveata does not classifyReferral is where Reveata puts visits from any other website it has no specific channel for, plus links tagged with a utm_source or ?ref= value it does not recognise, and links tagged utm_medium=referral, referrer, link or backlink.Traffic sourceAI assistant traffic: the channel for ChatGPT, Claude and othersThe AI assistants channel holds visits from the twelve assistants Reveata recognises, including ChatGPT, Claude, Perplexity, Gemini and Microsoft Copilot, whether they arrive by referrer or by a tagged link, plus any link tagged utm_medium=ai, llm, chatbot or ai assistant.Traffic sourceDirect traffic: what lands in the Direct channel and whyIn Reveata a visit is Direct only when nothing tells it where it came from - no external referrer, no utm_source, no ?ref=, ?via= or ?source=, no recognised utm_medium and no ad click id. It is the channel of last resort, not proof that someone typed your address.Traffic sourceDisplay traffic: banner, programmatic and other paid placementsReveata counts a visit as Display when it carries the dclid click id, when utm_medium names a display format such as display, banner, cpm, native or programmatic, when a generic paid medium is used on a source that is not a search engine or social network, or when an untagged visit comes from a Google ad-serving domain.Traffic sourceEmail traffic: how Reveata counts visits from mailReveata puts a visit in the Email channel when the link is tagged with a utm_medium that mentions email (or is just mail), when it comes from a webmail or mail app it recognises such as Gmail, Outlook or Proton Mail, or when an otherwise unknown utm_source mentions email, unless the signs point to a newsletter.Traffic sourceNewsletter traffic: the channel for issues sent to a listA visit is Newsletter traffic in Reveata when utm_medium contains newsletter, when an email medium comes from a newsletter platform or a utm_source containing newsletter, or when an untagged visit is referred by Substack, beehiiv, Buttondown, Kit, Mailchimp or Ghost.