Sub topic 13
Measuring consent rate, data quality and incremental lift
This chapter assumes you know what first-party and zero-party data are, how consent and purposes work, and how a CRM, CDP or warehouse stores customer records. It also assumes you have built consent-aware segments, as in the activation chapter. Here you learn how to tell whether the program works. You will measure three things: whether people agree to share data, whether the data is usable, and whether using it changes business results.
Why three families of measures
A data program can fail in three separate ways, and each needs its own measure.
- Customers may not opt in. You have little data, and what you have may be biased toward your most loyal customers. This is a consent problem.
- Customers may opt in, but the records are empty, stale, duplicated or wrong. This is a quality problem.
- The data may be clean and plentiful, yet personalization does not change what customers do. This is a value problem.
Measuring only one family hides the others. A high consent rate with poor completeness means the form collects permission but no useful fields. High completeness with no lift means you are keeping data you cannot turn into results.
Consent measures
Consent rate
Consent rate is the share of people shown a consent request who grant it. Define it per purpose, because a customer may agree to email marketing and decline personalization.
consent rate = people who granted a purpose ÷ people who were shown the request for that purpose
The denominator matters. Use people who were actually shown the request, not all visitors. Visitors who never saw the banner (for example, because it failed to load) would otherwise deflate the rate and mislead you about the design.
Break the rate down by:
- Purpose: email marketing, personalization, analytics, advertising.
- Channel and placement: web banner, checkout, app first launch, in-store sign-up, preference center.
- Segment: new versus returning customers, region, device.
- Time: weekly trends, and the weeks around a design change.
Related consent measures
| Measure | Formula | What it tells you |
|---|---|---|
| Opt-in rate at sign-up | Opt-ins ÷ sign-up form views | Whether the offer and wording persuade people |
| Withdrawal rate | Withdrawals ÷ active consents in the period | Whether people regret agreeing |
| Consent coverage | Customers with a valid consent record for a purpose ÷ all customers you want to reach with it | How much of your base you can legally and ethically use |
| Preference update rate | Customers who edited preferences ÷ customers with a preference record | Whether the preference center is used, and whether records stay current |
Watch withdrawal alongside opt-in. A tactic that raises opt-ins through pressure or vague wording often raises withdrawals and complaints a few weeks later.
Common errors with consent rate
- Comparing across regions without adjustment. Banner design, legal defaults and local norms differ, so a rate in one market is not a target for another.
- Counting pre-ticked or bundled consent. If consent is not freely given and specific, it may not be valid under the regulations discussed earlier, so it should not count toward the rate.
- Chasing the rate alone. A rate raised by dark patterns (a large "Accept" button and a hidden "Decline") produces weak consent and trust problems. Pair the rate with withdrawal and complaint measures.
- Ignoring the timestamp. If you cannot say when consent was granted and for which purpose, the record cannot be used to audit coverage.
Data quality measures
Data quality is not a single score. Use several measures, each tied to a field and a use.
| Dimension | Plain definition | Example measure |
|---|---|---|
| Completeness | Required fields are filled | Share of profiles with a preferred category |
| Validity | Values follow the expected format or list | Share of emails that pass a syntax check |
| Accuracy | Values match reality | Email hard-bounce rate; share of postal addresses that deliver |
| Uniqueness | One person is not stored as several | Duplicate profile rate |
| Freshness | Values are recent enough to trust | Median age of the last preference update |
| Consistency | The same fact agrees across systems | Share of customers whose consent status matches in CRM and email platform |
Data completeness
Data completeness is the share of records in which a field you need has a value. Calculate it per field, and only for the records where the field applies. A "preferred category" field is not expected on customers who have never seen the preference center, so decide whether the denominator is all customers or only those who were asked.
Report two numbers if you can: completeness among everyone, and completeness among those who were asked. The first shows reach. The second shows whether the capture method works.
Zero-party data needs extra checks
Zero-party data is stated by the customer, so test whether it is still true and still useful.
- Staleness. A customer who said "trail running" two years ago may have changed interests. Track the age of each answer.
- Contradiction with behavior. If the stated category is never browsed or bought, the answer may be wrong, aspirational or entered quickly to get past the form. A contradiction rate is a useful warning, not proof of error.
- Skip and default patterns. If most answers are the first option in a list, the form may be encouraging careless clicks.
A query for a quality snapshot
The query below computes consent coverage, completeness and duplicate rate from a warehouse. It uses standard SQL and assumes the customers and consents tables from earlier chapters, with a normalized_email column added in the customer table.
WITH base AS (
SELECT
c.customer_id,
c.normalized_email,
c.preferred_category,
CASE WHEN k.customer_id IS NULL THEN 0 ELSE 1 END AS has_email_consent
FROM customers AS c
LEFT JOIN consents AS k
ON k.customer_id = c.customer_id
AND k.purpose = 'email_marketing'
AND k.status = 'granted'
),
dupes AS (
SELECT normalized_email
FROM customers
WHERE normalized_email IS NOT NULL
GROUP BY normalized_email
HAVING COUNT(*) > 1
)
SELECT
COUNT(*) AS customers,
AVG(has_email_consent) AS email_consent_coverage,
AVG(CASE WHEN preferred_category IS NOT NULL THEN 1.0 ELSE 0.0 END)
AS category_completeness,
AVG(CASE WHEN normalized_email IN (SELECT normalized_email FROM dupes)
THEN 1.0 ELSE 0.0 END) AS duplicate_rate
FROM base;If a customer can hold several consent rows for the same purpose (a grant, then a withdrawal, then a new grant), the join above can double count. In that case, first reduce consents to the latest row per customer and purpose, then join.
Incremental lift
Consent and quality tell you the inputs are healthy. Incremental lift tells you whether using the data caused extra results. It is the difference in outcome between people who received the data-driven treatment and a comparable group who did not.
lift = (conversion rate of treated group − conversion rate of control group) ÷ conversion rate of control group
For example, if the control group converts at 2.0% and the personalized group at 2.3%, relative lift is (2.3 − 2.0) ÷ 2.0 = 15%. The absolute difference is 0.3 percentage points. Report both, since a large relative lift on a tiny base can be unimportant.
Why simple comparisons mislead
People who give consent and fill in preferences are usually more engaged to begin with. If you compare "personalized customers" with "everyone else," you measure the engagement gap, not the effect of personalization. This is selection bias.
Fix it with a holdout: among customers who are eligible for the treatment, randomly keep a share back. Both groups have the same consent status and the same history, so the difference is the treatment.
Designing a holdout
- Define the eligible population first, for example customers with email consent and a stated category.
- Randomly assign a holdout, commonly 5 to 10 percent, before any message is sent. Keep the assignment stored so the same person stays in the same group.
- Treat the holdout like the others in every way except the personalization. For a personalization test, they still get a generic version of the message, not silence.
- Choose one primary outcome in advance, such as purchase within 14 days, and a window long enough to capture it.
- Run until you have enough people to detect the difference you care about. Small differences need large groups.
- Compare outcomes, and report an interval or significance test, not just the difference.
from math import sqrt
def lift_report(control_n, control_conv, treated_n, treated_conv):
p_c = control_conv / control_n
p_t = treated_conv / treated_n
abs_diff = p_t - p_c
rel_lift = abs_diff / p_c if p_c else float("nan")
# Standard error of the difference between two proportions
se = sqrt(p_c * (1 - p_c) / control_n + p_t * (1 - p_t) / treated_n)
low, high = abs_diff - 1.96 * se, abs_diff + 1.96 * se
return {
"control_rate": round(p_c, 4),
"treated_rate": round(p_t, 4),
"absolute_diff": round(abs_diff, 4),
"relative_lift": round(rel_lift, 4),
"ci95_abs_diff": (round(low, 4), round(high, 4)),
}
print(lift_report(control_n=5000, control_conv=100,
treated_n=45000, treated_conv=1035))This prints a control rate of 0.02, a treated rate of 0.023, a relative lift of 0.15, and a 95% interval for the absolute difference. If that interval includes zero, you cannot rule out no effect. With these numbers, the interval is roughly 0.0 to 0.6 percentage points, so the result is borderline. A larger holdout would narrow it.
Common errors with lift
- Holdout contamination. Holdout customers see the personalized experience through another channel, such as the website, which shrinks the measured lift.
- Changing the audience mid-test. Adding customers to treatment after the start breaks the comparison.
- Measuring clicks instead of outcomes. More clicks may not mean more revenue. Prefer purchases, retention or margin.
- Measuring too soon. Purchases that take weeks to happen are missed in a short window.
- Ignoring the consent gate. Lift measured on consented customers does not automatically apply to the whole base. Say so when you report it.
Putting the measures together
A compact scorecard keeps the three families in view. Review it monthly, and compare each measure with its own trend, not with an outside benchmark you cannot verify.
| Family | Measure | Question | Typical action when weak |
|---|---|---|---|
| Consent | Consent rate by purpose | Do people agree? | Test the wording and the stated benefit |
| Consent | Withdrawal rate | Do they regret it? | Check expectations and message frequency |
| Quality | Completeness among those asked | Does capture work? | Shorten the form, ask fewer fields |
| Quality | Freshness | Can we still trust answers? | Prompt a preference refresh |
| Quality | Duplicate rate | Is identity resolution working? | Revisit matching rules |
| Value | Incremental lift | Does it change outcomes? | Revise segments and content, then retest |
Exercise
A team compares conversion for customers who completed the preference center with conversion for customers who did not, and reports a 40% "lift" from zero-party data. Why is this figure unreliable, and what design would give a trustworthy estimate?
Show answer
Customers who complete a preference center are usually more engaged to begin with, so the comparison shows selection bias, not the effect of using the data. A trustworthy estimate takes the eligible customers (consented, with preferences stated), randomly holds back a share such as 5 to 10 percent who get a generic experience, gives the rest the personalized experience, and compares a pre-chosen outcome over a fixed window with a confidence interval.
Exercise
A sign-up form was shown to 20,000 visitors. The banner failed to load for 4,000 of them. Of the 16,000 who saw it, 4,800 granted email marketing consent. What is the consent rate, and why is 24% the wrong answer?
Show answer
The consent rate is 4,800 ÷ 16,000 = 30%. The figure 24% comes from dividing by all 20,000 visitors, which includes 4,000 people who were never shown the request. The denominator must be people who saw the request.