TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is data ethics? Principles and an analytics checklist

Data ethics asks whether you should collect and use data about people, not only whether the law allows it. Three public frameworks, six analytics practices put to the test, and a five-question review.

Su He Reviewed by Ethan Brooks Also called data ethics principles Last updated Nov 29, 2026 Glossary

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
QuestionMay we?Should we?
SourceStatute, regulation, regulator guidancePublished frameworks, professional codes, company values
EnforcementFines, orders, lawsuitsTrust, reputation, internal review
Typical outputLawful basis, consent records, data processing agreementsA documented decision and the narrower option chosen
ChangesWhen the law changesWhenever 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:

FrameworkYearPrinciplesAnalytics question it raises
Belmont Report (US National Commission)1979Respect for persons, beneficence, justiceWould users agree to this if asked plainly? Does the benefit outweigh the risk to them?
GDPR Article 5 (EU)2016Lawfulness, fairness and transparency; purpose limitation; data minimisation; accuracy; storage limitation; integrity and confidentiality; accountabilityIs 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)2025Transparency, accountability, fairness, privacy, safety, societal impact, environmental sustainabilityWho 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.

PracticeLawful? (simplified)Transparent?Proportionate?Fair?Verdict
Fingerprinting a browser to re-identify visitors who declined cookiesGenerally needs consent under ePrivacy rules on accessing device informationNo, hidden by designNo, overrides a refusalNoDo not do it
Cross-site tracking to build ad profilesOnly with valid consentWeak; few users understand itNot needed for site analyticsRisky for sensitive inferencesOnly with explicit, specific consent; not for analytics
Session recording that captures typed form valuesPossible with notice and a lawful basisRarely noticedNo, captures more than neededCan expose health or financial dataMask inputs; exclude payment, ID and medical pages
Consent banner where "reject" is hiddenConsent is not freely givenMisleadingNot applicableNoGive equal-weight accept and reject buttons
Cookieless, aggregate page counts with truncated IP addressesLower risk; depends on configuration and local lawYes, if disclosedYesYesReasonable default
Keeping raw event data indefinitelyConflicts with storage limitationUsually undisclosedNoIncreases breach impactSet 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:

  1. Purpose. What decision will this data change? If nobody can name one, stop.
  2. Minimum. What is the least detailed data that answers it: aggregate before individual, truncated before full, masked before raw?
  3. Explanation. Can you describe it in one sentence in the privacy notice without embarrassment?
  4. Harm. Who could be hurt if this data leaked, was misread or was used against them, and are some groups more exposed?
  5. 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.

  1. 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.
  2. 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.
  3. 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.
  4. 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

Was this explanation clear?

We use your answers to fix and expand this page.

Su He

Data Analyst

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

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is the difference between data ethics and data privacy?

Data privacy law sets what you may do with personal data: lawful basis, consent, rights and penalties. Data ethics asks what you should do within those limits, for example whether a lawful feature such as session recording is proportionate to its purpose.

What are the main principles of data ethics?

Common principles are transparency, accountability, fairness, privacy and avoiding harm. The UK Data and AI Ethics Framework (updated December 2025) lists transparency, accountability, fairness, privacy, safety, societal impact and environmental sustainability.

Is browser fingerprinting ethical?

Using it to re-identify visitors who declined cookies fails the basic tests: it is hidden, it overrides an explicit refusal and it is not needed to count visits. In the EU it generally also needs consent. This is not legal advice.

How do I start a data ethics practice in a small team?

Use a short written review before each new data use: purpose, minimum data, one-sentence explanation, possible harm, owner and deletion date. Keep the records, revisit defaults such as retention and session recording once a year, and name one accountable person.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics