Sub topic 12
Common traps: small samples, seasonality, and attribution
This chapter covers three ways that correct numbers lead to wrong conclusions: small samples, seasonality, and incomplete attribution. It assumes you can read the traffic, revenue, and engagement views on Udemy and Teachable. It also assumes you can compute conversion rate and completion rate from exported figures, and that you have segmented data by period, source, and cohort. The platforms report their numbers accurately. The traps come from how you interpret them.
Why accurate numbers still mislead
A dashboard shows what happened. It does not show why, and it does not show how much of the result was chance. Three problems account for most bad decisions based on course analytics:
- Small samples. A rate computed from a few events moves a lot from noise alone.
- Seasonality. Demand rises and falls on a calendar, so two periods can differ without anything you did.
- Attribution limits. The platform's label for where a sale came from is incomplete, and sometimes it is a rule rather than a fact.
Each trap has a cheap check you can run before you change a course page, a price, or a lesson.
Trap 1: small samples
A sample is the set of observations a metric is calculated from. A conversion rate of 3.0% from 1,200 visitors rests on 36 enrollments. The same 3.0% from 100 visitors rests on 3 enrollments. The percentage is identical, but the second figure is far less reliable.
How much a rate can move by chance
For a rate, a rough estimate of the random wobble (the standard error) is:
sqrt(p × (1 − p) / n)
Here p is the observed rate and n is the number of visitors or students. A range of about two standard errors on either side of the observed rate is a reasonable plausible range. It is an approximation, and it works best when you have at least a handful of successes. This script computes it for a few sample sizes at the same observed rate:
import math
def plausible_range(successes, total):
p = successes / total
se = math.sqrt(p * (1 - p) / total)
low = max(0.0, p - 2 * se)
high = min(1.0, p + 2 * se)
return p, low, high
for successes, total in [(3, 100), (36, 1200), (360, 12000)]:
p, low, high = plausible_range(successes, total)
print(f'{successes}/{total}: {p:.1%} (plausible range {low:.1%} to {high:.1%})')The output shows how the range narrows as the sample grows:
| Sample | Observed rate | Plausible range |
|---|---|---|
| 3 of 100 | 3.0% | 0.0% to 6.4% |
| 36 of 1,200 | 3.0% | 2.0% to 4.0% |
| 360 of 12,000 | 3.0% | 2.7% to 3.3% |
With 100 visitors, a rate of 3% and a rate of 6% are not distinguishable. Suppose last week converted at 3% and this week at 5%, each from 100 visitors. That is not evidence your new thumbnail worked.
Where small samples show up in course data
- Average rating. A course with 4 reviews and a 5.0 average is not better than one with 400 reviews and a 4.6. One unhappy student changes the small course's average by a full point.
- Source comparisons. If one traffic source sent 20 visitors, its conversion rate is close to meaningless.
- Cohort completion. A cohort of 8 students has a completion rate that can only take steps of 12.5 points. One student changes it noticeably.
- Lesson drop-off. A steep drop at one lesson can be two or three people.
Practical rules
- Always read the count next to the percentage. If the platform view hides the count, use the export.
- Be skeptical of any rate with fewer than about 10 successes behind it.
- Compare plausible ranges, not single numbers. If the ranges overlap heavily, treat the difference as unproven.
- Combine periods or segments when you can. Four weeks of data is steadier than one week.
Trap 2: seasonality
Seasonality is a pattern that repeats on a calendar. Course demand has several layers, and they overlap:
- Weekly. Learners often study and buy on weekends or evenings. A Tuesday-to-Saturday comparison is not fair.
- Yearly. Interest in many topics rises in January (new goals), around back-to-school periods, and before tax or hiring seasons. It can fall in the summer or in late December.
- Platform events. On Udemy, marketplace-wide promotions change your traffic and the prices students pay, which affects revenue per sale. On Teachable, your own sales, launches, and email sends do the same thing.
- Topic-specific. A course on a software release or an exam has demand tied to that event.
Compare like with like
The main defense is to compare equivalent periods:
- Week over week works only when both weeks have the same shape, for example both without a promotion.
- Year over year (this January against last January) removes the yearly cycle but needs a year of history.
- Before and after a change is unreliable if a season or event falls between the two windows.
This script compares a before-and-after change against a seasonal baseline. It uses monthly enrollment counts for a course that had a page change in month 4:
enrollments = {
'last_year': [30, 28, 35, 50, 52, 40],
'this_year': [42, 40, 48, 70, 72, 55],
}
change_month = 3 # zero-based index of the month with the page change
for year, values in enrollments.items():
before = sum(values[:change_month]) / change_month
after = sum(values[change_month:]) / (len(values) - change_month)
print(f'{year}: before {before:.1f}, after {after:.1f}, ratio {after / before:.2f}')Last year, with no page change, enrollments rose by a ratio of about 1.45 from the first three months to the last three. This year the ratio is about 1.45 as well. The page change in month 4 appears to have done nothing, because the same seasonal lift happened a year earlier. Without the baseline, the jump from about 43 to 66 enrollments per month would have looked like a win.
Seasonality in engagement and completion
Seasonality also affects engagement. Students who enroll in a holiday sale may not start until weeks later, so their completion rate looks low at first. A cohort enrolled during a deep Udemy promotion often includes many bargain buyers who never open the course. That lowers completion and watch time for that cohort without any change in your content. When you compare cohorts, note the price and promotion each one bought under.
Trap 3: attribution limits
Attribution is the process of assigning credit for a sale or visit to a source. The traffic-source views on both platforms depend on rules, and those rules leave gaps.
What attribution can miss
- Direct or unknown traffic. A visit with no recognizable referrer is grouped as direct or unknown. Private messages, apps, some email clients, and privacy settings all strip referrer information.
- Multiple touches. A student may see your YouTube video, read your newsletter two days later, and buy after a search. Platforms usually credit one source, and which one depends on its rule (for example, the last recorded click). The other touches get no credit.
- Marketplace-controlled traffic. On Udemy, much of your traffic comes from Udemy's own search, recommendations, and promotions. You see that it came from the marketplace, but not what changed in its ranking. A drop in search traffic may be a ranking change, a competitor, or a seasonal dip.
- Different rules by sale type. Udemy credits a sale differently depending on whether it came through your own coupon link or the marketplace, and that affects your revenue share. The revenue share rules and the available source labels can vary by plan and by time, so check the platform's current help pages for your account.
- Teachable without tracking. Teachable shows what its reports record, but your own site traffic depends on whatever link tracking you set up. If you do not tag links, many sources collapse into one bucket.
- Refunds and time lag. A source credited with a sale may later lose it to a refund. Revenue by source can shift after the fact.
Tag what you control
Where you control the link, you can reduce the gap. A common approach is to add tracking parameters, such as utm_source and utm_campaign, to links in newsletters, videos, and social posts. Use a different tag for each placement, and keep the naming consistent. A tag named Newsletter in one place and newsletter in another may split into separate rows. Whether a platform reports these parameters in its views depends on the platform and plan, so test with one tagged link and see where it appears. Coupon codes work as a second tracking tool: a code unique to one channel tells you how many sales came through it.
Treat attribution as a range
A useful habit is to describe a source's contribution as a range. If the dashboard credits 15% of sales to email, the true share of sales that email influenced is at least that, and likely more. Never conclude that a channel does not work because its credited share is small. Instead, ask whether the channel's sales and your effort match, and look for corroboration, such as a spike in sales within a day of an email.
A checklist before acting on a number
Run these checks in order before a change based on analytics:
- How many observations are behind the number? Under about 10 successes, treat it as a hint.
- What is the plausible range? If ranges for two groups overlap heavily, there is no clear difference.
- What else changed in that window? Check your log for sales, price changes, emails, and platform events.
- What happened in the same period last time? If the same movement occurred, assume season until shown otherwise.
- How confident is the source label? Large direct or unknown shares mean source numbers are partial.
- Is there a second signal? Look for agreement in reviews, student questions, or another metric. Agreement raises confidence.
Passing these checks does not prove cause. It means the number is worth acting on with a small, reversible change and a plan for checking the result. The next chapter covers that step.
Edge cases
- Zero events. A rate with 0 successes has a plausible range that the simple formula reports as zero width. That is wrong. With very few events, report the count and avoid the rate.
- Mixed segments. An overall rate can fall even when every segment improves, if the mix shifts toward a lower-converting segment (for example, more traffic from a cold social source). Check segments, not just totals.
- Early data. A new course or a new lesson has little data and an unusual audience of early adopters. Its first weeks do not predict later behavior.
- Delayed reporting. Recent days can be incomplete on some views while the platform finishes processing. Compare complete periods only.
- Currency and tax. Exports may show amounts in different currencies or before or after tax and fees. Confirm this before comparing periods or sources.
Exercise
Your Teachable course converted 4 of 80 visitors (5.0%) in the week before you rewrote the sales page. In the week after, it converted 6 of 80 visitors (7.5%). The week after also included an email send to your list, and the same two weeks last year both converted at about the same rate. Name three reasons you should not conclude that the rewrite improved conversion, and say what you would do next.
Show answer
First, the samples are small: 4 and 6 enrollments out of 80 visitors have overlapping plausible ranges, so the gap could be chance. Second, the email send is a confounding event, because email traffic usually converts differently from other traffic and arrived only in the second week. Third, last year's flat comparison gives no sign of a seasonal lift, but it also gives no support for a claim of improvement, and a single week is a thin baseline. Next, keep the new page, collect several more weeks of data without bundling in a promotion, compare the same traffic sources before and after, and judge the change on plausible ranges rather than the single-week percentages.
Exercise
Udemy's traffic view credits 8% of your sales to your newsletter, and 40% to unknown or direct sources. A colleague says the newsletter is not worth the effort. Give two reasons the 8% may understate its role and one way to measure it better.
Show answer
First, newsletter readers often reach the course through a private email client or app that removes referrer data, so those sales land in unknown or direct. Second, a reader may click the newsletter, leave, and buy later after a search, so credit goes to the last source rather than to the newsletter. To measure it better, give each newsletter a unique coupon code or a tagged link, and compare sales in the day or two after each send against a normal baseline.