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:
- Ad click ids (
gclid,msclkid,ttclidand the rest) win over everything. A partner who runs ads to your site with your link will show as paid search or paid social. utm_mediumofaffiliate,affiliates,partner,partnersorreferral partner(spaces, hyphens or underscores allowed) → Affiliate. This medium also beats an ad tag inutm_source:utm_source=facebook_ads&utm_medium=affiliateis Affiliate.?via=on the landing address → Affiliate, unless a recognisedutm_mediumalready 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 formats that work
| 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 |
anna |
|
?via=anna&gclid=… |
Paid search |
?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-ep12keeps them in Referral, which is more honest. - Influencers paid a flat fee behave more like ads. Tag them
utm_medium=paid_socialif you want them judged next to your ads (Paid social). - Sponsored newsletter slots belong in Newsletter with
utm_medium=newsletter.
Make the link survive
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
- Connect your payment provider and pass the visitor id at checkout (Connect a payment provider).
- 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).
- In the Sources card, click Affiliate, open Campaign and pick
?ref=(whereviavalues 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.
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"]}]'