Skip to content
MicroInfluencer

How to Track Influencer Sales on Shopify With Codes and Links

October 10, 2026, 8 min read

Store owner reviewing a sales chart on a laptop in a small ecommerce studio

Shopify influencer marketing means paying or gifting creators to promote your Shopify store, then tracking which orders each creator drove. You track it with a unique discount code per creator, a tagged link (UTM or affiliate), and a fixed attribution window that decides which orders count.

Most brands get the first part right. They find creators, ship product, and watch posts go live. Then the month ends and someone asks, "So which ones actually sold?" and nobody can answer with confidence. This guide fixes that. You'll learn how each tracking method works, where each one breaks, and how to combine them so you can rank creators by real revenue instead of likes.

Why tracking matters more with micro creators

When you work with one big creator, a spike in sales the day after their post is pretty easy to spot. When you work with 30 micro creators (1k to 100k followers each), every individual post moves the needle a little, and the spikes overlap. Without per creator tracking, you can't tell your best partner from your worst.

That matters because micro campaigns are usually iterative. You test a wide group, keep the people who sell, and drop the ones who don't. If your data can't separate them, you end up renewing based on gut feel. If you're new to this tier, our explainer on nano vs micro influencers covers why brands spread budget across many smaller accounts in the first place.

Method 1, Shopify discount codes per creator

The simplest and most reliable tracker is a unique discount code for each creator. In your Shopify admin, you create a code like MAYA15 that gives 15 percent off. When an order uses it, you know Maya drove it.

How to set it up

  1. In the Shopify admin, go to Discounts and create a new discount code.
  2. Name it after the creator, short and easy to say out loud in a video (MAYA15, not MAYA-SPRING-2026-IG).
  3. Choose the type (percentage, fixed amount, or free shipping) and any minimum order.
  4. Set usage limits if you want, such as one use per customer.
  5. Set an end date that matches your campaign plus a buffer.

Strengths and weaknesses

Codes work everywhere, including in videos where links aren't clickable, podcasts, and word of mouth. They also capture buyers who saw the post on their phone but bought days later on a laptop. The downside is leakage. Codes end up on coupon sites, and then you're crediting a creator for orders that came from a deal aggregator. A shopper who sees a post but forgets the code also won't be counted.

Method 2, UTM links

UTM parameters are tags added to the end of a URL so your analytics can tell where a visit came from. A creator link might look like this:

yourstore.com/products/candle?utm_source=instagram&utm_medium=influencer&utm_campaign=fall_launch&utm_content=maya

Shopify reads these tags when the visitor lands, and the sessions show up in your traffic reports grouped by source and campaign.

Naming rules that save headaches later

  • Use lowercase everywhere. "Instagram" and "instagram" become two separate sources in most reports.
  • Keep utm_medium fixed as "influencer" for every creator so you can filter the whole program.
  • Put the creator handle in utm_content so each person is separable.
  • Use one utm_campaign value per launch or season.

Strengths and weaknesses

UTMs show you traffic and conversion rate, not just sales, so you can see when a creator drives lots of curious visitors who don't buy (often a sign the product page needs work, not that the creator is weak). The weaknesses are that links in Instagram captions aren't clickable, Story link stickers expire after 24 hours, and anyone who copies the bare URL without the tags breaks the trail. Cross device journeys also get lost.

Method 3, affiliate links

An affiliate link is a unique URL that sets a tracking cookie or identifier when someone clicks it. If that visitor buys within a set time, the creator gets credit and usually a commission. It's like a UTM link with a memory and a payout attached.

Affiliate links shine when you're paying creators per sale. They also make the creator a partner who wants to keep posting, because more sales mean more money for them. The tradeoff is that you need a system to generate links, store the click, match it to the eventual order, and calculate commission correctly when orders are refunded or partially returned.

Understanding attribution windows

An attribution window is the length of time after a click or view during which an order still counts for the creator. Pick it before the campaign starts and tell creators what it is.

WindowGood forRisk
7 daysImpulse products under about $40Misses slower buyers
14 daysMost beauty, apparel and home goodsSmall overlap between creators
30 daysHigher priced or considered purchasesMore double credit, more noise

A common rule of thumb is to match the window to how long a typical customer takes to decide. If your average buyer visits twice over a week before purchasing, a 14 day window is a sensible default.

What happens when two creators touch the same order

