Affiliates, influencers and partnerships for online shops
TL;DR
Difficulty: Intermediate
You pay affiliates when a sale follows their link, not when it happens because of them. The difference decides everything.
- Content sites and creators meet shoppers before they choose you, and often bring new customers.
- Cashback and voucher sites meet them at the coupon box, and mostly collect sales you already had.
- Divide the cost of a tracked order by incrementality to get the cost per incremental order, and compare it with the contribution an order leaves.
- Leaked codes cost you the discount and the commission on orders that were already yours. Use single use and unique codes.
- Record every partner touch in your own database, with consent, and check new customer share and click timing.
- In the UK, paid, gifted and affiliate content must carry a clear "Ad" label upfront, and the brand shares responsibility.
What to read first
Affiliate marketing promises that you only pay for sales. The catch is that you pay for sales that follow a partner's link, including the ones that would have happened anyway. This chapter shows how to tell partners who find you new customers from partners who take a cut, what each kind is worth paying, and what the law asks of you and your creators.
Paying only for sales sounds safe. It is not automatically
Affiliate marketing and influencer deals arrive with the friendliest pitch in advertising: you only pay when someone buys. No sale, no cost. For a shop owner who has watched money disappear into ads that "built awareness", that sounds like the end of risk.
The catch sits in one small word: when. You pay when someone buys after touching the partner's link or code. You do not pay only when someone buys because of the partner. Those are two very different groups of people. A shopper who had already filled her basket, left the checkout to search for a discount code, found one on a voucher site and came back, also bought "through" a partner. The partner was paid. Nobody new was found.
So the reader's question, the one this chapter answers, is a fair one: do affiliates and influencers bring new customers, or do they just take a cut of sales you would have made anyway? The honest answer is "both, depending on the partner", and the rest of this chapter shows you how to tell which is which, what to pay each kind, what the law asks of you and your partners, and how to measure it with your own numbers.
A few words first, so nobody is left behind:
- An affiliate (also called a publisher or partner) is a website, app, newsletter or person that sends shoppers to you and is paid for the sales or actions that follow.
- The advertiser (or merchant) is you, the shop.
- An affiliate network is the company in the middle: it tracks the clicks and sales, collects the money from you and pays the publishers.
- An influencer or creator is a person with an audience on social media who promotes products, for a fee, a free product, a commission, or a mix.
- Incrementality is the share of the sales a partner is credited with that would not have happened without that partner. It is the one number this whole chapter is about.
If a term in this chapter is new, the eCommerce metrics glossary explains every shop number from scratch, and the first chapter of this series, where an online shop should advertise, places affiliates and influencers among all the other channels.
Example: what Wrenfield Home's affiliate dashboard says
Wrenfield Home is an invented online homeware shop in Leeds, at wrenfieldhome.example. Priya owns it, Callum builds and runs the shop software. It sells ceramics, kitchen textiles, lamps and small furniture, and every number about it in this series is invented for the example. In a normal month it has 110,000 sessions, a conversion rate of 1.8%, 1,980 orders at an average order value of £72 including VAT, and 1,300 of those orders come from first time customers. After the goods, payment fees, fulfilment and returns, each order leaves £19.86 of contribution before marketing.
A year ago Priya joined an affiliate network. The network dashboard now shows 300 validated affiliate orders a month, £21,600 of sales at £72 each, and a cost of about £1,800. "That's a return of twelve to one," the network's monthly report says. Priya's question is the one above. Are those 300 orders new business, or orders the shop would have had anyway, now with a fee attached? To answer it, she first needs to know exactly how a partner gets credited with a sale.
How an affiliate sale is tracked, step by step
Every affiliate programme works on the same chain. A publisher places a special link to your shop. When a shopper clicks it, the link carries an identifier, the click ID, that says which publisher sent the visit. That identifier is stored, so that when the same shopper orders, the sale can be matched back to the click. The shop then reports the sale to the network, and the network credits the publisher.
The order does not pay out at once. Networks hold each sale as "pending" for a validation period, typically long enough to cover your right of withdrawal and returns, and you approve or decline it. A returned order should be declined, because no sale was really made. Only approved sales earn commission, and only then does the network invoice you.
Three details in this chain decide most of what goes right or wrong later.
The first is consent. Storing a click ID in the shopper's browser, in a cookie or local storage, so it can be read again at checkout, is storage on the user's device for an advertising purpose. In the UK, the Information Commissioner's Office (ICO) lists "ad affiliation" by name among the advertising purposes that need consent under the Privacy and Electronic Communications Regulations (PECR), and says online advertising purposes "are not exempt"1. A shopper who rejects marketing cookies can still buy, but that sale must not be matched to the click by reading their device.
The second is the attribution rule, the policy that decides who is credited when a shopper touched several partners or channels. Almost every network credits the last affiliate click before the order. That rule is simple and predictable, and it hands the commission to whoever was last, which, as the next sections show, is very often the publisher who did the least.
The third is the cookie window, the number of days after a click in which a sale still counts. Thirty days is common. A long window pays for more sales that were decided elsewhere.
Example: one sale through Wrenfield Home's programme
On a Tuesday evening a shopper reads a review of stoneware dinner sets on a home blog, clicks the link to Wrenfield Home and accepts cookies in the shop's consent banner. The click ID is stored. On Friday she comes back by typing the address and orders a £72 set, including VAT. The click is three days old, inside the 30 day window, so the sale is matched to the blog.
Wrenfield Home pays commission on the sale value excluding VAT and delivery: , so £60. At a commission rate of 6%, the blog earns , so £3.60. Priya is on the network's entry plan, which Awin publishes at £99 a month plus a tracking fee of 3.5% of transaction value2. Taking the transaction value as the £60 the shop reports, the fee is , so £2.10. Each approved affiliate order costs Wrenfield Home , so £5.70, plus its share of the £99.
The sale sits as pending for 30 days. The dinner set is not returned, so Callum's monthly approval run approves it, and the blog is paid. Had she sent it back, Callum would have declined it and nobody would have been paid.
The ways to pay a partner
Before choosing partners, it helps to know the menu of payment models, because each one moves the risk to a different side of the table.
| Model | You pay | Who carries the risk | Good for |
|---|---|---|---|
| Cost per sale (CPS), revenue share | A percentage of the sale value | Mostly the publisher | Content and review sites, creators with links |
| Cost per acquisition (CPA), fixed | A fixed amount per order, or per new customer | Mostly the publisher | Programmes that pay only for new customers |
| Cost per lead (CPL) | A fixed amount per sign up | Shared | Newsletter growth, high value products |
| Tenancy fee, placement fee | A flat fee for a slot, whatever happens | You | Newsletter features, homepage spots on large publishers |
| Hybrid | A smaller fee plus a commission | Shared | Creators, larger publishers |
Two refinements matter more than the headline rate.
Pay differently for new and existing customers. Most networks let you set a higher commission for first time customers and a lower one, or none, for people already in your customer list. This one setting lines the publisher's incentive up with what you actually want.
Treat flat fees as advertising, not affiliate. A tenancy fee is paid whether or not anyone buys. It is a media buy wearing an affiliate badge, and it should be judged like any other ad: on the incremental contribution it brings.
Example: three offers on Priya's desk
In one week Priya receives three offers.
- A home interiors blog wants 6% CPS on every sale.
- A cashback site wants £4 CPA per order, any customer.
- A large lifestyle newsletter offers a feature in its Sunday edition for a £500 tenancy fee plus 4% CPS.
On a £60 sale (excluding VAT) the blog costs pounds, the cashback site £4.00. The newsletter costs pounds per sale, plus the £500 whatever happens. If the feature brings 40 sales, the newsletter costs pounds, or per sale. If it brings 10, it costs pounds, or £52.40 per sale.
On price per sale alone the blog looks dearer than nothing and the cashback site looks like a bargain. That comparison is useless until Priya knows how many of each partner's sales were new. The rest of this chapter builds that number.
Networks: what they do and how they are paid
You can run an affiliate programme alone, but most shops start on a network, because it brings three things a shop cannot easily build: publishers already signed up, tracking that publishers trust, and one invoice instead of hundreds of small payments.
Well known names in the UK and continental Europe include Awin, CJ (formerly Commission Junction) and Partnerize, which sells partnership management software rather than running a classic network. Sub networks such as Skimlinks turn ordinary links on content sites into affiliate links automatically, and creator platforms such as LTK do the same for influencers. None of them is right for every shop. Compare them on the publishers they actually have in your category, the fees, the tracking options (including server to server tracking that does not rely on browser cookies alone), and how much control you keep over who joins.
One structural point deserves to be said plainly, because it shapes the advice you receive. Networks are mostly paid in proportion to what you spend through them: a percentage of each sale, or a percentage of the commission. The economists Benjamin Edelman and Wesley Brandi, in a study of affiliate programme management published in the Journal of Marketing Research in 2015, note exactly this: network fees are "largely a percentage of commissions paid", so their charges are best understood as proportional to the merchant's spending3. That is not dishonest. It simply means the network earns more from a big programme, whether or not that programme finds you new customers, and your interest and theirs only overlap where incrementality is high. The same study found that in house staff were better than outside specialists at spotting partners whose practices were "borderline" and against the merchant's interest3. Someone inside the shop should own the programme.
Example: what the network itself costs Wrenfield Home
At 300 approved orders a month at £60 each, the tracking fee is pounds, and with the £99 monthly fee the network costs pounds a month before a single publisher is paid. Commission at 6% adds pounds. The whole programme costs pounds a month, which matches the "about £1,800" on the dashboard.
The network's "twelve to one" is , sales including VAT divided by cost. It counts every tracked sale as if the programme caused it. Whether £1,809 a month is well spent depends entirely on how many of those 300 orders were new business.
Publisher types, and which ones bring new customers
"Affiliates" is not one channel. It is a bag holding very different businesses that happen to share a tracking method. What separates them is where in the customer's journey they meet your shopper. A partner who meets people before they have heard of you can create demand. A partner who meets people in the last minute before payment can only collect it.
| Publisher type | Where it meets the shopper | Likely to bring new customers? | Main risk |
|---|---|---|---|
| Content and review sites, buying guides | Early, while people research a purchase | Often | Old articles that keep earning on brand searches |
| Creators and influencers with links or codes | Early, in the feed, before a need is felt | Often, for a good fit | Disclosure, fit with your brand, codes leaking |
| Comparison shopping sites | Middle, while people compare prices | Sometimes | Paying for shoppers who already chose you |
| Newsletters and media partners | Early or middle | Sometimes | Flat fees with no link to results |
| Cashback and loyalty sites | Late, often after the basket is full | Rarely | Paying a share of your margin back to existing customers |
| Voucher code sites and deal communities | Very late, at the coupon box in checkout | Rarely | Code leakage, discounts on sales you already had |
| Publishers bidding on your brand name in search ads | At the moment of searching for you | Almost never | Taking credit for your own brand demand |
The last row deserves a word. Some affiliates buy search ads on your brand name, so that a person who typed "Wrenfield Home" clicks their ad, lands on your shop through their link and earns them a commission. Most programmes ban it in their terms, and yours should too, because that shopper was already looking for you.
"Rarely" does not mean "never use". A cashback site can win people who would otherwise have bought the same lamp elsewhere. But claimed sales and real contribution can be far apart, so these partners get different terms and closer measurement.
There is good evidence for why the late rows are weaker. In a large field experiment at eBay, Tom Blake, Chris Nosko and Steven Tadelis switched paid search ads off in some regions and found that ads on eBay's own brand name had no measurable short term benefit, and that for other keywords most of the spend went on frequent users whose purchases the ads did not change4. Their study is about search ads, not affiliates, but the mechanism is the same: when a channel meets people at the very moment they were going to buy anyway, it looks hugely profitable in last click reports and adds little in reality.
Example: Wrenfield Home's 300 orders by publisher type
Callum breaks the 300 monthly affiliate orders down by publisher type, using the publisher categories the network shows. He also counts, from the shop's own database, how many of each type's orders came from first time customers. Then he and Priya put an estimate of incrementality on each type. For now the estimates are judgements, informed by the new customer share and by where the publisher meets the shopper. The section on measuring incrementality shows how to replace them with evidence.
| Publisher type | Orders a month | First time customers | Estimated incrementality | Incremental orders |
|---|---|---|---|---|
| Content and review sites | 60 | 70% | 70% | 42 |
| Creators with links or codes | 40 | 75% | 60% | 24 |
| Cashback sites | 90 | 20% | 20% | 18 |
| Voucher code sites | 110 | 15% | 10% | 11 |
| All affiliate orders | 300 | 95 |
Each incremental figure is orders times incrementality: , , and . Together that is orders, about of what the dashboard claims.
The new customer column is the first warning. Across the whole shop, of orders come from first time customers. Content sites and creators sit above that average. Cashback and voucher sites sit far below it. Their buyers are mostly people who already knew the shop.
The cost of one new order, not of one tracked order
Once you have an estimate of incrementality, the most useful number in affiliate marketing falls out with one division: what you pay per order that would not otherwise have happened.
where is the cost per incremental order, is the commission rate, is the network's fee rate, is the commission base (the sale value the rates are applied to, here excluding VAT and delivery), and is the incrementality, the share of tracked orders that would not have happened without the partner. Dividing by spreads the cost of every tracked order over only the orders that were really added. It is a ratio, as explained in Foundations: ratios and rates.
Compare with what an extra order is worth to you: the contribution it leaves before marketing. If the cost per incremental order is below that, the partner adds profit. If it is above, every tracked sale loses you money, however good the dashboard looks.
Example: cost per incremental order at Wrenfield Home
Every tracked order costs pounds. Dividing by each type's incrementality:
- Content and review sites: , so £8.14 per incremental order.
- Creators: , so £9.50.
- Cashback sites: , so £28.50.
- Voucher code sites: , so £57.00.
An extra order leaves £19.86 of contribution before marketing. Content sites and creators cost well under that. Cashback costs about one and a half times it, voucher sites almost three times.
Split the programme in two and the picture is stark. Content sites and creators cost pounds a month and add pounds of contribution, a gain of pounds. Cashback and voucher sites cost pounds and add pounds, a loss of pounds. The programme as a whole roughly breaks even, pounds of incremental contribution against of cost, because one half pays for the other.
The highest commission each partner is worth
Turn the same formula around and it tells you the most you can pay a type of partner before it stops adding profit. Set the cost per incremental order equal to the value of an incremental order and solve for the commission rate:
where is the highest commission rate that still breaks even, is the incrementality, is the contribution one incremental order brings, is the commission base and is the network fee rate. Above , the partner costs more than it adds. The working is the same ratio arithmetic from Foundations: ratios and rates, rearranged.
For , the simple choice is the contribution of one order. The better choice, where the incremental buyers are mostly new customers, is their value over a year, because a new customer may come back. The series chapter on customer acquisition cost, payback and LTV to CAC shows how to work out that value from your own order history.
Example: the ceiling for each of Wrenfield Home's partner types
With , and :
- Content and review sites: , minus gives , so up to about 19.7% commission still breaks even.
- Creators: , minus gives , about 16.4%.
- Cashback sites: , minus gives , about 3.1%.
- Voucher code sites: , minus gives . Below zero: at this incrementality, the network fee alone costs more than the voucher sites add, so no commission rate breaks even.
Now refine for content sites, whose incremental buyers are mostly new. A new Wrenfield Home customer is worth about £28.76 of contribution in their first twelve months, the series' glossary figure. If 70% of the content sites' incremental orders come from new customers and 30% from existing ones, the value of an incremental order is pounds. The ceiling rises to , about 26.9%. Priya now knows she can offer content sites far more than 6% for new customers, and that she should offer cashback sites no more than about 3%, and only on new customers.
Voucher code leakage: when your own discount works against you
Voucher code leakage is what happens when a discount code you meant for one group, say newsletter subscribers or a creator's followers, ends up on public voucher code sites, where anyone can find it. It then does two kinds of damage at once.
The first is the discount itself. A shopper who would have paid full price now pays 10% less, so you lose 10% of the sale on an order you would have had anyway.
The second is the commission. Voucher sites are usually affiliates. When the shopper clicks through from the voucher site to copy the code, the click is tracked, and as the last affiliate click before the order, it wins the commission. So you pay the discount and the commission on an order that was already yours.
The trigger is often the checkout itself. A visible "discount code" box tells every buyer that a code exists, so some of them open a new tab and go looking for one. That shopper had a full basket and was about to pay. The basket and checkout chapter covers how to design the coupon field so it does not send people away, and the chapter on offers and promotions works through the maths of every kind of discount.
What helps:
- Single use codes. Generate a unique code for each subscriber or customer. A leaked single use code is useless to the next person.
- Unique codes per creator, tied to their follower audience, with a limit on uses, so a code found on a voucher site can be switched off without touching anyone else.
- Exclusive codes only by agreement. Let voucher sites list only codes you created for them, at a discount you chose, ideally limited to new customers.
- Commission rules for codes. In the network settings, decline or reduce commission on orders where the code used belongs to another programme, for example a newsletter code that a voucher site published.
- New customer only codes, checked against your own customer list at checkout, not just "first order on this email address".
Example: the leaked welcome code at Wrenfield Home
Wrenfield Home gives new newsletter subscribers a 10% welcome code. It was meant to be single use but was set up as one shared code, and it now sits on several voucher sites. Of the 110 voucher site orders a month, Callum finds the welcome code on almost all of them, and 85% of those buyers are existing customers.
Take one voucher site order, an average £72 order before the code. Excluding VAT it is £60, and the 10% code takes pounds off. The commission base falls to pounds, so commission is pounds and the network fee pounds. Together this order costs pounds more than the same order at full price with no partner. (Payment fees fall by a few pence on the smaller amount. I leave that out to keep the sums readable.)
Of the 110 orders, 11 are incremental and 99 would have happened anyway. On the 99, the shop simply loses pounds a month. On the 11 new orders, it gains what is left of the contribution: pounds each, pounds. Net, the voucher sites cost Wrenfield Home pounds a month, about £12,000 a year, while the dashboard shows them as the programme's biggest earner.
Measuring incrementality with your own numbers
So far the incrementality figures were estimates. Here is how to replace them with evidence. There are three methods, and they work best together: switch a partner off and see what changes, look at the behaviour behind each partner's orders in your own database, and ask the customers.
Switching a partner off, and the noise problem
The cleanest test of any channel is to take it away and measure what is lost. For a single affiliate, you can pause them for some weeks and compare total shop orders in paused weeks with active weeks, alternating so that seasonality does not decide the result. The article on five ways to prove a campaign actually worked covers the designs, and the chapter on experiments inside your own shop shows how to run holdouts properly.
The trouble is size. One affiliate is usually a small share of a shop's orders, while weekly orders wobble by much more than that share. Before running the test, check whether it can detect anything at all. The uncertainty of the difference between the average of the active weeks and the average of the paused weeks is its standard error:
where is the standard error of the difference, is the standard deviation of weekly orders (how much a normal week moves around its average), is the number of active weeks and the number of paused weeks. A difference smaller than about cannot be told apart from noise at the usual 95% level. Foundations: confidence intervals explains why.
Example: can Wrenfield Home test its cashback site by switching it off?
Wrenfield Home takes about orders a week, and the cashback site is credited with about of them. Callum checks last year's weekly orders, outside the Christmas peak, and finds a standard deviation of about 25 orders. With six active and six paused weeks:
The difference has to exceed orders a week to stand out. But even if every one of the cashback site's 21 orders were incremental, switching it off could only remove 21 a week. The test cannot answer the question, whatever the result. Callum needs a sharper method.
Reading the behaviour behind each partner's orders
Your shop's own database knows things the network does not: when the basket was created, whether the customer had ordered before, and how long passed between the partner click and the order. A handful of signals separate "found us through the partner" from "came back to the partner to collect":
- The click came after the basket. If the shopper had already put items in the basket before clicking the partner link, they had chosen you before the partner appeared.
- The click came minutes before payment. A cashback or voucher click two minutes before the order is a detour from the checkout, not a discovery.
- The buyer is an existing customer. Not proof of zero incrementality, but a strong hint.
- The order arrived through brand search or direct before the click, if your own server side records show the earlier visit.
This needs your own records of partner clicks and orders, which is the reason to keep them in the shop's database and not only at the network. The tracking chapter on the shop database as the source of truth sets out why. The code in the next section shows how to store them.
Example: the cashback orders seen from the inside
Callum runs a query over three months of cashback orders, 270 in all, against the shop's own basket and partner click records. The query, against the tables built in the next section, looks like this:
SELECT
a.partner_type,
COUNT(*) AS orders,
AVG(CASE WHEN a.new_customer THEN 1.0 ELSE 0.0 END) AS new_customer_share,
AVG(CASE WHEN a.clicked_at > o.created_at THEN 1.0 ELSE 0.0 END) AS click_after_basket,
AVG(CASE WHEN o.completed_at - a.clicked_at < INTERVAL '15 minutes'
THEN 1.0 ELSE 0.0 END) AS click_within_15_min
FROM partner_attributions a
JOIN spree_orders o ON o.id = a.order_id
WHERE o.completed_at >= NOW() - INTERVAL '3 months'
GROUP BY a.partner_type
ORDER BY orders DESC;
In Solidus, an order row is created when the first item goes into the basket, so created_at on the order is a fair stand in for "basket created". The query counts, for each partner type, the share of new customers, the share of orders where the partner click came after the basket existed, and the share where it came less than 15 minutes before the order was completed.
For cashback, 70% of the orders had the click after the basket was created, and most of those within 15 minutes of payment. Only 20% were new customers. Those 70% of orders were almost certainly decided before the cashback site appeared. That leaves 30% of orders that could have been influenced, and the 20% incrementality estimate now rests on evidence, not on a guess. For content sites, the click came after the basket in only 6% of orders. Their estimate of 70% stands.
Asking the customer
The simplest signal of all is one question after the order: "How did you first hear about us?" with a short list of answers and a free text box. Answers are imperfect, because people forget, but when a publisher's buyers mostly answer "I already knew you" while the network credits that publisher with the sale, you have learned something no tracking will show you.
Tracking codes and attribution in your own shop
Network tracking tells the network who to pay. It does not tell you what you need to manage the programme: new against existing customers, the timing of the click against the basket, codes used, and how affiliate orders overlap with your other channels. For that, record every partner touch in the shop's own database as well.
UTM parameters for your analytics
Add campaign parameters to every partner link, so your analytics tool groups the visits correctly. In Google Analytics 4 (GA4), the default channel group puts a session into the "Affiliates" channel when its medium is exactly affiliate5, so the tracking link for each partner should carry utm_source (the partner), utm_medium=affiliate and, if useful, utm_campaign. Google's own URL builder explains each parameter6. For creators, use the same convention with a separate source per creator, so you can compare them with each other.
Recording partner touches in Rails and Solidus
On a shop built on Ruby on Rails and Solidus, three small pieces record each partner touch next to the order it belongs to. First, a column on the order to hold the touch:
# db/migrate/20270301090000_add_partner_touch_to_spree_orders.rb
class AddPartnerTouchToSpreeOrders < ActiveRecord::Migration[8.0]
def change
add_column :spree_orders, :partner_touch, :jsonb
end
end
Second, a controller concern that keeps the partner and click ID from the link, but only when the shopper has agreed to marketing cookies, and copies it onto the basket once there is one. marketing_consent? stands for the shop's own consent check, whatever banner it uses.
# app/controllers/concerns/partner_touch_capture.rb
module PartnerTouchCapture
extend ActiveSupport::Concern
included do
before_action :capture_partner_touch
end
private
def capture_partner_touch
return unless marketing_consent?
if params[:partner].present?
session[:partner_touch] = {
"partner" => params[:partner].to_s.first(40),
"click_id" => params[:click_id].to_s.first(100),
"clicked_at" => Time.current.iso8601
}
end
touch = session[:partner_touch]
order = current_order
order.update_column(:partner_touch, touch) if touch && order && !order.completed?
end
end
Third, a subscriber on the Solidus event bus. Solidus publishes an order_finalized event when an order is completed, and the Solidus guides show how to subscribe to it with a class that includes Omnes::Subscriber and reads the order from event.payload[:order]7. The subscriber writes one attribution row per partner order:
# app/subscribers/shop/partner_attribution_subscriber.rb
module Shop
class PartnerAttributionSubscriber
include Omnes::Subscriber
handle :order_finalized,
with: :record_partner_touch,
id: :shop_record_partner_touch
def record_partner_touch(event)
order = event.payload[:order]
touch = order.partner_touch
return if touch.blank?
returning = Spree::Order.complete
.where(email: order.email)
.where.not(id: order.id)
.exists?
PartnerAttribution.create!(
order: order,
partner: touch["partner"],
partner_type: PartnerDirectory.type_for(touch["partner"]),
click_id: touch["click_id"],
clicked_at: touch["clicked_at"],
new_customer: !returning,
item_total: order.item_total,
promo_total: order.promo_total
)
end
end
end
# config/initializers/partner_attribution.rb
Rails.application.config.to_prepare do
Shop::PartnerAttributionSubscriber.new.subscribe_to(Spree::Bus)
end
PartnerAttribution is an ordinary Rails model with a table of these fields, and PartnerDirectory is a small lookup of each partner and its type (content, creator, cashback, voucher). "Returning" means an earlier completed order with the same email address, good enough for the analysis even if a few people use two addresses. Because the touch is only kept with consent, the analysis covers the consenting part of the traffic, which is enough to compare partner types with each other.
The monthly approval run then reads from the same records: decline returned sales, and decline or reduce commission where the terms say so. With every rule written as tested code, the approval list comes out the same every month, whoever runs it.
Example: two channels, one order
A shopper clicks a Wrenfield Home Google Shopping ad on Monday, fills a basket, leaves, and on Wednesday clicks a cashback link two minutes before paying. Google Ads counts the conversion, the network credits the cashback site, and the shop has one £72 order claimed twice. Callum's attribution row shows the cashback click came after the basket was created, so the order goes into the "decided before the partner" group. The chapter on attribution for online shops covers how to settle such double claims across all channels.
Influencer and creator deals
Working with creators is affiliate marketing with a face. The partner is a person, the audience follows that person, and the content is the advertising. That makes creators the strongest partners at the start of the journey, when people have no need yet and a trusted recommendation creates one, and the hardest to price.
There are five common deal structures:
- Gifting. You send a product, the creator may or may not post. Low cost to try (and legally still advertising when a post follows, see the next section).
- Flat fee. You pay for agreed content: one video, three stories. You carry all the risk.
- Commission only. The creator earns a share of sales through their link or code. They carry the risk, so good creators often decline it.
- Hybrid. A smaller fee plus commission. The most common fair middle.
- Ambassador retainer. A monthly fee for regular content over months, often with exclusivity.
Usage rights: who may use the content, where, and for how long
The content a creator makes for you belongs to the creator unless the contract says otherwise. If you want to use it beyond their own post, for example on your product pages, in your newsletter or as a paid ad, you need usage rights: what you may use, in which channels, in which countries, for how long, and whether you may edit it.
Paid usage has its own form on Meta's platforms. With partnership ads, a brand runs an ad from a creator's content that shows the creator's handle, and the creator gives permission either account wide or, for one off deals, with an ad code that covers only the chosen posts8. Paid usage is worth a separate fee, because the creator's face is now carrying your ad to people who do not follow them. Judge that part like any other ad, on its incremental return. The chapter on Meta and TikTok ads for online shops covers how.
Pricing a creator deal before you sign
Write down what you expect, then do the sum before anyone films anything. The value of a deal is the contribution of the orders it adds, minus the variable cost of every order it touches, minus the fixed costs:
where is the net value of the deal, is the number of orders through the creator's link or code, is the incrementality of those orders, is the value of one incremental order, is the discount per order the creator's code gives (excluding VAT), is the commission rate, is the commission base after the discount, and is the fixed cost: fee, gifted products at cost, and paid usage if bought. The variable costs are charged on all orders, because the discount and commission are paid whether or not the order was new. Setting and solving for gives the incrementality the deal needs to break even: . This is expected value from Foundations, applied to one deal.
Example: a Leeds interiors creator
Priya wants to work with a Leeds interiors creator whose followers fit Wrenfield Home well. The offer: a fee of £600 for one video and three stories, a gifted lamp, an 8% commission on orders through her link, and a personal code giving her followers 10% off. Priya expects 70 orders over a month, with 80% new customers and an incrementality of 75%.
Work through each part:
- Value of an incremental order. With 80% new customers worth £28.76 in their first year and 20% existing ones worth £19.86 per order: pounds.
- Value added. pounds.
- Variable cost per order. On a £60 order excluding VAT, the code gives pounds off, and commission is pounds, together pounds. Over 70 orders: pounds.
- Fixed cost. The lamp retails at £85 including VAT, excluding VAT, and costs Wrenfield Home 48% of that, pounds. With the fee: pounds.
- Net value. pounds.
- Break even incrementality. .
The deal adds about £60 if Priya's expectations hold, and it needs 72% of the creator's orders to be new business just to break even. That is a thin margin of safety. Two changes widen it: replace the 10% code with free delivery on the first order, which costs less on a £72 basket than £6, or pay a lower fee with a higher commission on new customers only. Priya chooses the second: £350 plus 12% on first orders and nothing on repeat customers. Paid usage, if the video works, she will buy separately and judge against her Meta ad results.
The law on labelling ads, affiliate links and creator posts
All four markets this series covers require the same thing at heart: when content is advertising, the audience must be able to tell at once. A creator's post you paid for, gifted, or earn commission from is advertising. So is an affiliate article on a content site. The rules below are for the UK, and both the creator and the brand are responsible. This is general information and not legal advice. For a real case, ask a solicitor.
The CAP Code. The UK advertising code, enforced by the Advertising Standards Authority (ASA), requires marketing communications to be "obviously identifiable as such" (rule 2.1), forbids implying that a marketer is acting as a consumer (rule 2.3), and requires advertorials to be clearly marked as advertising (rule 2.4)9.
The Digital Markets, Competition and Consumers Act 2024 (DMCC Act). Schedule 20 lists commercial practices that are banned in all circumstances. Paragraph 12 bans using editorial content to promote a product the trader paid for without making that clear. Paragraph 13 bans fake consumer reviews and reviews that conceal that they were incentivised. Paragraph 25 bans falsely presenting yourself as a consumer or as not acting for business purposes10. The Competition and Markets Authority (CMA) can now enforce consumer law directly, with penalties of up to 10% of a business's global turnover or £300,000, whichever is greater11.
The joint influencer guide. The ASA, the Committee of Advertising Practice (CAP) and the CMA published a new edition of their "Influencers' guide to making clear that ads are ads" in October 202612. Its main points for a shop:
- Any incentive counts as payment: money, free products, loans, an exclusive discount, a commission. It must be disclosed even if the creator was not obliged to post.
- Affiliate links and discount codes that earn the creator money are advertising, including links through networks such as Awin, and both the creator and the brand are responsible for compliance.
- The recommended labels are "Ad", "Advert", "Advertising", "Advertisement" or "Advertisement feature", placed upfront, visible before anyone clicks or expands. "Sponsored", "Spon" and "Sp" are advised against, as are "Gifted", "Collab", "Aff" and "Afflink" on their own.
- Disclosure continues through the relationship and, in relevant content, for 12 months after it ends.
- Paid content must reflect the creator's genuine experience. A review not based on real use is a fake review.
The CMA's own guidance for content creators adds that tagging a brand, using a discount code or posting an affiliate link is not enough to make the commercial relationship clear, and that the platform's built in label only counts where it is clear and upfront13.
What this means for you as the brand: put the disclosure duty in every contract, check posts before or straight after they go live, and do not use your right to approve content as a way around it. The guide is explicit that a brand's control over content, including reserving the right to approve it, is part of what makes it an ad12. Content sites need the same care: an article with affiliate links must make clear which parts are advertising.
Example: three draft posts for Wrenfield Home
Callum checks three drafts against the guide before they go out.
- The Leeds creator's video starts with "I've been using these lamps for a month, thanks Wrenfield!" and ends with a discount code. Not enough. "Thanks" and a code are not a label. Fix: "Ad" in the first line of the caption and as a clear overlay at the start of the video, plus the platform's paid partnership label.
- A home blog's "Ten best dinner sets" article links three Wrenfield Home sets with affiliate links among seven unlinked products from other shops. Not enough with only a disclaimer at the foot of the page. Fix: a clear "Ad" or "Advertising" label at the top, and the affiliate linked products marked so readers can tell them apart from the editorial picks.
- A creator who received a gifted vase posts it with "#gifted". Not enough in the UK, where the guide advises against "Gifted" alone. Fix: "Ad", because a free product is a payment.
Contracts: what to put in writing
A good partner agreement saves arguments and protects you legally, because you share responsibility for what your partners publish. For affiliates, most of it lives in the programme terms on the network. For creators, it is a short contract per deal. Either way, these points belong in it:
| Clause | What it says | Why it matters |
|---|---|---|
| Deliverables | What content, how many pieces, on which platforms, by when | A flat fee needs a clear counterpart |
| Disclosure | The label to use, where it goes, for how long, and the creator's duty to follow the current guidance | You share responsibility for missing labels |
| Genuine experience | The creator uses the product before reviewing it, and says nothing they do not believe | Fake reviews are banned outright |
| Approval | Whether you review content before posting, and what you may ask to change | Approval is control, so the content is clearly an ad |
| Usage rights | Channels, territories, duration, editing, paid usage and its fee | Content belongs to the creator unless licensed |
| Commission | Rate, base (excluding VAT and delivery), new and existing customers, validation period, declined orders | Avoids disputes at payout |
| Codes | Code owner, uses, expiry, ban on posting codes to voucher sites | Stops leakage |
| Forbidden methods | Bidding on your brand name, cookie stuffing, misleading claims, spam | Protects the programme from fraud |
| Data protection | Who processes which personal data, and on what basis | Required by UK GDPR where data is shared |
| Termination | Notice, what happens to live content and pending commission | A clean exit |
Two of the forbidden methods need explaining. Cookie stuffing is a publisher dropping their tracking cookie on a shopper's device without a real click, for example through an invisible element on a page, so that they are credited with later sales they did nothing for. Edelman and Brandi describe it, alongside typosquatting, registering misspelt versions of your domain to catch shoppers who mistype it, as classic affiliate fraud3. Both are reasons to keep an eye on the click to order timing in your own data.
Example: Wrenfield Home's one page partner terms
After the analysis, Priya rewrites the programme terms. Content and review sites: 10% on first orders, 4% on repeat customers, 30 day window. Creators: individual contracts, hybrid deals, unique codes with a cap of 200 uses. Cashback sites: 3% on first orders only, nothing when the click comes after the basket was created. Voucher sites: only exclusive codes created for them, first order only, 3%. Brand bidding is banned. Returned orders are declined. Disclosure follows the current ASA, CAP and CMA guide, with a link to it in the terms.
Three months later, the shop's own attribution table shows 210 affiliate orders a month instead of 300, of which about 90 are incremental. The programme costs about £1,000 a month instead of £1,809. The dashboard's ratio fell. The contribution it adds rose.
A routine for evaluating any partner
Every new partner application, every creator pitch and every renewal can go through the same short routine. It keeps the decision about money, not about the size of someone's audience.
Example: a cashback site applies, and a podcast pitches
In the same week, a large cashback site applies to Wrenfield Home's programme and a homes and gardens podcast pitches a sponsored episode.
The cashback site meets shoppers late, so it goes down the first branch. Priya offers 3% on first orders only, nothing when the click follows the basket, and an exclusive code she controls. The site accepts. If it declines, she loses little, because most of its orders would have reached her anyway.
The podcast meets listeners early and labels its past sponsored episodes clearly, so it passes the fit and disclosure check. It asks £800 for one read with a unique 10% code. Priya expects 50 orders, 85% new, at 80% incrementality. With the deal formula and no commission: pounds, value added pounds, discounts pounds, net pounds. Break even needs . No room to spare, so she renegotiates to £450 plus 10% on first orders, and will judge it on the code's orders and new customer share in her own data after three months.
Partners are worth paying for what they add
Affiliates and influencers are neither a free lunch nor a scam. They are a payment model, and the payment model hides the question that matters, because a sale "through" a partner and a sale "because of" a partner look identical on a dashboard. Content sites and creators who meet people before they have chosen you can be among the best value channels a shop has, worth commissions far above what most programmes pay. Cashback and voucher sites that meet people at the coupon box are mostly a cost of doing business, and they belong on low commission, new customer only terms with codes you control.
The routine is short. Record every partner touch in your own database, with consent. Split partners by where they meet the shopper. Estimate incrementality from new customer share and click timing, and turn it into a cost per incremental order and a ceiling commission. Write disclosure and code rules into every deal, and review every quarter. I build shops on Ruby on Rails and Solidus, where the attribution records in this chapter are a few files in code the shop owns, and I run performance marketing for clients on the same principle: pay for what a channel adds, not for what it claims. The next step is to put the partner channel next to all the others and split the whole budget by marginal return, which the chapter on allocating an eCommerce ad budget does.