Your creator program, minus the manual work.

Find creators, manage relationships, and track results. All in one place.

How to Track Affiliate Links: A Setup Guide for Shopify Brands

Lizzie Davey
Content Writer
Melissa Sorby
Senior Influencer Marketing Manager
Andreea Moise
Influencer Marketing Consultant
Published date:
November 23, 2026

An affiliate link is basically a relay baton.

The creator hands it to a follower, the follower carries it to your store, and your store carries it to checkout. If nobody drops it along the way, the creator crosses the finish line with a commission 🏃‍♀️

But if anyone in that sequence drops the baton, the creator doesn’t get credit for the sale.

The good news is that if this does happen, it’s rarely the creator’s fault. In most cases, the link has just been set up wrong (easy-ish fix, as you’ll see below).

Here, I’m going to walk you through how affiliate links credit a sale, how to set one up for every creator, how to pair links with discount codes, and what to check when clicks don’t turn into sales.

How affiliate link tracking works

An affiliate link is a unique URL with an identifier that belongs to one creator. Think of it like a creator’s name tag. When a shopper taps it, your store clocks who sent them and, if they buy within the attribution window, the creator bags the sale.

Sounds easy, right? Well… the baton still has to survive three handovers along the way:

  • The click: the shopper taps the link and the creator’s identifier is recorded.
  • The visit: the shopper lands on your store with that identifier still attached.
  • The order: the shopper buys and the order gets matched back to the creator.

Fumble any one of those handovers and the creator misses out on the sale (and the commission 😬).

What’s inside an affiliate link

When I say “inside” an affiliate link here, I mean all the little bits of text that make it work – the parts that tell your store where to send the shopper, which creator sent them, and where the click originally came from.

Most of the time, those “bits” are split across two variations of the same link: the short, tidy version the creator publicly shares, and the long, slightly terrifying one it redirects to behind the scenes.

The short link is what goes in the creator’s bio or Story sticker. Something like go.yourstore.com/sam-runs. The bit after the slash (AKA the alias) is unique to that creator, and that’s what tells your store who sent the shopper.

When a shopper taps it, they’re instantly (and automatically) redirected to the full link, which looks more like this:

yourstore.com/products/trail-bottle?ref=sam-runs&utm_source=sam-runs&utm_medium=influencer&utm_campaign=spring_launch

This longer version is made up of:

  • The destination: the page on your store the shopper lands on (here, a product page for a trail bottle).
  • The creator ID: the ?ref=sam-runs bit, which tells your store who sent the shopper so the sale gets credited.
  • UTM parameters: the tags after it that tell Google Analytics where the visit came from.

You’re probably wondering why you need to bother with two links. It’s for vanity reasons, really. Nobody wants that second monstrosity in their bio.

Here’s a link from one of Instagram creator Negar Aghaei’s campaigns for women’s fashion brand Fashion Nova. Everything after the ? is there to tell Fashion Nova’s analytics that the click came from Negar:

You can add five UTM parameters in total:

  • Source
  • Medium
  • Campaign
  • Term
  • Content

…though source, medium, and campaign are usually enough for creator links.

Attribution windows and models

Your attribution window is how long a creator gets credit after someone clicks their link. If it’s 14 days and a follower buys on day 15… tough luck, buddy 🫠

Most ecommerce brands go for somewhere between seven and 30 days, but it totally depends on your product and audience. For example, people will impulse buy a $15 lip balm, so a shorter attribution window is fine. But they’ll mull over a higher-ticket product, like a $400 rowing machine, for a while, so go longer.

Whatever window you choose, keep it the same for every creator so you’re comparing like with like.

Then there’s your attribution model, which decides who gets the sale when a shopper clicks more than one creator’s link.

Picture this:

  • Monday: a shopper clicks Sam’s link
  • Wednesday: they click Priya’s link
  • Friday: they buy

Who gets the commission?

  • Last-click: Priya, because she was the final click before the sale
  • First-click: Sam, because he introduced the shopper to your brand
  • Multi-touch: both of them, so commission is split between the two

Last-click is the most common. But Melissa Sorby, Senior Influencer Marketing Manager at Metapic, reckons first-click is a better fit for creator programs:

