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

GDPR, CCPA and PIPL: what they mean for analytics

The EU's GDPR, California's CCPA and China's PIPL differ in detail, but for analytics they ask similar questions: why you collect, what you tell people, and what rights they have.

Ethan Brooks Reviewed by Lucas Hayes Last updated Oct 28, 2026 Glossary

Quick answer

GDPR (EU), CCPA/CPRA (California) and PIPL (China) are privacy laws that govern how personal data — including identifiers used in analytics — is collected, used, transferred and deleted.

The three laws in one paragraph each

  • GDPR — the EU General Data Protection Regulation. Every processing needs a legal basis (consent, legitimate interest and others); people have rights of access, erasure, objection and portability; transfers outside the EU need safeguards. Cookie rules come from the separate ePrivacy rules.
  • CCPA / CPRA — the California Consumer Privacy Act as amended. Built around notice and opt-out: people can see what is collected, ask for deletion and opt out of "sale or sharing", which covers much cross-context advertising. Browsers' Global Privacy Control signal must be honoured.
  • PIPL — China's Personal Information Protection Law. Closer to GDPR, with a strong emphasis on separate consent for sensitive data and cross-border transfer, and fixed time limits for handling requests.

What they mean for analytics

  • Minimise. Collect what you use. Do not put emails or names in event properties.
  • Know your basis. Decide whether analytics runs on consent or on another basis, region by region.
  • Tell people. The privacy policy should say what analytics collects and why.
  • Honour rights. Be able to find, export and erase a person's data, and to stop collecting it.
  • Limit retention. Keep detailed event data only as long as it is needed.

This page summarises common principles, not legal advice; requirements depend on your business and jurisdiction.

How TapCub maps to them

TapCub's compliance centre configures privacy per site and per visitor region (EU / EEA, UK, California, the rest of the US, mainland China and others). Settings include the collection tier, whether consent is required before collection, honouring Global Privacy Control and Do Not Track, IP truncation, stripping personal data from event properties, element-text capture and retention per data type.

Four regional presets — CNIL exemption, UK statistics exception, German DSK basic counter and GDPR full consent — apply a known configuration and lock it. China mode (PIPL) requires consent before collection and caps the cooling-off period for erasure requests. Data subject requests for access, portability, erasure and restriction are handled in the console, with an audit log of configuration changes and requests.

Common mistakes

  • Assuming "anonymous" because there are no names. IP addresses and device IDs are personal data under GDPR.
  • One setting for the whole world. Consent rules differ by region; configure by region.
  • Keeping everything with no time limit. Retention limits are both a legal requirement and a security measure.

Related guides: GDPR-Compliant Analytics and First-Party Data Strategy. See also keep personal data out of analytics.

Was this explanation clear?

We use your answers to fix and expand this page.

Ethan Brooks

Solutions Engineer

Covers SDKs, API integrations, and data implementation, with an emphasis on validation, system interoperability, and troubleshooting.

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.

Does GDPR apply to my website analytics?

If you have visitors in the EU and your analytics processes identifiers such as IP addresses or device IDs, it usually does, wherever your company is based.

What is the difference between GDPR and CCPA?

GDPR requires a legal basis for each processing and applies broadly; CCPA focuses on notice, access, deletion and the right to opt out of sale or sharing, for businesses above certain thresholds.

What is Global Privacy Control?

A browser signal (Sec-GPC: 1) that tells sites the user opts out of sale or sharing. California requires it to be honoured. TapCub can downgrade such visits to anonymous aggregate counting.

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