A weekly measurement pipeline that compares campaign-exposed customers with a held-out control group to calculate lift and incremental return on ad spend, rebuilt to run in a fraction of the time.
Spending on a campaign is easy to measure. Knowing what the campaign caused is harder. Customers in the test group are exposed to the campaign; customers in the control group are deliberately held out. The business needed to compare the two and turn the difference into trustworthy numbers, above all lift and incremental return on ad spend (iROAS).
Measurement runs every week, reported on a weekly basis and month to date. The first version of the pipeline took 14 hours to run. A pipeline that slow limits how often results can be refreshed, makes reruns painful and pushes reporting later and later.
Lift and iROAS come from comparing the exposed test group with the held-out control group.
Parallel tasks in Airflow and a tuned PySpark workload cut the run from 14 hours to 3.
We built a data-driven pipeline that compares the test and control groups and calculates the key metrics for campaign performance. Lift shows how much better the exposed customers did than the control group. iROAS is the headline: the revenue the campaign added beyond what the control group generated, set against what was spent.
The runtime fell from 14 hours to 3, roughly 79% shorter, through two changes working together.
Measurement results are calculated every week, with weekly and month-to-date views, at multiple levels of the customer hierarchy. Analysts consume them in Tableau dashboards and Excel reports. A data analytics team of three kept those reports current; we led that team and made sure it had what it needed to stay on track.
Beyond the core pipeline, we implemented several business initiatives on top of the measurement framework as new questions came up from the marketing organization.
Tell us what you are building and we will say plainly whether and how we can help.
Start a conversation