First-click attribution is better in my experience as it allows the original source to be credited for their influence. This seems fairer for creator marketing, where you may need a day or two to consider a purchase before buying.

avatar
Melissa SorbySenior Influencer Marketing Manager

She says it works especially well for pricier products, where shoppers take longer to make up their minds. If most of your sales are impulse buys, last-click might suit you better.

Either way, there’s no one-size-fits-all answer. Some tools let you set your own window and model. Others use one rule for every creator so sales are counted the same way.

In Modash, for example, the rules are simple: if a shopper uses a creator’s discount code at checkout, that creator gets the sale. If not, the sale goes to the last creator whose link the shopper clicked in the 30 days before buying.

🤓 Further reading: Still not sure which model’s right for you? Our guide to choosing the right affiliate attribution model walks you through the pros and cons of each.

Affiliate links vs UTM links: what’s the difference?

A UTM link and an affiliate link can look almost identical. The difference is what happens after someone clicks.

A UTM link only tells Google Analytics where a visit came from. An affiliate link tells your store which creator sent the shopper, and remembers it for your whole attribution window. So if the shopper comes back and buys 3 days later, the creator still gets the sale.

What happensUTM link onlyAffiliate link
Shopper clicks Sam’s linkGA logs a visit from SamStore records Sam as the referrer
Shopper buys straight awayGA might log the saleSale credited to Sam
Shopper comes back 3 days later via GoogleGA credits GoogleSale still credited to Sam (if inside the window)
Commission calculatedNoYes


With UTMs alone, Shopify never connects the order to the creator, nothing works out their commission, and Instagram’s in-app browser can strip the tags before the shopper even reaches your store.

In short: UTMs show you where your traffic came from. Affiliate links show you who to pay.

Why cookie-based tracking misses sales

Traditionally, affiliate links relied on a cookie: a tiny file saved in the shopper’s browser that remembers which creator sent them.

I’ve got some bad news, though: cookies are way less reliable than they used to be.

  • Safari and iOS block a lot of tracking cookies by default
  • Ad blockers stop plenty more
  • Cookie banners mean some shoppers just click “reject all”
  • Switching devices leaves the cookie behind

Any one of those can make your store drop the baton at handover two or three… and it’s a big part of why Shopify on its own misses so many creator sales.

So what can you do about it? Well, you can’t stop shoppers using Safari or switching devices. But you can make sure your store isn’t relying on a lone cookie.

This is where a native Shopify integration comes in handy. When your store’s connected, Modash saves the referral in three different places – a web pixel, the shopper’s cart, and Shopify’s own customer journey data – so if one gets blocked, the other two still make sure the creator gets credit for the sale.

That takes care of most blocked cookies. Shoppers who switch devices are a bit trickier, though. Having those extra layers makes cross-device tracking more reliable, but I’ll be honest with you: it’s not bulletproof.

Express checkouts like Shop Pay, Apple Pay, and PayPal Express can occasionally skip past tracking scripts too. That’s where discount codes come in.

4 ways to create affiliate tracking links

Okay, so you know what a link needs to do. Now, how do you actually make one?

MethodBest forCounts clicksMatches sales to creatorsSetup time per creator
Hand-built UTM link (by using something like Google’s Campaign URL Builder)Testing with a few creatorsOnly in GANoHigh
Link shortenerTidier links and basic click countsYesNoMedium
Shopify affiliate appAffiliate-only programsYesYesMedium
Creator marketing platform connected to ShopifyBrands running gifting, paid, and affiliate togetherYesYesLow


The first two options are free (or close to free), but they’re limited in that they can only track the click. If you want to find out who bought something after clicking, you’ll have to match orders to creators by hand in a spreadsheet. Which is fine for five creators, but a total time-suck when you have over 10 partnerships.

So once your program starts growing, you’ll want something that does the matching for you – either a Shopify affiliate app or a creator marketing platform.

An affiliate app handles the links, codes, and commissions, but that’s about it. A creator marketing platform like Modash does all that, plus everything else you do with creators, from finding them to paying them.

Now you know what’s involved, let’s look at how you can start tracking them.

How to track affiliate links in 7 steps

For most steps, I’ll show you how to do it manually and how to do it in Modash.

