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
What Shopify brands say about Littledata
Working with Littledata has been a pleasure. The application has fixed our leaky funnel capture set up and solved a real pain point for us. The platform continues to ship improvements and updates every month, further upgrading our ability to capture multi-touch attribution. Our success manager, Cornelia deserves a special shout out for her willingness to jump in and work with our specific set up. Her expertise is a huge value.
Littledata – The Data Layer is one of those apps you install and immediately wonder how you ever debugged Shopify tracking without it. Setup is straightforward, and once it’s running you get a clear, reliable data layer that makes analytics tooling behave the way it should. It’s especially strong for getting consistent ecommerce events through to GA4 and other platforms without the usual Shopify “mystery gaps,” duplicated events, or attribution weirdness. Having a single source of truth for customer and purchase activity (that you can actually trust) saves a ton of time compared to patching together pixels, scripts, and half-working workarounds. What I like most is the stability: the events are well-structured, implementation feels thoughtful, and it reduces ongoing maintenance rather than adding another moving part. Support has also been very responsive and practical. If you care about accurate conversion tracking, clean event data, and less time spent chasing discrepancies between Shopify and your analytics tools, this is an easy recommendation.
Great data rails solution that provides everything you need, and nothing you don't. Incredible onboarding experience. Really happy to have made the switch to Littledata.
