Attribution
Influencer marketing attribution: measure every creator, not just their codes
Creator codes and affiliate links catch only part of what influencers sell. Here is how to measure the rest, creator by creator, with one question after checkout.
Yforms team, Product & growthPublished 8 min read
On this page
Influencer marketing attribution usually starts and ends with discount codes and affiliate links. Both are useful, and both miss a large share of the sales creators drive: the follower who saw a video, didn't use the code, and searched your brand a week later. This guide covers how to set up codes and links properly, why so many influencer sales never touch them, and how to measure each creator with a question after checkout, so you can decide who to rebook with numbers, not gut feel.
Codes and affiliate links: what they do well
Most brands measure creators with two tools. Each gives you a clean count of some orders, which is why everyone uses them.
| Tool | What it catches | What it misses |
|---|---|---|
| Discount code per creator | Buyers who remember and type the code | Buyers who forget it, use another code or pay full price |
| Affiliate or tracked link | Buyers who tap the link and buy on that device, within the cookie window | Buyers who search later, switch device or clear cookies |
| Ask the buyer | Anyone who remembers the creator, however they arrived | Buyers who skip the question or don't remember |
Setting up codes
- One code per creator, using a name their audience knows: MAYA15, not INFL-0042.
- The same offer for every creator in a test, so a bigger discount doesn't look like a better creator.
- An end date or a usage limit for one-off campaigns. Codes travel to coupon sites and browser extensions, and after that they stop meaning anything.
- A shareable discount link as well, so followers who tap it get the code applied without typing it (Shopify Help Center (opens in a new tab)).
Setting up affiliate links
If you pay creators on commission, you need tracked links. Shopify's own app, Shopify Collabs (opens in a new tab), lets you recruit creators, give them links and codes, and pay commission. Many other affiliate apps do the same. Whichever you use, add UTM tags with one consistent medium, such as utm_medium=influencer and utm_source set to the creator's handle. Then every creator visit lands in your analytics under one channel and you can split it by creator.
Why many influencer sales never use a code
Here is the usual path for an influencer sale. A follower watches a creator's video on the couch. They like the product but don't buy then. Two days later they search your brand on Google, or tap one of your retargeting ads on Instagram, and buy. They never typed the code and never tapped the link.
Several things push sales away from codes and links:
- Delay. People rarely buy the moment they watch. By the time they're ready, the code is forgotten.
- Stories and short videos vanish. A story expires in a day. The link in it goes with it.
- Another discount wins. A welcome popup or a sitewide sale offers more than the creator's code, so the buyer uses that.
- Screenshots and shares. A follower sends the video to a friend in a DM. The friend buys and has no idea a code exists. Our guide to dark social covers this kind of sharing.
- Device switching. They watched on their phone and bought on a laptop, so the affiliate link's tracking never saw the order.
- Paid social takes the credit. If they also saw one of your ads, Meta or TikTok may report the conversion, and the creator gets nothing.
In our experience, judging creators on code sales alone undervalues the ones with engaged audiences who buy later, and overvalues creators whose codes have leaked to coupon sites. Both lead to the wrong rebooking decisions.
Ask buyers which creator they saw
The sales codes miss are the ones only the buyer can tell you about. A how did you hear about us survey on the Shopify Thank you page asks right after checkout, while they still remember the video. Use two steps.
- The channel question. “How did you hear about us?” with “A creator or influencer” as one option, next to Instagram, TikTok, Google, a friend and the rest.
- The creator follow-up. Shown only to people who picked the creator option: “Which creator?” with the creators you work with, plus “I don't remember who” and “Someone else (tell us who)”.
Answer options for the creator follow-up
| Option | Notes |
|---|---|
| Maya on TikTok | Name plus platform, as followers know them |
| Jordan on Instagram | If one creator is on several platforms, one option is fine |
| The Skin Edit on YouTube | Use the channel name, not the person's legal name |
| A creator, but I don't remember who | Still counts toward the channel total |
| Someone else (tell us who) | A text box. Unpaid creators who love you show up here |
- Keep the list short. If you work with 40 creators, list the top 8 to 10 by spend and let the text box catch the rest.
- Add a creator when their first post goes live, and keep them listed for a couple of months after their last one.
- Shuffle the names if your tool allows, so the first one isn't picked more often just for being first.
- Separate “a creator” from “an ad”. Followers can tell a creator's own post from a brand ad most of the time, but not always. Expect some overlap and read the trend, not the exact count.
Measure each creator: a monthly scorecard
Once you have codes, links and survey answers, put them on one sheet per month. Here is an example for a made-up $40k/month skincare brand.
| Creator | Cost | Code and link orders | Survey orders, scaled |
|---|---|---|---|
| Maya (TikTok) | $2,000 | 25 | 70 |
| Jordan (Instagram) | $1,500 | 40 | 45 |
| The Skin Edit (YouTube) | $3,000 | 15 | 60 |
“Scaled” corrects for buyers who skip the question. If 60% of buyers answered and 42 named Maya, that's about 42 / 0.6 = 70 orders. It assumes people who answer are like people who don't, which is good enough for a monthly call.
Now the cost per order. Jordan looks best on codes: $1,500 / 40 = about $38. On the survey, Jordan is $33 and Maya is about $29. The Skin Edit is $200 per order on codes and $50 on the survey. YouTube viewers often watch, search later and never use a code, so the code view would have cut the channel that may be doing well.
Jordan's numbers are close in both columns. That often means a loyal audience that uses the code. It can also mean the code leaked. Check where Jordan's code orders come from: if many are from returning customers or arrive with no visit from Instagram, some of them are probably coupon-site traffic.
What to look at besides cost per order
- New vs returning buyers. Creators are usually paid to find new customers. Use your Shopify order data to check how many of each creator's orders are first orders.
- Ratio of survey to code orders. A stable ratio for a creator lets you estimate the next campaign early, before survey answers build up.
- Product mix. Some creators sell your hero product, some sell the bundle. That changes the margin per order.
- What buyers say after delivery. A creator who oversells your product brings customers who return it. An after-use survey shows that.
The halo: lift you won't see by creator
Some influence never attaches to a name. A buyer saw three creators mention you in a month and can't say which one convinced them. Your branded search goes up. Your direct traffic goes up. Your Meta ads get cheaper because people already know the name.
You can't put this on a single creator's scorecard, but you can see it in aggregate. Compare the month before a creator push with the month during it: total “creator or influencer” answers, branded search volume and direct orders. If all three rise together, the program is working beyond the codes. For a bigger picture of how channels interact, see our guide to Shopify marketing attribution.
A setup checklist for your next creator campaign
- Create one discount code and one shareable link per creator, with the same offer.
- Tag every link with utm_medium=influencer and utm_source set to the creator's handle.
- Put the channel question live on your Thank you page with “A creator or influencer” as an option, before the first post.
- Add the creator follow-up, listing every creator in this campaign.
- Agree posting dates with each creator and write them down. You need them to read the lift.
- Each month, fill in the scorecard: cost, code and link orders, scaled survey orders, cost per order both ways.
- Rebook on the range, not on codes alone. Drop creators who look weak on every signal.
Yforms' Ads vs customers report (on Growth) shows Influencers as one channel next to Meta, Google and the rest. You type in the month's spend and what your affiliate tool reports, and the report sets that next to what customers said, with a cost per order each way. For the creator-by-creator view, export answers to Google Sheets (free) or BigQuery (Growth).
Questions
Can I trust influencer discount codes?
Trust them as a floor. Every code order probably involved the creator, unless the code has leaked, but many buyers the creator sent never use it.
How do I measure influencers who don't use codes?
Ask buyers after checkout which creator they saw, and compare that with branded search and direct orders around each creator's posting dates.
What about gifting campaigns with no code at all?
The survey is the main signal there. List the gifted creators in your follow-up, or read the Other answers, and watch for a rise in creator answers the weeks after they post.
How long should I wait before judging a creator?
Give it at least a month after their last post. Long-form video in particular keeps selling well after the upload date.
Start free on Shopify
Hear from every customer after they buy.
Yforms asks one short question on your thank-you page, when the order arrives and after use. Free for up to 200 orders a month, and every new store gets 14 days of Growth.