Step 1: Give every creator their own link

This sounds painfully obvious, but you’d be surprised how many brands hand out one link for an entire campaign.

Here’s why that’s a problem: say three creators share the same link and it drives 40 sales. Lovely. Now, who gets paid for what? You’ve got no way of knowing. So you either:

  • split the commission three ways
  • or you guess

Both options aren’t just inaccurate, they’re also unfair to your creators.

That’s why every creator needs their own link.

If you’re doing this manually, give each link a UTM source that matches the creator’s handle, and keep a spreadsheet of who you’ve given each link to. It works, but it’s slow.

In Modash, you create links straight from the campaign you’re already running. Pick the creator, set the destination URL, and Modash generates a short link with its own alias (e.g. mdsh.io/sam-runs, or your own domain if you’ve set one up).

Each link can also carry:

  • UTMs, filled in from a template so every link reads the same in GA
  • The creator’s discount code, applied at checkout automatically so shoppers don’t go hunting for one
  • A QR code for packaging, inserts, or events

So one link does the job of three, and you’re not managing them in separate places.

Step 2: Point the link straight at your Shopify store

Next, decide where the link takes people who click. This should always be a page on your Shopify store and it should be relevant to the creator’s content. That might be a:

  • Product page: when the creator’s focused on one product (e.g. someone reviewing a water bottle you sell)
  • Collection page: when they’re showing off a range (e.g. a “what I wear for marathon training” haul)
  • Homepage: only when the content’s about your brand in general

FYI: Don’t route links through a landing page on a different domain or through a chain of redirects. Every extra hop is another chance to lose the creator’s ID and, with it, their credit for the sale.

This is also why most affiliate tools ask you to point links straight at your store. For example, if you’re tracking sales through Modash, your links need to go directly to your Shopify store domain. That way, Modash can follow the shopper from the click all the way to checkout without anything getting lost in between.

Step 3: Add UTMs for Google Analytics (and keep them consistent)

UTMs are little tags on the end of a link that tell Google Analytics where each visitor came from. So if a creator’s link has their handle in the UTMs, you can see exactly how much traffic they sent your way.

The catch is that GA takes those tags very literally. If you label one link ‘instagram’ and another ‘Instagram’ with a capital I, it’ll count them as two separate sources.

So choose one way of naming things and stick to it. Always use lowercase, and pick either hyphens or underscores: spring_launch and spring-launch would show up as two different campaigns.

Here’s one you can steal:

  • Source = the creator’s handle or social platform
  • Medium = influencer or affiliate
  • Campaign = the campaign name (spring_launch)
  • Content = where the link was placed (story, bio, yt_description) – optional, but handy

You can build these by hand in Google’s Campaign URL Builder… but imagine doing that for 30 creators, then again next month for the summer campaign. I’m guessing you’d rather not.

And it’s not just the time. The more links you type out by hand, the more you risk entering them wrong or accidentally letting a capital letter slip in.

The easiest way around both problems is to stop creating UTMs by hand altogether. In Modash, you can save a UTM template once with dynamic variables for the creator’s handle, platform, and campaign name.

Then, whenever you create a new link, Modash fills in the details for you. Every link follows the same format, and you never have to worry about typos again.

Step 4: Pair the link with the creator’s discount code

Links are great, but they’re not perfect. Neither are codes, which is why we recommend you use both.

Here’s how they cover for each other:

ScenarioLink gets creditCode gets credit
Shopper clicks the link but forgets the codeYesNo
Shopper uses the code but never clicks the link (e.g. they watched on TV)NoYes
Shopper clicks on mobile but buys on desktop with the codeNoYes
Shopper finds the code on a coupon siteNoYes (but it’s not really the creator’s sale)


In a nutshell: codes are better at catching the sale, while links are better at showing you where the shopper came from.

🤓 Further reading: Want to dig deeper into codes vs links? Our guide to tracking affiliate sales breaks it down.

But using both codes and links together raises a new question: what happens when they disagree? You need a rule for that before you launch, otherwise you could end up paying two commissions for one order.

