Refersion connection for Shopify
Track Refersion affiliate sales in Google Analytics, next to every other marketing channel


The direct answer
How does Littledata track Refersion affiliates in GA4?
Refersion tags affiliate links with the source "refersion". Littledata's server-side Shopify tracking reads that tag and attributes each resulting order in Google Analytics 4, so you see affiliate revenue, checkout steps, and refunds alongside search, paid social, and email. Refersion's dashboard still shows which affiliate earned each order; GA4 shows how affiliates contribute to conversion across channels.
- Affiliate revenue in GA4 - orders from Refersion links, attributed server-side.
- Sales by affiliate - when Refersion sends the affiliate ID as the campaign or medium.
- Discount codes tracked - coupon codes linked to orders and marketing channels.
- Multi-channel view - see when affiliates bring new visitors that another channel converts.
What does Refersion send to GA4?
The source is always refersion. The medium depends on your Refersion configuration.
| UTM parameter | Value | Where to find it in GA4 |
|---|---|---|
| Source | refersion | Session source in Traffic acquisition |
| Medium | affiliate, influencers, or the affiliate ID | Session source/medium |
| Campaign | Affiliate ID, if Refersion is set up to send it | Session campaign, to split sales by affiliate |

The problem
Why affiliate sales are hard to see in Google Analytics
Shopify's built-in Google Analytics tracking has well-known gaps in attributing sales to marketing campaigns, and affiliate traffic is no exception.
- Missing orders - browser tags miss purchases when ad blockers or closed tabs stop the purchase event.
- Lost affiliate credit - when the order isn't linked to the session from the affiliate link, GA4 credits it to Direct.
Littledata captures every order server-side and stitches it to the original session, so affiliate traffic gets the credit it earned in GA4.
How do I see Refersion sales in GA4?
Connect Shopify to GA4
Install Littledata from the Shopify App Store and connect your GA4 property.
Check your Refersion medium
Confirm whether Refersion sends affiliate, influencers, or the affiliate ID as the medium, and keep it consistent.
Find Refersion traffic
In GA4, open Acquisition > Traffic acquisition, switch the dimension to session source, and look for refersion.
Split by affiliate
Add session campaign or session medium as a secondary dimension, depending on where Refersion puts the affiliate ID.
Orders created by Refersion For orders that come through the Refersion sales channel, add a refersion / affiliates source/medium rule under Session enrichment in your GA4 settings. Read the Refersion guide
