Sub topic 7
Analyzing Competitor Content Mix and Posting Cadence
Benchmarks of engagement rate tell you how well competitors perform. They don't tell you what they post or how often. This chapter covers the second question: classifying competitor posts into a content mix and measuring posting cadence. You can then link what competitors publish to the results you measured earlier.
This chapter assumes you have:
- A set of competitor posts collected with the methods from the data collection chapter, including post date, format, and public engagement counts.
- The engagement rate definition and the normalization approach from earlier chapters.
- Basic Python skills: lists, dictionaries, and the
statisticsmodule.
What content analysis can and cannot show
Content analysis describes behavior. It shows that Competitor A posts short videos four times a week and that these posts earn a higher median engagement rate than its images. It cannot prove that videos caused the higher rate.
Use the results to form hypotheses you can test on your own account. Do not treat them as proven rules. Keep this in mind when you write the report later, because readers tend to turn "A posts a lot of video" into "video works."
Build a content taxonomy first
A taxonomy is a fixed list of categories you assign to every post. Decide it before you label anything, and apply the same one to every account. If you change categories halfway through, earlier labels no longer match later ones.
Most benchmarks need two label dimensions:
| Dimension | Example values | Question it answers |
|---|---|---|
| Format | image, video, carousel, text, link, story highlight | What kind of post is it? |
| Theme | product, education, community, promotion, behind the scenes, news | What is the post about? |
Format is usually available directly from the platform, so it is cheap and reliable. Theme requires a judgment about each post, so it is more useful and more error-prone.
Rules for a usable taxonomy
- Mutually exclusive. Each post gets exactly one primary theme. If a post fits two, write a tie-break rule, such as "if a post has a discount and a product, label it promotion."
- Collectively exhaustive. Include an "other" category, and check that it stays below about 10% of posts. A large "other" means your categories are missing something.
- Written definitions. Give each theme a one-sentence definition and one example. Anyone should be able to apply it and get the same label.
- Small. Five to eight themes is enough. More categories mean fewer posts in each, and the per-category medians become unreliable.
Check labeling consistency
Labeling by hand is subjective. For a sample of 30 to 50 posts, have a second person label them independently, or re-label them yourself a week later. Compute simple agreement, the share of posts that received the same label both times. If agreement is below about 80%, your definitions are unclear. Rewrite them before you label the full set.
If you use an automated classifier or a language model to assign themes, treat it the same way. Check a sample against human labels and report the agreement.
Compute the content mix
The content mix is the share of an account's posts in each category. It describes strategy, meaning where the account puts its effort. The distinction you must make is between two different shares:
- Share of posts: how often the account uses a format.
- Share of engagement: how much of its total engagement that format earns.
A format with a large share of posts but a small share of engagement is overused. A format with a small share of posts and a large share of engagement may be underused. Comparing the two is more useful than either alone.
To compare formats fairly, compute the median engagement rate per format, using the same follower-normalized rate as before. Do not compare raw counts across formats. A video and an image from the same account share the follower base, so the comparison within one account is fair. Comparisons across accounts still require the normalization from the earlier chapter.
from collections import defaultdict
from statistics import median
followers = {"us": 20000, "rival_a": 50000}
# (account, date, format, total engagements)
posts = [
("us", "2026-10-05", "image", 400),
("us", "2026-10-07", "video", 900),
("us", "2026-10-12", "image", 250),
("us", "2026-10-14", "video", 780),
("us", "2026-10-19", "text", 120),
("us", "2026-10-21", "image", 310),
("us", "2026-10-26", "video", 840),
("rival_a", "2026-10-05", "video", 1500),
("rival_a", "2026-10-06", "video", 1300),
("rival_a", "2026-10-08", "image", 700),
("rival_a", "2026-10-09", "video", 1700),
("rival_a", "2026-10-12", "carousel", 1900),
("rival_a", "2026-10-13", "video", 1250),
("rival_a", "2026-10-15", "image", 650),
("rival_a", "2026-10-16", "carousel", 2100),
]
by_account = defaultdict(lambda: defaultdict(list))
for account, day, fmt, engagements in posts:
by_account[account][fmt].append(engagements / followers[account])
for account, formats in by_account.items():
total_posts = sum(len(rates) for rates in formats.values())
for fmt, rates in sorted(formats.items()):
share = len(rates) / total_posts
med = median(rates) * 100
print(f"{account:8} {fmt:9} n={len(rates)} share={share:.0%} median_rate={med:.2f}%")The script prints one line per account and format, giving the post count, the share of posts, and the median engagement rate. Read the n= column first. A median based on one or two posts is not a finding. Mark any category with fewer than five posts as "insufficient data" in your report.
Measure posting cadence
Cadence is how often and when an account posts. You can break it into three measurements:
- Frequency: posts per week over a fixed window.
- Consistency: how even the gaps between posts are.
- Timing: which days of the week and hours of the day the account favors.
Use a fixed observation window
Divide post counts by the full length of the observation window, not by the span between an account's first and last post. If you only use the span between posts, an account that posted twice on the first and last day looks identical to one that posted twice a week. Use the same window for every account, such as 28 days, so that the totals are comparable.
Consistency from gaps between posts
Sort each account's post dates and compute the number of days between consecutive posts. The mean gap tells you the typical spacing. The standard deviation divided by the mean, called the coefficient of variation (CV), tells you how irregular the spacing is. A CV near 0 means a steady schedule. A CV above 1 means the account posts in bursts followed by long silences.
from collections import Counter
from datetime import date
from statistics import mean, pstdev
window_start = date(2026, 10, 5)
window_end = date(2026, 11, 1) # 28 days, inclusive of start, exclusive of end
window_weeks = (window_end - window_start).days / 7
post_dates = {
"us": ["2026-10-05", "2026-10-07", "2026-10-12", "2026-10-14",
"2026-10-19", "2026-10-21", "2026-10-26"],
"rival_a": ["2026-10-05", "2026-10-06", "2026-10-08", "2026-10-09",
"2026-10-12", "2026-10-13", "2026-10-15", "2026-10-16"],
}
for account, raw in post_dates.items():
days = sorted(date.fromisoformat(d) for d in raw)
in_window = [d for d in days if window_start <= d < window_end]
per_week = len(in_window) / window_weeks
gaps = [(b - a).days for a, b in zip(in_window, in_window[1:])]
avg_gap = mean(gaps)
cv = pstdev(gaps) / avg_gap if avg_gap else 0.0
weekdays = Counter(d.strftime("%A") for d in in_window)
busiest = weekdays.most_common(1)[0]
print(f"{account}: {per_week:.2f} posts/week, mean gap {avg_gap:.1f} days, "
f"gap CV {cv:.2f}, busiest day {busiest[0]} ({busiest[1]} posts)")The script needs at least two posts in the window for each account to compute gaps. In real data, guard against accounts with fewer than two posts and report them as "too few posts to measure consistency."
Timing needs a caveat
Posting hour depends on the time zone. Convert every timestamp to one time zone before you count hours, and preferably to the time zone where the account's audience lives. Also keep in mind that public data shows when a post was published. It does not show when followers saw it, because feeds are ranked by algorithm rather than ordered by time.
Putting the analysis together
The steps run in a fixed order. Taxonomy and window come first because they define what the later steps measure.
Relate the content and cadence to results
Once you have mix and cadence for each account, put them next to the benchmark results from earlier chapters. Useful questions include:
- Do the accounts with the highest median engagement rate share a format or theme?
- Do high-frequency accounts have lower engagement rates per post? Posting more often can dilute per-post engagement, even when total engagement grows.
- Does your own mix differ from the peer median? Where is the largest difference?
- Is a competitor's recent change in mix or cadence followed by a change in engagement?
Compare your mix with the peer median mix rather than with the single strongest competitor. The strongest account may have an audience, budget, or history you cannot match. The median shows what is typical for the set.
Edge cases and common errors
- Paid and boosted posts. Public data usually does not label which posts were promoted. An unusually high post may be paid. Flag outliers and report medians, which a few boosted posts affect less than means.
- Cross-posted content. The same video posted to several platforms or several times counts as separate posts. Decide whether duplicates count, and apply the rule to all accounts.
- Different platform formats. Short vertical video, stories, and live streams may not be publicly measurable in the same way. Compare only formats where all accounts expose the same metrics.
- Reposts and shares of others' content. Decide whether reposts count as posts. They affect cadence but usually say little about the account's own content strategy.
- Campaign periods. A launch or holiday inflates frequency and changes the mix for a few weeks. Use a window long enough to include normal weeks, or record the campaign and report the results with and without it.
- Small samples. With one post a week, a four-week window gives only four posts. Use a longer window, such as 90 days, before you draw conclusions about categories.
- Label drift. If several people label posts over several weeks, definitions slip. Re-check agreement on a fresh sample partway through.
What to report
For each account, record these items so the reporting chapter can use them without more calculation:
| Item | Where it comes from |
|---|---|
| Share of posts by format and theme | Content mix |
| Median engagement rate by format and theme, with `n` | Content mix |
| Posts per week over the fixed window | Cadence |
| Mean gap and gap CV | Cadence |
| Busiest weekdays and hours, with time zone | Cadence |
| Notes on campaigns, suspected paid posts, and duplicates | Edge cases |
Exercise
A competitor posted 12 times in a 28-day window, but 9 of those posts came in the first week for a product launch. The remaining three posts were spread over the last three weeks. What would a simple "posts per week" figure show, which measure shows the real pattern better, and what should you do before you compare this account with the others?
Show answer
Posts per week would be 12 / 4 = 3.0, which suggests a steady schedule. The gap between posts shows the real pattern better: the gaps are tiny during the launch and long afterward, so the gap CV is high (a burst pattern). Before comparing, record the launch as a campaign and report cadence with and without it, or extend the window so that normal weeks are included. This way the account's usual cadence is not hidden by one event.
Exercise
In your content-mix table, the "education" theme for a rival shows a median engagement rate of 6.1% based on n=2 posts, while "product" shows 2.0% based on n=14 posts. Should you conclude that education content beats product content for this rival? Explain.
Show answer
No. A median from two posts is not reliable, because one post, possibly a paid or viral one, can determine the result. Mark the education category as insufficient data (fewer than five posts), extend the window to collect more posts, and treat any difference as a hypothesis to test.