Here’s how Modash handles it:

  • Creator’s code only: the code owner gets the sale
  • Creator’s link only: the link owner gets the sale (as long as it’s inside the attribution window)
  • Sam’s link + Priya’s code: Priya gets it, because affiliate codes always win over links
  • Sam’s link + your sitewide promo code: Sam still gets it, because store-wide codes don’t cancel out link credit
  • Two different creators’ codes on one order: the commission’s split evenly between them

Whatever rules you go with, write them into your affiliate agreement. That way, creators know how their sales will be counted.

Of course, the best way to avoid link vs code clashes is to stop them happening in the first place. Luckily (or unluckily, depending on how you look at it), a lot of them start the same way: the shopper clicks a creator’s link, gets to checkout, realizes they don’t have a code, and goes hunting for one on Google.

You can stop a lot of these clashes by adding the creator’s code to their link. Then, when a shopper uses that link, the code is automatically added to their cart. Modash can do this for you: add the creator’s code when you create their link, and it’s applied when a shopper clicks through to your Shopify store.

Step 5: Make the link easy to tap on every platform

You can build the most perfectly tracked link in the world, but if it’s buried somewhere nobody sees it, it’s not gonna earn anyone a penny.

Where creators can put links varies a lot depending on the platform:

  • Instagram: link stickers in Stories and the bio link. Links in posts and Reels are only open to paid Meta One accounts, with a monthly cap
  • TikTok: the bio link, for accounts that have one
  • YouTube: video descriptions and pinned comments
  • Offline: QR codes on packaging, inserts, and event signage

The limitations of each platform are a bit of a headache because lots of brands are actually trying to use links more these days, not less, because of something known as code poaching.

In our affiliate marketing survey, 47.6% of marketers said they struggle with creators’ codes ending up on coupon sites, where they get used by people who were going to buy anyway. One of the ways marketers are fighting back is by swapping codes for tracking links.

The catch is that links don’t work as well on platforms like Instagram, where most of them can only go in Stories and bios. So if you want links to do more of the heavy lifting, you need to make them as easy to tap as possible.

Here’s a good example of how to make it work on Instagram. Stanley 1913 affiliate Georgia Lyon drops her link into her Stories with a link sticker, right next to the product she’s talking about:

Want to give your creators’ links the best shot at getting tapped? Share these tips with them:

  • Put the link sticker right next to the product
  • Tell people to tap the link
  • Pin the link in YouTube comments

Your part is making the link look trustworthy. People are more likely to tap a link on your own brand’s web address than a random short link. Most link shorteners give you a generic one by default, which is where Modash’s custom tracking domain helps: every creator’s link runs on your own subdomain.

And for anywhere people can’t tap a link – like packaging inserts or a stand at an event – every Modash link comes with a QR code you can download.

Step 6: Test every link before the creator posts

I know, I know, testing isn’t the most exciting job, but spending five minutes on it now could save you a lot of hassle later.

So before you send a link to any creator, run through this quick checklist:

  • Open it in an incognito window. Does it go to the right page?
  • Check the URL once the page loads. Are the creator ID and UTMs still there? If they’ve vanished, something might be stripping them (more on that below 👇).
  • Test it inside Instagram. DM the link to yourself and tap it from the app. Instagram’s in-app browser behaves differently from Safari or Chrome.
  • Check the discount code. If you added a code to the link, is it already in the cart?
  • Place a test order and check it’s credited to the right creator.

Step 7: Tell creators not to edit, shorten, or swap their link

Long links look messy, so some creators will “tidy them up”. They’ll run it through their own shortener, add it to a link-in-bio page with a different URL, or just copy the bit that looks important. And… poof, there goes the tracking.

The fix is boring but effective: tell them upfront, in writing, as part of onboarding. Something like:

“Please use this exact link. If you edit or shorten it, we might not be able to track your sales, and that means we can’t pay you for them.”

Most creators are more than happy to play along once they know why. And if a creator changes their handle or wants a different alias, make them a new link rather than letting them improvise.

In Modash, a creator can have more than one link, so you can add a new one without touching the old. Just keep the old link assigned to them until their existing posts stop driving clicks.

🤓 Further reading: Not sure what else to include in your welcome email? Our guide to onboarding new affiliates covers everything you need to get creators set up and posting.

