Sub topic 14
Testing and Improving the Mix Over Time
This chapter assumes you know the three funnel stages, can calculate click-through rate (CTR), conversion rate, and cost per acquisition (CPA), and have tagged links so results trace back to a channel. Here you turn those pieces into a routine for improving the channel mix after launch.
Why a mix needs ongoing testing
A first channel plan is a set of educated guesses. Audience behavior, ad prices, and competitors change, so a mix that worked in spring can slip by autumn. Testing replaces opinion with evidence. It also protects the budget, because you move money only when the data supports it.
Change one thing at a time
A useful test changes one variable and keeps the rest fixed. If you swap the headline, the image, and the audience together, you cannot tell which change caused the result.
Good test candidates by stage:
- Awareness: ad creative, video length, audience targeting. Compare reach and CTR.
- Consideration: email subject lines, webinar topics, case study format. Compare engaged visits.
- Conversion: landing page headline, form length, call to action wording. Compare conversion rate and CPA.
Judge each test on the primary metric for its own stage. A cheap click at the awareness stage means little if those visitors never evaluate or buy, so check the next stage too.
Check the numbers before you act
Small samples mislead. A variant with 3 conversions against 2 is not a winner. Before declaring one, decide in advance how many visitors each variant needs and how long the test runs, and run it for at least one full business cycle, such as a week, so weekday effects do not skew results.
The script below compares two landing page variants. It flags a result as unclear when the sample is small or the gap is within what chance could produce.
import math
def conversion_rate(conversions, clicks):
return conversions / clicks if clicks else 0.0
def compare(a_conv, a_clicks, b_conv, b_clicks, min_clicks=500):
if min(a_clicks, b_clicks) < min_clicks:
return "Not enough data yet"
p_a = conversion_rate(a_conv, a_clicks)
p_b = conversion_rate(b_conv, b_clicks)
pooled = (a_conv + b_conv) / (a_clicks + b_clicks)
se = math.sqrt(pooled * (1 - pooled) * (1 / a_clicks + 1 / b_clicks))
z = (p_b - p_a) / se if se else 0.0
if abs(z) < 1.96:
return f"A {p_a:.2%} vs B {p_b:.2%}: no clear difference"
winner = "B" if z > 0 else "A"
return f"A {p_a:.2%} vs B {p_b:.2%}: {winner} is better"
print(compare(30, 750, 52, 760))
print(compare(30, 750, 36, 760))
print(compare(3, 80, 5, 85))With these inputs, the first comparison favors B, the second shows no clear difference, and the third reports too little data. The 1.96 threshold corresponds to roughly 95% confidence.
The improvement loop
Testing works best as a repeating cycle rather than a one-off project.
- Review each stage's primary metric and find the weakest point.
- Hypothesize, for example: "A shorter form will raise landing page conversion rate."
- Run one test with a set duration and sample size.
- Decide: adopt the winner, drop the loser, or record that nothing changed. Then shift a small share of budget accordingly.
Keep a log of each test, its result, and the decision. The log stops you from repeating failed ideas.
Common errors
| Error | Result | Fix |
|---|---|---|
| Stopping a test as soon as one variant leads | False winners | Fix duration and sample size beforehand |
| Testing several changes at once | Unknown cause | Change one variable |
| Judging awareness channels by conversions only | Good top-of-funnel channels get cut | Use the stage's own metric, then check downstream effects |
| Moving large budget shares on one result | Volatile performance | Shift gradually and retest |
| Ignoring broken tags | Traffic is misattributed | Audit UTM parameters regularly |
Exercise
Your landing page test shows variant B converting at 4.5% against 4.0% for variant A, with 120 clicks on each after two days. What should you do?
Show answer
Keep the test running. 120 clicks per variant is too small, and two days does not cover a full weekly cycle. Set a target sample size and duration in advance, then decide once it is reached and the difference holds up.