Privacy-Aware Product Analytics
Collect what you need, with consent where required, and protect it.
Hello. In this lesson I will take you through 4 ideas, one at a time.
Why it matters: Collect what you need, with consent where required, and protect it. After each idea I will ask you one quick question.
In this lessonFollows you as you read
Minimise data
The short version: Collect events and properties you will use, not everything possible.
Collect events and properties you will use, not everything possible. Avoid free-text fields that may contain personal data. Use internal IDs rather than emails in analytics.
Set retention periods and delete old raw data.
What should analytics use instead of emails?
Consent
The short version: In the EU and UK, many analytics cookies require consent; in India, the DPDP Act requires consent or another lawful basis for personal data processing.
In the EU and UK, many analytics cookies require consent; in India, the DPDP Act requires consent or another lawful basis for personal data processing. Load analytics only after consent where required, and respect choices consistently.
Server-side first-party analytics can reduce data sharing but does not remove legal duties.
- Consent banner where required
- Analytics loads only after consent
- Internal IDs instead of emails
- Retention periods set
- Access limited to those who need it
When should analytics load for EU visitors where consent is required?
Access and sharing
The short version: Limit who can export raw analytics data.
Limit who can export raw analytics data. When sharing dashboards with clients or partners, show aggregates. Record which tools receive analytics data.
Review analytics vendors' data processing terms.
Why link events by user ID?
Requests and deletion
The short version: Be able to find and delete a user's analytics data on request.
Be able to find and delete a user's analytics data on request. Design your schema so user IDs link events, making deletion possible.
XDQ Labs keeps product analytics consent-based for visitors in Europe and the UK.
- Collect only what you will use
- Use internal IDs, not emails
- Load analytics after consent where required
- Limit exports and share aggregates
- Be able to delete a user's data
List every analytics tool and property you collect today. Remove three you do not use and check that analytics loads after consent where required.
Mark it complete to track your progress on this device.