And that’s the setup sorted. Every creator has their own link, it points straight at your store, it’s paired with a code, and you’ve tested it before anything goes live.

Now for the fun part: actually seeing what those links are doing.

How to read your affiliate link data

Now your links are live and the numbers are rolling in, it’s time to work out what those numbers are telling you.

First, a quick reality check: clicks show you people are interested, but sales are what you pay creators for. So the trick is to look at them both together.

Bear in mind that even with perfect setup, links and codes won’t catch every sale a creator drives. Andreea Moise, Influencer Marketing Consultant at Hype Maven, estimates that roughly 50–60% of influencer-driven sales go untracked if you only rely on links and codes, so treat your numbers as a solid minimum.

Clicks vs unique clicks vs attributed sales

Open up the stats for any creator’s link and you’ll probably notice that the numbers don’t quite add up. A link might have 900 clicks, 600 unique clicks, and just 12 sales. So what’s actually going on?

It helps to know what each number is measuring:

  • Clicks: every single tap, including the same person tapping five times
  • Unique clicks: the number of different people who tapped
  • Attributed sales: orders that actually got credited to the creator

These will never match up perfectly. Total clicks also pick up bots, link previews (like when someone pastes the link into a WhatsApp chat), and social apps loading the page in the background. That’s why your tracking tool will usually show more clicks than GA4 or Shopify.

So for a fairer picture, compare unique clicks to attributed orders. If a creator’s link gets 600 unique clicks and drives 12 orders, that’s a 2% conversion rate.

Where are the clicks coming from?

Your total clicks show how many times a link was tapped. But if you break those clicks down, you can see where people tapped from – and that’s much more useful when you’re planning your next campaign.

For example:

  • If 80% of Sam’s clicks come from Instagram Stories and hardly any from his bio, ask him for more Stories next month
  • If most clicks are coming from a country you don’t ship to, that’s a sign you might have a targeting problem (not a creator problem)
  • If clicks are 90% mobile but sales are low, it might mean shoppers are finishing their purchases on a different device

Of course, you can only spot patterns like these if you can actually see the breakdown. Most link shorteners just give you a total and leave it at that.

In Modash, every link’s clicks are broken down by device, browser, operating system, location, and traffic source, so you can quickly spot this stuff.

How to track affiliate links in Google Analytics 4

Your tracking tool tells you who clicked and who bought, but GA4 can show you what people do when they land on your site, like which pages they visit, how long they stick around, and how it stacks up against your other channels like email or paid social.

As long as you’ve added UTMs, finding it is pretty quick:

  • Go to Reports > Acquisition > Traffic acquisition
  • Change the main dropdown to Session source / medium (or Session campaign to see a whole campaign)
  • Search for your medium, e.g. influencer

You’ll now see sessions, engagement, and key events for each creator.

If you compare these numbers with your Shopify orders, you’ll notice they don’t match. Don’t panic – that’s completely normal. Here’s why:

  • GA4 counts sessions, Shopify counts orders
  • GA4 uses its own attribution rules, which won’t match your affiliate window
  • Instagram Stories are notorious for losing their UTMs in the in-app browser, so a chunk of that traffic gets filed under “direct”

That last one can be a real kicker. If your tracking tool shows 1,000 unique clicks from Stories but GA4 only shows 300 sessions, a big chunk of that traffic is probably being filed under “direct”. Useful to know before you decide Stories “don’t work”.

So think of it like this: GA4 is great for seeing where your traffic’s coming from, but when it comes to paying creators, stick with the numbers from your Shopify-connected tracking.

What does high clicks but low sales mean?

This one can be a real head-scratcher. A creator’s link is getting loads of clicks, but hardly any sales. So is the creator just not the right fit? Or is something wrong with the tracking?

It’s usually one of two things:

  • A tracking problem: the baton’s getting dropped somewhere between the click and the order
  • A content or offer problem: people are curious, but something’s stopping them from buying

Always rule out tracking first. Go back through the checklist in step six, because nothing sours a creator relationship faster than telling them they’re underperforming… and then finding out their link was broken the whole time 😬

