# Consent Event Tracking

> Learn how Ours Privacy CMP tracks consent activity and supports analytics, compliance, and audit workflows.

Source: https://docs.oursprivacy.com/docs/cookie-consent/consent-tracking

Ours Privacy CMP automatically tracks consent activity in your Ours Privacy account.

This gives your team an aggregate view of consent behavior over time and supports compliance workflows with evidence you can export.

For the definitions of banner views, opt-ins, opt-outs, dismissals, and no action in the dashboard, see [Consent Analytics](https://docs.oursprivacy.com/docs/consent-analytics#how-outcomes-are-counted).

![The Analytics tab of Consent Analytics for the Ours Health main site, where the View Trends chart plots 30 days of daily banner views as bars with explicit opt-ins, explicit opt-outs, and close icon clicks as lines.](https://docs.oursprivacy.com/img/cookie-consent/cookie-consent-img-32.jpg)

## What Tracking Supports

Consent tracking helps you:

* monitor consent trends over time
* understand how visitors interact with your consent experience
* investigate specific consent decisions when needed
* generate **auditor-grade receipts** for compliance reviews

## What Is Included

Consent tracking captures the context needed for reporting and audits, including:

* consent decisions and updates
* timing of user actions
* visitor-level linkage for investigation
* location and policy context for compliance review

Common fields include:

* `consent_id`: stable consent identifier used for audit linkage
* `consent_setting_id`: CMP consent setting (widget/config) id
* `published_version_id` and `published_version_number`: published configuration version at event time
* `selected_rule_kind` and `selected_rule_label`: regional/policy rule selected at event time
* region and country context

## Configuration Requirements

To enable consent tracking:

1. Set a valid **Web SDK Token** in CMP settings.
2. Publish your CMP configuration.
3. Ensure the CMP script loads before non-essential trackers.

## Next Steps

* **[Auditing and Reporting](https://docs.oursprivacy.com/docs/cookie-consent/auditing-and-reporting)**: Generate compliance-ready exports
* **[General Settings](https://docs.oursprivacy.com/docs/cookie-consent/general-settings)**: Configure consent and policy behavior
