Promotion Effectiveness Toolkit: Uplift, Cannibalization, and Halo
Welcome to the Sherlock Promotion Effectiveness Toolkit!
Built by Trailblazer Labs, this toolkit equips marketers, analysts, and data scientists with practical tools to dissect promotion ROI. It focuses on three core effects:
Uplift: Incremental lift from the promo (true added value).
Cannibalization: Negative spillover (promo steals from your own products).
Net Promotion Lift = Uplift - Cannibalization + Halo
The toolkit is modular, scalable, and ready-to-use: Excel templates, SQL/Python snippets, checklists, and dashboard blueprints. Assumes access to sales data (e.g., store-product-day granularity). Downloadable assets are described with copy-paste code/templates.
1. Data Foundation
Minimum Data Requirements (daily/store/product level):
Field
Description
Example
Date
Promo period
2023-10-01
Store_ID
Geo-unit for controls
Store_123
Product_ID
SKU-level
Prod_A
Units_Sold
Sales volume
150
Revenue
$ Sales
$2,500
Promo_Flag
Binary (1 = promo active)
1
Promo_Type
Discount %, BOGO, etc.
20% off
Control_Store_ID
Matched non-promo store
Store_456
Prep Checklist:
Clean data (handle missing, outliers).
Build baseline (e.g., avg. non-promo weeks).
Match controls (e.g., synthetic controls via propensity score).
SQL Snippet for Data Prep (BigQuery/Snowflake/Postgres):
sql
WITH promo_data AS (
SELECT Date, Store_ID, Product_ID, Units_Sold, Promo_Flag,
LAG(AVG(Units_Sold) OVER (PARTITION BY Store_ID, Product_ID ORDER BY Date ROWS 4 PRECEDING)) AS Baseline
FROM sales_table
WHERE Date BETWEEN '2023-10-01' AND '2023-10-31'
)
SELECT * FROM promo_data WHERE Promo_Flag = 1;
2. Uplift Measurement
Definition: % increase in sales attributable to promo (Promo Sales - Expected Baseline). Goal: Avoid "all sales are promo-driven" fallacy.
Col A: Date | B: Store | C: Units_Promo | D: Units_Control
E2: =AVERAGEIF(B:B,"Control",C:C) (Baseline)
F2: =(C2-E2)/E2 (Uplift %)
Python Snippet (pandas + statsmodels for DiD):
python
import pandas as pd
from statsmodels.formula.api import ols
df['Treatment'] = df['Promo_Flag']
df['Post'] = (df['Date'] >= '2023-10-01').astype(int)
df['Interact'] = df['Treatment'] * df['Post']
model = ols('Units_Sold ~ Treatment + Post + Interact', data=df).fit()
uplift = model.params['Interact'] # Incremental units
print(f"Uplift: {uplift:.2%}")
Example: Promo drives 150 units vs. 100 baseline → 50% uplift.
3. Cannibalization Measurement
Definition: % sales loss on non-promoted products/SKUs due to promo cannibalism. Goal: Quantify intra-brand theft (e.g., 20% off Coke → fewer full-price Pepsi sales).
Method: Paired Comparison
Compare cannibalized product sales in promo-exposed stores vs. non-exposed controls.
SELECT
p.Product_ID AS Cannib_Prod,
AVG(CASE WHEN s.Promo_Flag=1 THEN units_sold END) AS Exposed_Sales,
AVG(CASE WHEN s.Promo_Flag=0 THEN units_sold END) AS Control_Sales,
(Control_Sales - Exposed_Sales)/Control_Sales * 100 AS Cannib_Pct
FROM sales s
JOIN products p ON s.Product_ID = p.Related_To_Promo_Prod
GROUP BY p.Product_ID;
Similar to Cannib, but flag positives: =IF(E2>0, E2, 0)
Bonus: Heatmap pivot (Insert > PivotChart).
SQL Snippet:
sql
-- Same as Cannib, but filter related non-promo
SELECT
p.Product_ID AS Halo_Prod,
AVG(CASE WHEN s.Promo_Flag=1 THEN units_sold END) AS Exposed_Sales,
AVG(CASE WHEN s.Promo_Flag=0 THEN units_sold END) AS Control_Sales,
(Exposed_Sales - Control_Sales)/Control_Sales * 100 AS Halo_Pct
FROM sales s
JOIN product_halo_map p ON s.Product_ID = p.Halo_Prod -- Pre-define halo pairs
WHERE s.Promo_Flag ON Related_Prod = 0
GROUP BY p.Product_ID HAVING Halo_Pct > 0;