If the tracking checks out, then look at the rest:

  • Is the link going to the right page?
  • Is the price or offer competitive?
  • Does the page show the same deal the creator talked about in their post?
  • Does the creator’s audience match your customers?
  • Is the audience more “watchers” than “buyers”? (Some creators are brilliant for awareness but don’t drive many direct sales, and that’s okay.)

The most common version of this is a mismatch between the post and the page. For example:

  • The creator says 20% off, but their code only gives 10% (or has expired)
  • They show the pink colourway, and the link lands on a page where it’s sold out
  • They talk about a bundle, and the link goes to a single product
  • The video says free shipping, then shipping appears at checkout

The tricky part is that you can’t spot most of these problems by looking at numbers alone. You need to see the actual content. Did the creator show the product clearly? Did they mention the offer? Was the link easy to find?

Doing that by hand often means scrolling through every creator’s feed, and good luck catching their Stories before they disappear after 24 hours.

That’s where Modash’s content tracking helps. It automatically captures the posts your creators share (yep, even Stories), alongside views and engagement. So when clicks spike, you can find the post behind it and see how the creator talked about your product.

By now, you know how to read your numbers. But what if they still don’t add up? You’ve checked the creator’s content, the offer looks good, and the clicks are definitely coming in, but the sales just aren’t showing up.

4 reasons affiliate links stop tracking (and how to fix them)

If your numbers still aren’t making sense at this point, it’s worth taking a closer look at the tracking itself.

Here are the most common reasons a link stops crediting sales, how to spot each one, and what to do about it.

1. A redirect strips the tracking from the link

What you’ll notice: the link’s getting clicks but no sales. And when you test it yourself, the tracking has disappeared from the URL by the time the page loads.

This usually means the shopper is being sent somewhere else on the way to your store, and the tracking gets lost along the way.

The usual suspects:

  • A store redirect (e.g. an old product URL redirecting to a new one)
  • A geo-redirect sending shoppers to a different regional store
  • A landing page on a different domain from your Shopify checkout

Any of these can strip the creator’s ID – and any embedded discount code – before the shopper makes it to checkout.

🤓 How to fix it: make sure every link goes straight to the right page on your store, not an old address that sends people somewhere else. Then test it before it goes live. If you sell across regional stores, use geo-routed links so shoppers land on the right store without losing the creator’s credit.

In Modash, you can set geo-routing rules so shoppers from each country land on the right regional store:

2. Cookie consent, ad blockers, and iOS privacy settings

What you’ll notice: sales just seem lower than all the buzz around a post would suggest, especially from creators whose audiences are mostly on iPhones.

This one’s hard to spot because nothing technically looks broken. The link works and people are clicking it. But some shoppers turn down cookies, use ad blockers, or shop on Apple devices that block tracking. When that happens, your store can lose track of which creator sent them.

That doesn’t mean those sales are gone for good, though.

🤓 How to fix it: Use tracking that doesn’t rely on a single cookie and always give creators a discount code as a backup. With Shopify connected, Modash uses several tracking layers instead of cookies alone. It won’t catch every single sale, but it’ll catch a lot more than cookies on their own.

3. Shoppers click on one device and buy on another

What you’ll notice: lots of mobile clicks, not many sales, and a creator who’s adamant their followers bought something.

They’re probably right! Someone taps a creator’s link on their phone during their lunch break, then gets pulled into a meeting and forgets all about it. That evening, they remember and buy on their laptop. But because they switched devices, the sale doesn’t get linked back to the creator.

Modash can sometimes connect these journeys (especially for shoppers logged into a Shopify account), but it’s not guaranteed.

🤓 How to fix it: Pair every link with a discount code.

4. The purchase happens outside the attribution window

What you’ll notice: a creator flags an order they know came from them, but it’s nowhere to be seen in their dashboard.

Most of the time, the shopper just bought too late. If your attribution window is seven days and they bought on day nine, the creator doesn’t get credit. And plenty of creators don’t even know there’s a time limit.

🤓 How to fix it: Pick a window that matches how long your customers usually take to buy and tell creators what it is upfront, both during onboarding and in your affiliate agreement.

Your affiliate link tracking checklist

When a creator misses out on credit for a sale, it’s usually not bad luck. Nine times out of ten, it comes down to how the link was set up.

