Test Store Selection: how to choose stores for retail media experiments
Choosing test stores is not a hunt for locations that “look average.” It is the construction of an experiment.
The real question is: which stores can create a fair, operationally feasible comparison between media exposure and no exposure? That requires a defined store universe, a clear assignment unit, enough independent stores, balance on variables that predict the outcome, and a frozen plan before the campaign begins.
If those choices are made after results are visible, the analysis becomes vulnerable to cherry-picking. If they are made before launch, the experiment can estimate whether the campaign changed sales or shopper behavior rather than merely appearing beside a change.
Start with the decision, not the map
Before selecting a location, define the business decision the test must inform. Is the next action to scale an in-store screen format, change the store mix, revise creative, or stop investing? Then define one primary outcome that connects to that decision: promoted-SKU units, category sales, new-to-brand buyers, basket incidence, or another pre-agreed measure.
The IAB and IAB Europe incrementality guidance centers credible counterfactuals, bias control and separation of signal from noise.[1] Test-store selection is where those principles become operational. The control stores must represent what would plausibly have happened to the test stores without the media.
Choose the unit that can actually be controlled
A store-level experiment assigns the whole store to treatment or control. That is appropriate when media is installed, scheduled or sold by location and shoppers can encounter the treatment throughout the store.
Do not pretend the unit is an individual shopper if exposure is shared at store level. Transactions inside one store are correlated because they share assortment, staff, local demand, pricing and operations. Cluster-randomized trial guidance treats the cluster, not every observation within it, as the independent assignment unit.[3]
Sometimes the correct unit is larger than one store. Nearby stores may share shoppers, local advertising or management decisions. A market, region or store group may be safer when spillover would erase the contrast between test and control. Google’s geo-experiment work similarly uses non-overlapping geographic units assigned to treatment and control.[4]
Build the eligible store frame
Create the list of stores that could honestly receive either condition. Exclude locations before randomization when they have a documented reason to be ineligible, such as:
- missing or unreliable sales and exposure data;
- a planned closure, refit or major format change;
- no compliant place to install or deliver the media;
- a materially different assortment or distribution model;
- a known local event that makes the campaign period incomparable;
- persistent stock problems for the promoted products;
- unavoidable exposure to another campaign that targets the same outcome.
The exclusion rule must apply without looking at campaign results. “This store performed badly, so remove it” is not an operational rule. It is outcome-driven selection.
Keep an exclusion log with the reason, date and owner. The eligible frame is part of the evidence, not a temporary planning sheet.
Select variables that predict the outcome
Good balance is not visual symmetry. It is similarity on factors that predict what would happen without treatment.
For a grocery campaign, useful pre-period variables may include:
- baseline sales and units for the promoted SKU and category;
- store size, format and trading hours;
- transaction count and average basket value;
- price and promotion history;
- local category penetration;
- availability and assortment breadth;
- geography or catchment type;
- pre-period trend and volatility.
Choose a short list before assignment. Do not match on dozens of weak variables merely because they are available. Prioritize the outcome history and the operational conditions most likely to drive it.
Block first, then randomize
Pure randomization can produce imbalanced groups when the store count is modest. Blocking improves the odds of a useful comparison.
One practical method is to group stores into pairs or small blocks using pre-period outcome, format and region, then randomize treatment within each block. Randomization remains the causal protection; blocking makes the allocation more precise and commercially legible.
Pairing here is a blocking device, not observational matching. The analysis and uncertainty calculation should respect the paired or blocked assignment scheme rather than treating the allocation as an unstructured sample.
Record the random seed, code or draw process. Freeze the assignment before media installation. If an assigned test store cannot launch, follow a pre-written replacement or analysis rule rather than quietly swapping it for a convenient control.
Randomized experiments support causal estimation because assignment is independent of potential outcomes in expectation.[2] That protection weakens when teams override the draw after learning which stores landed in each group.
Power depends on independent stores
Millions of receipts do not compensate for too few stores. When treatment is assigned by store, the effective information depends heavily on the number of stores, variation between stores, correlation within stores and the expected effect size.[3]
A power assessment should state:
- the primary outcome;
- the number of eligible stores;
- the historical variance and pre-period correlation;
- the expected test duration;
- the smallest effect worth detecting;
- expected data loss, launch failure or contamination.
Do not reverse-engineer a minimum detectable effect to make a small plan look adequate. If the test can only detect a change larger than the business would act on, add independent stores where possible. Additional pre-period or campaign weeks can improve precision only when the outcome cadence, carryover assumptions and repeated-measures model justify them; they do not create new independent treatment assignments.
Worked power and MDE example
Assume, purely for illustration, that 48 eligible stores will be randomized 24:24. Historical store-week outcome averages have a mean of 100 units and a between-store standard deviation of 20 units. The pre-period outcome has a 0.70 correlation with the campaign-period outcome, four stores are expected to be lost, the test uses a two-sided 5% significance level, and target power is 80%.
After expected loss, the planning calculation has 22 stores per arm. A simple cluster-level ANCOVA approximation is:
MDE = (1.96 + 0.84) × 20 × √(1/22 + 1/22) × √(1 − 0.70²) = 12.1 units, or about 12.1% of the 100-unit baseline.
This is not a universal store-count formula. A production design should simulate the actual blocked assignment and longitudinal estimator from historical store data, including unequal store sizes, observed autocorrelation, treatment heterogeneity, contamination and missingness. The decision rule is commercial: if 48 stores provide about 80% power only for a 12.1% lift while the business would act on 5%, expand the store frame or classify the study as exploratory rather than calling a null result evidence of no effect.
Test operational readiness before launch
A statistically elegant design can fail operationally. Confirm that treatment stores can deliver the planned media, control stores will remain untreated, product availability is sufficient, prices and promotions are recorded, and device uptime or verified impression delivery can be linked to the outcome period.
Run a dry check of the data pipeline using the pre-period. Can every assigned store be found? Are time zones, trading weeks and SKU mappings consistent? Are returns, canceled transactions and store openings handled the same way in both groups?
Contamination is an adjacent issue, not a reason to abandon design. It occurs when control units receive treatment or when treatment units receive materially different exposure from the plan. The selection rule is to choose units and boundaries that make treatment contrast plausible, then monitor whether that boundary held.
An illustrative selection workflow
Suppose a retailer has the illustrative 48-store pool used in the power example after removing stores with unreliable data, planned refits and unavailable campaign inventory. The team ranks outcome history, format and region as the strongest predictors.
It creates blocks of comparable stores, randomizes one store in each pair to treatment, freezes the allocation and records the draw. The primary outcome is category units per store-week, with promoted-SKU units and basket incidence as secondary outcomes. The analysis plan specifies how to handle a failed screen, an unexpected stockout and a store that receives conflicting media.
The point is not that paired randomization is always best. The point is that eligibility, balance, assignment and exceptions are decided before outcomes can influence them.
Test-store selection checklist
Before launch, confirm that:
- the business decision and primary outcome are explicit;
- the assignment unit matches how exposure is delivered;
- the eligible store frame is complete and versioned;
- exclusions are operational, documented and outcome-blind;
- blocking variables were chosen for predictive value;
- assignment was randomized and reproducible;
- the design has useful power for the decision;
- treatment and control can remain operationally distinct;
- launch failures, stockouts and missing data have pre-written rules;
- the analysis plan and assignment are frozen before exposure.
FAQ
How many test stores are enough?
There is no universal number. It depends on store-level variance, within-store correlation, test duration, expected effect and the smallest effect that would change a decision. Calculate power from historical store data rather than applying a generic rule.
Should test stores be the retailer’s most representative stores?
Not necessarily. They should come from the population to which the result will be generalized and be eligible for either treatment or control. A deliberately narrow but valid frame is better than a broad frame with incompatible stores.
Can we choose the best-performing stores for treatment?
That creates systematic bias because treatment status is linked to expected performance. If priority stores must receive media for commercial reasons, do not describe the resulting comparison as randomized.
What if a treatment store fails to launch?
Keep the original randomized assignment in the primary intention-to-treat analysis.[5] Add a separately labeled treatment-on-treated or delivery analysis only when its assumptions and noncompliance method are specified. Do not silently replace or delete the store after seeing outcomes.
When should we use store matching instead?
Use matching when random assignment is genuinely impossible and the available pre-period data can support a credible observational comparison. A matched-store design selects or weights untreated stores to approximate what the fixed treatment stores would have done without the campaign, while making its observational assumptions explicit.
Bottom line
Test-store selection creates the experiment’s counterfactual before media starts. Define the decision, choose the controllable unit, build an eligible frame, block on outcome-relevant variables, randomize transparently and freeze exceptions in advance.
The strongest-looking stores are not automatically the strongest test. The strongest test is the one whose assignment process makes the untreated outcome believable.
Sources
[1] IAB and IAB Europe, Guidelines for Incremental Measurement in Commerce Media.
[2] Susan Athey and Guido W. Imbens, The Econometrics of Randomized Experiments, arXiv:1607.00698.
[3] Karla Hemming and Monica Taljaard, Key considerations for designing, conducting and analysing a cluster randomized trial, International Journal of Epidemiology, DOI 10.1093/ije/dyad064.
[4] Google Research, Measuring Ad Effectiveness Using Geo Experiments.
[5] CONSORT, CONSORT 2010 Statement: extension to cluster randomised trials.
Ready to see how this works in practice?
Footprints AI helps brands and retailers measure what matters. See our customer success stories or get in touch to discuss your retail media strategy.



