What should my privacy policy say about analytics and error monitoring?

Name each service, what it collects, why you use it and how long it keeps the data. For PostDeploy, Analytics sets no cookies, stores pages, referrers, campaigns, country, device and browser, and keeps 13 months. Monitoring keeps error reports for 7 days and issue summaries for 30. Adapt the example below and check it with someone qualified.

Last updated 26 November 2026. By Paul Badarau.

Kai runs a fictional online course site. He uses PostDeploy Analytics to count visits and PostDeploy Monitoring to catch JavaScript errors through @sentry/browser. His privacy policy still describes the cookie-based tool he removed a year ago. This is the section he wrote to replace it.

Analytics. We use PostDeploy Analytics to count visits to this site. It sets no cookies on your device. For each visit it records the page address without query parameters other than utm_source and utm_campaign, the domain of the site that linked here, the campaign that brought you, your country, your device and browser, and how long the page was visible. It does not store your IP address or your browser's user agent. To count daily visitors it uses a hash that changes every day. Browsers that send Do Not Track or Global Privacy Control are not counted. We keep this data for 13 months.

Error monitoring. We use PostDeploy Monitoring to receive reports when the JavaScript on this site fails. A report contains the error message, where in our code it happened, your browser, operating system and device, the page address without query values, a short list of events just before the error, and technical details such as our release and environment. It does not include cookies, request headers or bodies, user data or your IP address. Email addresses, tokens and card numbers in the text are redacted. Error reports are kept for 7 days and summaries of each problem for 30 days.

To write your own version:

  1. List every service that receives data from your visitors: analytics, error monitoring, forms, payments, email, embeds and fonts.
  2. For each one, say what it collects, why you use it, how long it keeps the data and who runs it.
  3. Say what visitors can do about it, such as sending Global Privacy Control or asking you to delete form data.
  4. Update the policy whenever you add a tool or change a privacy setting.

The facts for the Analytics section are on the Analytics page. Check the privacy rules on each Project before you copy the Do Not Track sentence, because Owners and Administrators can change them. If you also send logs or traces from the SDK, add them to the Monitoring section. Monitoring keeps raw logs and traces for 7 days too.

Be careful with the redaction sentence. Monitoring redacts known patterns, but free text is not guaranteed secret-free. If your code puts a customer's name or an address into an error message, it can end up in the report. Remove sensitive values in beforeSend before they leave the browser, and do not promise visitors more than the redaction does. If your law asks you to say where data is processed, get that detail from each service. This guide does not cover it.

The product page for this is Analytics.

Start your 14-day free trial