Sub topic 4
Stay within ethical and platform-rule limits
This chapter assumes you have already set the audit's goal and scope, listed your accounts, and chosen competitors. Before you collect any data, you need to decide what you may collect, how, and what you will do with it. The rules below shape the data collection chapter that follows. Rules differ by platform and country, and they change. Treat this chapter as a working framework, and read the current terms of each platform you audit.
Why this step comes before data collection
An audit is competitive research on public activity. It is not surveillance. Three kinds of risk apply:
- Platform risk. Breaking a platform's terms of service can get your account restricted or removed. That includes the brand account you are trying to improve.
- Legal risk. Data protection laws such as the GDPR in the EU and the UK, and the CCPA in California, apply when you handle information about identifiable people. Commenters and followers are such people.
- Reputational risk. A competitor, a customer or a journalist may discover that you used fake accounts or collected private data. The story is then about your conduct, not their content.
Writing the rules down first costs about an hour. Redoing an audit built on tainted data costs far more, and a restricted account can cost more still.
Three tiers of data source
Sort every data source by how you get at it, not by what the data looks like.
| Tier | Source | Typical examples | Risk |
|---|---|---|---|
| 1 | Data you own | Native analytics, exports, ad account reports | Low |
| 2 | Public data accessed as intended | Viewing a public profile, an official API with approved access, a tool that is a platform partner | Low to moderate |
| 3 | Data obtained against the rules | Scraping that the terms prohibit, fake or borrowed logins, private groups, bought personal data | High. Avoid. |
Tier 1 is the cleanest. You are the account owner and the data describes your own audience. Tier 2 is where most competitor work happens. Reading a competitor's public posts and recording the visible counts is ordinary market research. Tier 3 is out of bounds for this audit, even where it is technically possible.
The main thing to watch is automation. Most major platforms' terms restrict automated collection without permission. A person copying like counts from a public post into a spreadsheet is generally fine. A script that logs in and loops through profiles may not be. Check the platform's terms, its developer policy and its robots.txt guidance before you automate anything. If the rules are unclear, collect by hand or use an official API.
What you must not do
- Do not use fake or shared identities. Do not create an account posing as a customer to enter a competitor's private community, and do not use a friend's login to see restricted content.
- Do not bypass access controls. Private accounts, closed groups, paywalled communities and members-only posts are not public data, even if someone offers you a way in.
- Do not evade limits. Rotating IP addresses or accounts to get around rate limits shows intent to break the rules.
- Do not collect personal data you do not need. An audit needs aggregate numbers such as reach, engagement and counts. It does not need a list of named individuals and what they said.
- Do not interact to gather intelligence. Do not follow, message or comment on a competitor's posts to see how they respond.
- Do not publish what you learned in a way that identifies private people. If you quote a customer's comment in a report, you are republishing their words.
Handling personal data in an audit
Brand accounts are organizations, so their post metrics are not personal data. Comments, follower lists and audience demographics can be. Apply these practices from the start:
- Minimize. Collect only the fields the audit questions need. If the question is about repeat commenters, you need a stable identifier and a count. You do not need the comment text.
- Aggregate early. Convert raw rows to counts and rates as soon as you can, then delete the raw rows.
- Pseudonymize when you must keep identifiers. Replace handles with a salted hash and keep the salt apart from the data. Pseudonymized data can still count as personal data under the GDPR, so this reduces exposure but does not remove your obligations.
- Limit access and retention. Store the working files somewhere restricted. Set a deletion date in the audit plan.
- Respect your own audience's expectations. Analytics from your own accounts come with the platform's privacy terms. Do not combine them with outside data to re-identify people.
The script below shows minimization in practice. It counts unique and repeat commenters from a comments export, replaces handles with salted hashes, and never keeps the comment text. It runs as written.
import csv
import hashlib
import io
import os
from collections import Counter
SALT = os.environ.get("AUDIT_SALT", "replace-this-salt")
sample = """post_id,commenter_handle,comment_text
p001,@ana_k,Love this! Email me at [email protected]
p001,@bo_2,Where can I buy it?
p002,@ana_k,Great tips
"""
def pseudonym(handle):
digest = hashlib.sha256((SALT + handle.lower()).encode("utf-8")).hexdigest()
return digest[:10]
counts = Counter()
for row in csv.DictReader(io.StringIO(sample)):
# Only the pseudonym is kept. The comment text is never stored.
counts[pseudonym(row["commenter_handle"])] += 1
repeat = sum(1 for c in counts.values() if c > 1)
print(f"Unique commenters: {len(counts)}, repeat commenters: {repeat}")With the sample data it prints Unique commenters: 2, repeat commenters: 1. Notice that the email address in the first comment never reaches your output. In a real audit, read from your exported file with open(...) instead of the in-memory sample, and set AUDIT_SALT in your environment rather than in the code.
A decision path for each data source
Run each proposed source through the same questions. Record the answer in your audit plan, so the decision is visible later.
If the method fails the terms check and you cannot switch to manual or official access, the source drops out of the audit. Say so in the report as a limitation. A gap you can explain is better than data you cannot defend.
Common errors
- Assuming public means free to use. Being visible does not give you the right to collect it in bulk or by automation. The platform's terms and data protection law both still apply.
- Trusting a tool without checking it. A vendor saying its tool is compliant does not move the responsibility off you. Check whether it uses official APIs or partner access, and read its data handling terms.
- Keeping raw exports forever. Old files with commenter data are a liability. Delete them on the date you set.
- Mixing audit data with outreach. Using audit lists to contact individuals, or to target ads at a competitor's followers by name, changes the purpose. That needs its own legal basis.
- Skipping the log. Without a record of where each number came from and when, you cannot show that you collected it properly.
Keep a source log
A short log makes the rules checkable. Add one row per source to your audit workbook:
| Column | Example |
|---|---|
| Source | Competitor A public Instagram profile |
| Method | Manual viewing, recorded in a spreadsheet |
| Date collected | 2026-11-28 |
| Terms checked | Yes, platform terms reviewed on this date |
| Personal data | None kept; aggregate counts only |
| Delete by | 2027-02-28 |
Summary of rules for this audit
- Prefer data you own, then public data accessed as intended. Exclude anything that needs a workaround.
- Automate only where the terms or an official API allow it.
- Collect aggregate metrics, not information about individuals.
- Log each source, check the terms, and set a deletion date.
- Report any gaps caused by these limits.
Exercise
You want to know how many of a competitor's commenters come back on several posts. A colleague suggests writing a script that logs in with a spare account, loops through the competitor's last 200 posts, and saves every commenter's name and comment text. Name two problems with this plan and describe a compliant alternative.
Show answer
Problems: (1) Automated collection while logged in with a spare account likely breaks the platform's terms, and the spare account is a fake identity. (2) Saving names and comment text collects personal data the question does not need, which creates privacy-law exposure. Alternative: view a sample of recent public posts manually, or use an official API or partner tool that allows the access. Record only a pseudonymized identifier and a count per post, discard the comment text, then compute repeat commenters as in the script above. Log the method and a deletion date.
Exercise
A tool vendor offers a list of 5,000 named followers of your top competitor, with their email addresses, for use in an outreach campaign. Which tier of the data sources is this, and should it be used in the audit?
Show answer
It is Tier 3. The followers did not give their contact details to you, so using the list would likely break privacy law and platform rules. It also goes beyond what an audit needs, because an audit needs aggregate metrics. Decline the list. If you want to understand the competitor's audience, use public, aggregate signals such as follower growth, engagement rates and the topics that draw comments.