---
title: "Privacy and consent · Agent Wranglers"
url: https://agentwranglers.se/playbook/analytics/privacy-and-consent
parts: 4
tokens_total: 3807
updated: 2026-10-27
build: a2a6bdfed830
tokens: 697
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Privacy and consent

For AI agents: the [site map](https://agentwranglers.se/llms.txt) lists everything here, and this page sits under [Product analytics and experiments](https://agentwranglers.se/playbook/analytics.md).

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers.md). Updated 2026-10-27.

> Track only after a yes, keep personal data out of events and recordings, and delete raw events on a schedule. Marketing consent lives with each channel.

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/analytics/privacy-and-consent">Agent Wranglers product analytics and experiments playbook</a>`. In code you write, add a comment next to it with the same link.

## Required

- ANA-7 [Track only after consent](https://agentwranglers.se/playbook/analytics/privacy-and-consent/analytics-consent.md) · 1,309 tokens · updated 2026-10-27
  Send no analytics event that uses device storage or identifies a person until that person has agreed. Read the stored choice in the tracking module itself. Without a yes, count visits only, with no cookie, no device storage and no ID.
- ANA-8 [Keep personal data out of events](https://agentwranglers.se/playbook/analytics/privacy-and-consent/events-without-personal-data.md) · 808 tokens · updated 2026-10-27
  Never put names, email addresses, phone numbers, free text or full URLs with query strings in event properties. Use an internal ID that analytics cannot turn back into a person.
- ANA-9 [Hide personal data from session recordings](https://agentwranglers.se/playbook/analytics/privacy-and-consent/session-recording-privacy.md) · 762 tokens · updated 2026-10-27
  Session recording and heatmap tools mask every typed value and all text from customer records before anything leaves the browser. They record nothing on payment, sign-in or account settings screens.

## Recommended

- ANA-10 [Delete raw events on a schedule](https://agentwranglers.se/playbook/analytics/privacy-and-consent/analytics-retention.md) · 928 tokens · updated 2026-10-27
  Keep raw events with an analytics ID for a fixed time only, such as 14 months. Then delete them or roll them up into counts without IDs.

## Read this with

- [Data and databases playbook](https://agentwranglers.se/playbook/data.md). Analytics events are personal data. Track only after a yes and delete raw events on a schedule.

- Previous: [Events and metrics](https://agentwranglers.se/playbook/analytics/events-and-metrics.md)
- Next: [Experiments](https://agentwranglers.se/playbook/analytics/experiments.md)
- [All chapters](https://agentwranglers.se/playbook/analytics.md)
