Referral codes tell you which orders used the offer. To learn whether invitations led to more first orders, compare people who received the invitation with a comparable group that could have received it. Keep the dates, available products and outcome the same.
AI-generated illustration of comparing two same-window customer groups.
Decide what can be counted in both groups
Suppose a co-op partners with a local craft club that wants to refer its members. Two hundred eligible club members agree to take part, and the co-op can recognize their first orders through existing checkout accounts in either group. It randomly sends the club’s referral invitation to 100 now and delays the other 100 by 14 days. Over the first 14 days, it counts each person once if they place a first completed order. This estimates the effect of the invitation within that club. A general referral campaign that cannot reliably connect likely recipients to orders in both groups needs a different design. HM Treasury evaluation methods
AI-generated illustration of keeping group outcomes and code use as separate records.
Keep the invitation and the outcome separate
In this fictional test, 12 invited subscribers order and six delayed-invitation subscribers order. Rates are 12 of 100 and six of 100. The observed difference is six percentage points. Only eight invited orders used the code. Report both figures. Actual code use depends on what customers enter and an observed difference in a group this small can fluctuate.
Save an internal report with the eligibility rule, assigned groups, start and end dates, completion rule and any known crossover. Leave the denominator as everyone originally assigned to each group. If an invitation gets shared broadly, note that some delayed contacts may have seen it. If you only have a code-use report, report attributed orders and leave incremental orders unknown.