Your creator program, minus the manual work.
Find creators, manage relationships, and track results. All in one place.
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.
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:
Fumble any one of those handovers and the creator misses out on the sale (and the commission đŹ).
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:

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:
âŚthough source, medium, and campaign are usually enough for creator links.
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:
Who gets the commission?

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:
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.
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.
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.
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.
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.
Okay, so you know what a link needs to do. Now, how do you actually make one?
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.
For most steps, Iâll show you how to do it manually and how to do it in Modash.
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:
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:
So one link does the job of three, and youâre not managing them in separate places.
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:
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.
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:
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.

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:
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:

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.
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:
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:
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.

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:

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.
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.
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:

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.
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:
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.

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:
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:
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.
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:
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:
The most common version of this is a mismatch between the post and the page. For example:
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.
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.
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:
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:

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.
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.
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.
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:
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:
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.
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.
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.
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.
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.
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.
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.
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.
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