Decide this in advance. The usual options are last click (the most recent creator link gets credit), code wins (a used discount code beats any link), or split credit. Code wins is the easiest to explain to creators, because the customer literally typed their name at checkout.

Combining codes and links for the clearest picture

No single method catches everything, so the strongest setups give every creator both a code and a tagged link, then reconcile them. Here's how the combination plays out:

  • Order with the creator's code counts for that creator, no matter how the buyer arrived.
  • Order with no code but a creator click inside the window counts for the creator whose link was clicked.
  • Order with a code from a different creator than the click goes to the code owner under code wins rules.
  • Order with neither is organic, even if it happened during the campaign.

A worked example with hypothetical numbers

Say a skincare brand runs a 30 day campaign with 20 micro creators, each with a 15 percent code and an affiliate link, using a 14 day window and code wins rules. At the end of the month the order data looks something like this:

CreatorCostCode ordersLink only ordersRevenueRevenue per $1
Creator A$300229$1,550$5.17
Creator B$50083$550$1.10
Creator C$150 (gifted)142$800$5.33

Without per creator tracking, you'd see $2,900 in extra revenue and call the campaign fine. With it, you can see that Creator B cost the most and returned the least, while a gifted creator outperformed both paid ones on a per dollar basis. Next month you'd rebook A and C, offer C a paid deal, and replace B.

Common tracking mistakes on Shopify

  • Reusing one code for every creator. A single "INFLUENCER20" tells you the program worked but not who made it work.
  • Not watching for code leaks. If a code suddenly gets hundreds of uses from new customers in a day, it probably landed on a coupon site. Deactivate it and issue a fresh one.
  • Counting refunded orders. Pay commission on net revenue after returns, and say so in the agreement.
  • Changing the window mid campaign. It makes earlier and later results incomparable and annoys creators.
  • Ignoring stacking. If codes stack with sitewide sales, your margin on creator orders may be thinner than you think.

How MicroInfluencer ties orders to creators

Doing all of this in spreadsheets is possible for five creators and miserable for fifty. MicroInfluencer connects to your Shopify store (or WooCommerce, if that's what you run) and pulls in orders as they happen. Each creator in a campaign gets their own affiliate link and discount code, and every incoming order is matched to a creator by the code used or by a recorded click inside the attribution window you set.

From there, the platform calculates commission on each attributed order and adds it to the creator's balance for payout, alongside any flat fee from their agreement. The creator ROI ranking then sorts everyone in a campaign by revenue per dollar spent, so the rebook or replace decision is a glance, not an afternoon of exports. You can see how it fits together on our influencer tracking page and the dedicated Shopify influencer marketing overview.

If your store is the center of your marketing, this is also where the rest of the workflow plugs in. Gifted products shipped through the gifting workflow carry the same creator record, so you can compare what a creator cost in product against what they sold. Plans and payout fees are listed on the pricing page.

A simple setup checklist

  1. Create one discount code per creator, short and easy to say.
  2. Create one tagged link per creator with consistent UTM naming, or an affiliate link if you pay per sale.
  3. Pick an attribution window (14 days is a solid default) and a rule for overlaps.
  4. Write both into the creator agreement, including how refunds affect commission.
  5. Check code usage weekly for leaks.
  6. At the end of each campaign, rank creators by revenue per dollar and rebook the top performers.

Once you can see sales per creator, influencer marketing stops being a branding expense you hope works and becomes a channel you can grow on purpose. If you haven't picked your creators yet, start with our list of the best micro influencer platforms and compare how each one handles tracking.

Frequently asked questions

How do I track influencer sales on Shopify?

Give each creator a unique Shopify discount code and a tagged link, then match orders to creators within a set attribution window. Codes catch offline and delayed buyers, while links catch shoppers who never type a code.

Are discount codes or affiliate links better for influencers?

Use both, because each catches orders the other misses. Codes work in videos and spoken mentions, and links work when buyers click straight through without remembering a code.

What attribution window should I use for influencer sales?

A 14 day window is a sensible default for most products. Shorten it for cheap impulse buys and lengthen it to 30 days for expensive, considered purchases.

What do I do if an influencer code leaks to coupon sites?

Deactivate the leaked code and issue the creator a new one. Watch for sudden spikes in code use from new customers, which usually signal a leak.

Does this work with WooCommerce as well as Shopify?

Yes, the same methods work on WooCommerce. MicroInfluencer can attribute orders from either store type to the right creator.

Keep reading