Refersion connection for Shopify

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

Refersion
+
Google Analytics
Refersion affiliate sales attributed in Google Analytics

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.

Learn more

What does Refersion send to GA4?

The source is always refersion. The medium depends on your Refersion configuration.

UTM parameterValueWhere to find it in GA4
SourcerefersionSession source in Traffic acquisition
Mediumaffiliate, influencers, or the affiliate IDSession source/medium
CampaignAffiliate ID, if Refersion is set up to send itSession campaign, to split sales by affiliate
Littledata connection settings for affiliate attribution

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?

1

Connect Shopify to GA4

Install Littledata from the Shopify App Store and connect your GA4 property.

2

Check your Refersion medium

Confirm whether Refersion sends affiliate, influencers, or the affiliate ID as the medium, and keep it consistent.

3

Find Refersion traffic

In GA4, open Acquisition > Traffic acquisition, switch the dimension to session source, and look for refersion.

4

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

Frequently asked questions

Complete picture of your ecommerce business