Try it on your own data
Every report in this article is in the free plan. One snippet for web and apps, up to 10 sites.
Start freeEnterprise buyers now ask where your analytics data lives before they sign. Data residency is the answer to that question, but the law usually cares more about transfers and identifiers than about the server’s address. This guide explains the terms, the main rules and a worked mapping of an analytics stack.
What you will learn
- Residency is where data is stored; sovereignty is whose laws apply
- GDPR restricts transfers out of the EEA but does not require EU storage
- Analytics data contains personal data such as IPs and identifiers
- Minimizing data early removes many residency questions
- Map every flow, including backups, exports and subprocessors
What is data residency?
Data residency is the physical or geographic location where an organization's data is stored and processed: the country or region of the data centers that hold it, including backups and copies made by service providers. When a company says "our data is resident in the EU," it means the servers that store and process it are in the EU.
Residency is often chosen for legal reasons, but also for customer trust, latency and procurement requirements. Enterprise buyers and public-sector customers increasingly ask where analytics, support and product data live before they sign.
Data residency vs data sovereignty vs data localization
| Term | Meaning | Example |
|---|---|---|
| Data residency | Where the data is physically stored, usually a business choice | A company keeps customer data in Frankfurt to satisfy enterprise buyers |
| Data sovereignty | Data is subject to the laws of the country where it is located (and of the provider's home country) | Data on a US provider's EU servers may still be reachable under US law |
| Data localization | A legal requirement that certain data stay in the country | Rules that require some personal data of a country's citizens to be stored domestically |
Residency answers "where is it?"; sovereignty answers "whose laws apply?"; localization answers "is it allowed to leave?"
| Term | Answers |
|---|---|
| Data residency | Where is the data stored? |
| Data sovereignty | Whose laws apply to it? |
| Data localization | Is it allowed to leave the country? |
Not legal advice.
Data residency laws and rules
- GDPR (EU and EEA). GDPR does not require data to stay in the EU. Chapter V restricts transfers to countries outside the EEA unless there is an adequacy decision, standard contractual clauses or another safeguard. After the Court of Justice's Schrems II ruling in July 2020 invalidated the EU-US Privacy Shield, transfers to the US needed extra assessment until the EU-US Data Privacy Framework adequacy decision in July 2023, which covers only US companies that certify under it.
- UK GDPR. Similar transfer rules, with the UK's own adequacy regulations and the UK Extension to the Data Privacy Framework.
- China (PIPL). Cross-border transfers require a legal basis such as a security assessment, certification or standard contract, and critical information infrastructure operators and processors above volume thresholds must store personal information collected in China within China.
- Russia. Personal data of Russian citizens must be recorded and stored in databases located in Russia.
- Sector rules. Health, finance and government contracts often add their own location requirements regardless of general privacy law.
This is a summary, not legal advice. Requirements depend on the data, the sector and the contract.
Why analytics is a data residency question
Web and product analytics data looks harmless but usually contains personal data: IP addresses, cookie or device identifiers, user IDs and sometimes URLs with email addresses. Several European regulators ruled in 2022 that specific uses of Google Analytics transferred personal data to the US unlawfully, starting with the Austrian data protection authority in January 2022. The issue was not the product itself but identifiers and full IP addresses being transferred without adequate protection.
An analytics data flow has more stops than most teams realize: the tracking script and its CDN, the collection endpoint, the event database, backups, data exports, email reports, AI features and any subprocessor that sees raw rows.
Worked example: mapping an analytics stack
An EU software company mapped every place its analytics data went before an enterprise customer's security review (sample findings):
| Data flow | Location | Personal data? | Transfer basis before | Action |
|---|---|---|---|---|
| Tracking script CDN | Global edge | IP seen in transit | Not assessed | Serve script from own domain |
| Collection endpoint | US | Full IP, cookie ID | SCCs | Truncate IP at collection |
| Event database | US | Cookie ID, user ID | SCCs | Move to EU region |
| Backups | US | Same as database | Not documented | Follow database region |
| Session replay vendor | US | Page content, inputs | Not documented | Mask inputs, then review |
| Email reports | EU | Aggregates only | — | None needed |
| CSV exports on shared drive | EU | User IDs | — | Expire exports after 7 days |
| AI summary feature | US | Aggregates | DPA in place | Confirm no raw rows sent |
| BI warehouse sync | EU | User IDs | — | None needed |
Of nine flows, six contained personal data and five of those left the EEA; two had no documented transfer basis at all. After the changes (EU region for storage and backups, IP truncation at collection, input masking, expiring exports), only two flows left the EEA, both documented, and the enterprise review passed. The analytics reports themselves did not change.
Flows outside EEA
−60%
Undocumented
0
Review
Passed
Analytics data flows · before and after
9 flows mapped| Before | After | |
|---|---|---|
| Flows with personal data | 6 | 4 |
| Personal data leaving the EEA | 5 | 2 |
| Without documented basis | 2 | 0 |
| Reports changed | — | None |
Sample findings for one EU company before an enterprise security review.
How to approach data residency
- Map data flows, including vendors' subprocessors, backups and support access.
- Classify the data: what is personal, what is aggregated, what is sensitive.
- Minimize before you move. Truncating IPs, dropping identifiers and aggregating early can make residency questions disappear for much of the data.
- Choose a region per data class based on law, contracts and customers.
- Document transfer mechanisms for anything that leaves the region: adequacy, SCCs, or another basis, plus a transfer impact assessment where needed.
- Ask vendors the right questions: where data is stored and backed up, which subprocessors see it, whether support staff outside the region can access it, and whether self-hosting is available.
- Review yearly and when adding vendors or features.
Data residency in TapCub
TapCub's compliance center sets region rules for visitors in the EEA, UK, California, the rest of the US, China and elsewhere: collection tier, whether consent is required, how many bytes of the IP address are truncated, and how precise geography may be (Set region privacy rules, IP truncation and retention). IP addresses are not stored on event rows. China mode adds the init-after-consent gate and China-specific fields (China privacy mode). For organizations that must keep all data in their own data center or a designated cloud, TapCub analytics, behavior analysis and live chat can be deployed privately. See also Privacy by design and Data retention policy.
Sources
- GDPR, Chapter V: Transfers of personal data to third countries.
- European Commission, Adequacy decisions.
- Court of Justice of the EU, Press release on Case C-311/18 (Schrems II) (2020).
- DigiChina, Translation: Personal Information Protection Law of the PRC.
Was this article helpful?
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.

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



