Sub topic 4
Collecting Competitor Data Responsibly
This chapter assumes you know your social platform’s public metrics, understand averages and medians, and have defined your own brand’s social media goals. You will learn how to collect competitor data that is comparable, documented, and allowed by the platform.
Define the collection scope
Start by writing a short collection plan. It should state:
- Which competitor accounts you will study
- Which platforms and account types are included
- The date range and time zone
- The metrics you will collect
- How often you will collect them
- Where the data came from
- What limitations apply
A fixed scope prevents accidental comparisons. For example, do not compare your last 30 days with a competitor’s posts from the last year. Do not mix a brand’s main account with an unrelated regional account unless you label the difference.
Collect only data that supports your decision. Public follower counts, post dates, captions, content formats, visible likes, comments, shares, and views may be useful. Private reach, impressions, saves, audience demographics, and conversion data are usually unavailable for competitor accounts. Do not guess these values.
Use legitimate sources
Prefer sources in this order:
- Platform pages and documented public APIs
- Official exports or reports supplied by the competitor
- Reputable measurement tools that explain their collection method
- Manual observation of public posts
Follow the platform’s terms, rate limits, authentication rules, and robots policies. Do not bypass a login, defeat a CAPTCHA, impersonate a user, or collect private information. If an automated method is not clearly permitted, use a documented tool or collect a smaller sample manually.
Record the source for every dataset. A source field such as platform_profile, manual_public_post, or approved_api is more useful than a vague note saying “online.”
from datetime import date
record = {
"account": "rival_a",
"platform": "example_network",
"post_id": "public-post-123",
"posted_at": "2026-11-20T14:30:00+00:00",
"collected_on": str(date.today()),
"likes": 900,
"comments": 60,
"shares": 30,
"content_type": "video",
"source": "manual_public_post",
}
required = ["account", "platform", "post_id", "posted_at", "collected_on", "source"]
missing = [field for field in required if not record.get(field)]
if missing:
raise ValueError(f"Missing required fields: {', '.join(missing)}")
print("Record is ready for analysis:", record["post_id"])The posted_at field describes when the competitor published the post. The collected_on field describes when you observed it. Keep both because visible counts can change after publication.
Build a consistent data dictionary
A data dictionary defines each field before collection begins. It prevents different people from recording the same metric in different ways.
| Field | Definition | Collection rule |
|---|---|---|
| `followers` | Public follower count observed on the collection date | Record the displayed value and date |
| `likes` | Public likes shown for a post | Record the visible count; mark hidden values as unavailable |
| `comments` | Public comments shown for a post | Exclude replies unless the plan includes them |
| `shares` | Public shares or reposts shown by the platform | Record only when the platform exposes the value |
| `content_type` | Main format of the post | Use a fixed list such as image, video, text, or carousel |
Do not silently replace missing values with zero. A zero means the platform displayed zero. A blank or null means the value was unavailable. This distinction affects engagement-rate calculations.
Capture context, not just counts
Counts without context are easy to misread. For each account, capture:
- Account name and profile URL
- Follower count and observation date
- Post URL or stable post identifier
- Publication date and time zone
- Content format and topic category
- Organic, sponsored, or unknown status
- Visible engagement values
- Collection method and notes
Mark paid activity when the platform labels it or when your approved data source identifies it. Paid distribution can raise views and engagement, so mixing it with ordinary posts can distort an organic benchmark. If the status is unknown, use unknown, not organic.
Keep an audit trail
Store the raw observation separately from cleaned data. Never overwrite the original value when correcting a typo or changing a category. Add a note explaining the change.
Before analysis, check for:
- Duplicate post identifiers
- Impossible dates
- Counts recorded with different units
- Posts outside the chosen period
- Different definitions across platforms
- Missing or hidden metrics
- Reposted content counted more than once
A repeatable collection workflow
Use the same procedure for every account in the comparison set. Consistency matters more than collecting a large volume of data. A smaller, well-documented sample is more useful than a large sample with mixed definitions.
Exercise
A competitor's post shows 1,200 likes, but comments are hidden and the post may be sponsored. How should you record it?
Show answer
Record likes as 1,200, comments as unavailable rather than zero, and promotion status as unknown unless you have evidence that it is sponsored. Add a note describing the limitation and exclude or separately analyze it if your benchmark requires complete organic engagement data.