So before any creator posts, make sure you’ve:

  • Given every creator their own link, pointing straight at your Shopify store
  • Set clear rules for your attribution window, your model, and what happens when a code and a link clash (and shared them with creators)
  • Paired every link with a discount code, so you’ve got a backup
  • Tested every link before it goes live

Of course, doing all of that by hand gets harder with every creator you add. That’s why a lot of Shopify brands run their affiliate programs in Modash.

You can create a tracking link and discount code for every creator in a few clicks, and see their clicks, orders, and commissions pulled straight from Shopify.

But it doesn’t stop at tracking. With Modash, you can also:

  • Find new creators to work with, with audience data to check they’re a good fit
  • Track their content automatically, including Stories, so you can see the posts behind your sales
  • Calculate commissions on net revenue, after discounts, shipping, and refunds
  • Pay creators in their local currency, in 180+ countries
  • Give creators their own dashboard, so they can see their sales and earnings without having to message you

So instead of juggling a spreadsheet, a link shortener, Shopify reports, and a payments tool, it all lives in one place.

👉 Try Modash free for 14 days – no credit card required.

FAQ

Can you track affiliate links without a tool?

Yes, you can track affiliate links without a tool, but it only really works for small programs. You’d build a unique link for each creator using a free tool like Google’s Campaign URL Builder, give each creator their own discount code, and then match Shopify orders back to creators in a spreadsheet. The downside is that it’s all manual. If you want to give it a go, grab our free affiliate tracking spreadsheet.

Can I track affiliate links in Shopify alone?

Partly. Out of the box, Shopify shows you sales by discount code and by referral source (using UTM parameters), so you can see roughly how much traffic and revenue creators are bringing in. What it doesn’t do is connect each creator’s link and code to their orders, apply an attribution window, or work out how much commission they’ve earned. So you’ll still need a spreadsheet, a Shopify affiliate app, or a creator marketing platform to fill those gaps.

How long should an affiliate link’s attribution window be?

Most ecommerce brands set their attribution window somewhere between seven and 30 days. The right length depends on how long your customers usually take to buy. For lower-priced, impulse-type products like socks or lip balm, 7–14 days is usually enough. For most DTC products, 30 days is a safe default, since it covers shoppers who save a post and come back later.

Do UTM parameters track affiliate sales?

Not on their own. UTM parameters are tags on the end of a link that tell Google Analytics where a visitor came from, like which creator, platform, and campaign. If the visitor buys during that same visit, GA may record the purchase, but UTMs don’t credit the sale to a creator in Shopify, they don’t calculate commission, and they’re easily lost if the shopper switches devices or comes back later through another channel.

Are affiliate links or discount codes more accurate?

Neither one is perfect. They just miss different sales.

Discount codes are great when a shopper switches devices or blocks tracking, because the code works wherever they buy. The downside is that codes often end up on coupon sites, so you can end up paying commission on sales the creator didn’t drive.

Affiliate links show you where a shopper came from, but they don’t always work if the shopper changes devices or blocks cookies.

Can affiliate links track sales across devices?

Sometimes, but not always. If a shopper clicks a link on their phone and buys on their laptop, the sale often doesn’t get credited to the creator. A Shopify integration that tracks in more than one way can catch some of these sales, especially if the shopper is logged into a Shopify account. The safest bet is to give every creator a discount code too, because a code works on any device.

Why don’t my affiliate numbers match what the creator reports?

Usually because you’re looking at different things. Creators tend to check clicks in their own social media stats, while you pay them for orders (and even then, it’s only the ones that fall inside your attribution window and don’t get refunded). The easiest fix is to share your rules upfront and let creators see the same order data you do.

What happens if a customer uses a code and a link on the same order?

That’s up to you – but make sure you decide before you launch, or you could end up paying two commissions for the same order 😬

In Modash, the code wins. So if a shopper clicks one creator’s link but uses a different creator’s code, the code owner gets the sale. The exception is sitewide promo codes. Those don’t count, so the creator whose link was clicked still gets the credit.

Whatever rules you pick, pop them in your affiliate agreement so there are no surprises later.

Your creator program, minus the manual work.

Find creators, manage relationships, and track results. All in one place.

Our expert contributors