Quick answer
Data ethics is the set of principles used to decide whether an organization should collect, combine, analyze or share data about people, beyond whether privacy law allows it. It applies tests such as transparency, proportionality, fairness and harm to each data use.
What is data ethics?
Data ethics is the set of principles an organization uses to decide whether it should collect, combine, analyze or share data about people, beyond whether the law allows it. Privacy law draws the outer boundary of what is permitted; data ethics is the judgment applied inside that boundary, about transparency, proportionality, fairness and harm.
The distinction matters in everyday analytics work. Many practices are lawful with the right notice or consent and still make users feel watched: recording every keystroke in a form, fingerprinting a browser after the visitor declined cookies, or keeping raw event data for years "just in case". Data ethics gives teams a way to say no to those, or to do them in a narrower way, before a regulator, a journalist or a customer forces the question.
Nothing on this page is legal advice. For what the law requires in your situation, ask a qualified lawyer; the sections below cover how to reason about the questions the law leaves open.
Data ethics vs data privacy law
| Data privacy law (for example the GDPR) | Data ethics | |
|---|---|---|
| Question | May we? | Should we? |
| Source | Statute, regulation, regulator guidance | Published frameworks, professional codes, company values |
| Enforcement | Fines, orders, lawsuits | Trust, reputation, internal review |
| Typical output | Lawful basis, consent records, data processing agreements | A documented decision and the narrower option chosen |
| Changes | When the law changes | Whenever a new use of data is proposed |
The two overlap more than they differ. Article 5 of the GDPR already writes several ethical ideas into law: personal data must be processed "lawfully, fairly and in a transparent manner", collected for specified purposes, and limited to what is necessary (data minimisation). Data ethics asks you to apply the same tests to data the law may not cover, such as aggregate or pseudonymous analytics, and to decisions the law leaves to you, such as how long to keep data or which features to switch on.
The main public frameworks
Three frameworks are worth knowing because they are public, primary sources and map cleanly onto analytics decisions:
| Framework | Year | Principles | Analytics question it raises |
|---|---|---|---|
| Belmont Report (US National Commission) | 1979 | Respect for persons, beneficence, justice | Would users agree to this if asked plainly? Does the benefit outweigh the risk to them? |
| GDPR Article 5 (EU) | 2016 | Lawfulness, fairness and transparency; purpose limitation; data minimisation; accuracy; storage limitation; integrity and confidentiality; accountability | Is every field we collect needed for a stated purpose, and deleted when it is not? |
| UK Data and AI Ethics Framework (updated 18 December 2025) | 2025 | Transparency, accountability, fairness, privacy, safety, societal impact, environmental sustainability | Who owns this decision, how do we explain it, and who could be treated unfairly? |
The Belmont Report was written for research on human subjects, not for websites, but its three principles travel well: informed consent (respect for persons), weighing benefits against harms (beneficence) and fair distribution of burdens (justice). The UK framework, written for the public sector, adds practical actions such as nominating a senior responsible owner, applying data minimisation and building in privacy by design and by default.
Applying the tests to common analytics practices
The table applies three questions, taken from the frameworks above, to practices analytics teams actually face. "Lawful?" is a simplified summary for EU and UK sites, not legal advice.
| Practice | Lawful? (simplified) | Transparent? | Proportionate? | Fair? | Verdict |
|---|---|---|---|---|---|
| Fingerprinting a browser to re-identify visitors who declined cookies | Generally needs consent under ePrivacy rules on accessing device information | No, hidden by design | No, overrides a refusal | No | Do not do it |
| Cross-site tracking to build ad profiles | Only with valid consent | Weak; few users understand it | Not needed for site analytics | Risky for sensitive inferences | Only with explicit, specific consent; not for analytics |
| Session recording that captures typed form values | Possible with notice and a lawful basis | Rarely noticed | No, captures more than needed | Can expose health or financial data | Mask inputs; exclude payment, ID and medical pages |
| Consent banner where "reject" is hidden | Consent is not freely given | Misleading | Not applicable | No | Give equal-weight accept and reject buttons |
| Cookieless, aggregate page counts with truncated IP addresses | Lower risk; depends on configuration and local law | Yes, if disclosed | Yes | Yes | Reasonable default |
| Keeping raw event data indefinitely | Conflicts with storage limitation | Usually undisclosed | No | Increases breach impact | Set and enforce a retention period |
The pattern: the practices that fail are the ones that would surprise the user if explained in one sentence. That one-sentence test is the quickest ethical check a team can run.
Proportionality in numbers
Proportionality sounds abstract until you count. Take IP addresses, which many analytics tools use for location and visitor separation:
- A full IPv4 address points to one connection.
- Dropping the last byte leaves a prefix shared by 2^8 = 256 possible addresses.
- Dropping the last two bytes leaves a prefix shared by 2^16 = 65,536 possible addresses, still enough for country or often city lookup.
If the purpose is "which countries do visitors come from", the two-byte version serves it and the full address adds only risk. The same counting works for retention: if reports only ever compare this quarter with the same quarter last year, raw events older than about 15 months serve no stated purpose. Write the purpose next to each field and each retention period, and anything without a purpose is a candidate for removal. The privacy-first approach to analytics is explained further in privacy-first analytics and privacy by design.
A five-question review for new data uses
Run this before turning on a new tracking feature, event or integration:
- Purpose. What decision will this data change? If nobody can name one, stop.
- Minimum. What is the least detailed data that answers it: aggregate before individual, truncated before full, masked before raw?
- Explanation. Can you describe it in one sentence in the privacy notice without embarrassment?
- Harm. Who could be hurt if this data leaked, was misread or was used against them, and are some groups more exposed?
- Owner and expiry. Who is accountable, and when will the data be deleted?
Record the answers. The written record is what turns an opinion into an accountable decision, and it is what the UK framework means by accountability. Marketing claims are a related but separate area, covered in ethical marketing.
Common mistakes
- Equating legal with ethical. Consent obtained through a confusing banner may be invalid, and even valid consent does not make every use reasonable.
- Treating aggregate data as automatically safe. Small groups in a report (one visitor from a rare location on a rare device) can identify people.
- Turning on everything by default. Session replay, autocapture and long retention should be decisions with a purpose, not settings nobody revisited.
- Leaving ethics to the legal team. The people who design events and dashboards make most of the choices.
Applying data ethics in TapCub
Take the table above and the five-question review. In TapCub, most of the proportionate options are defaults, and the rest are switches you decide on deliberately.
- Choose the collection tier. In Configuration › Privacy center, tier 1 is an anonymous aggregate with a daily rotating salt and no persistent id; tier 2, the default, separates visitors with a cookie-free pseudonym; tier 3 allows identification after login. Global Privacy Control and Do Not Track are honored by default.
- Keep the address out. The IP address is not written to events; by default its last two bytes are dropped before the city lookup (the 65,536-address prefix above). Strings that look like an email or phone number are replaced with a placeholder. See IP truncation and retention.
- Decide on session replay explicitly. All-platform analytics › Behavior › Session replay is off by default. Turning it on asks you to confirm that the privacy policy covers recording, that payment, ID and medical form pages are excluded, and that input masking stays on; password fields are never recorded.
- Set retention and handle requests. Set the event retention period in the compliance center (it cannot exceed your plan's limit), and a scheduled job deletes rows once they pass it. Access, erasure, restriction and portability requests are created in the same Privacy center.
TapCub's settings support these decisions; whether a configuration meets the law in your country is still for your legal adviser.
Sources
- UK Government, Data and AI Ethics Framework, updated 18 December 2025.
- EUR-Lex, Regulation (EU) 2016/679 (GDPR), Article 5.
- U.S. Department of Health and Human Services, The Belmont Report, 1979.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Data Analyst
Explores traffic sources, conversion funnels, and retention, using clear metric definitions and concrete examples to explain what the numbers mean.