> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/analytics/consent-management-platform-cmp-analytics/cmp-metrics/consent-rate-vs-opt-in-rate.md).

# Consent rate vs Opt-in rate

{% hint style="success" %}
**Access Type**: Analytics - Viewer
{% endhint %}

While consent rate and opt-in rate both measure end-users who opt-into at least one vendor and purpose for a given a consent notice, they are categorically different. &#x20;

<table data-header-hidden><thead><tr><th width="158.4000244140625"></th><th></th></tr></thead><tbody><tr><td>Opt-in rate</td><td>Measures the percentage of end-users who have given consent (opt-in) over the number of times the consent notice was displayed to collect consent (consents asked). Unlike consent rate, the opt-in rate also takes into account end-users who did not response (no choice) to the consent notice.<br><br>That is, when the end-user was presented with a consent notice where they could opt-in, opt-out, or make no choice, what percentage chose to opt-in.</td></tr><tr><td>Consent rate</td><td>Measures the percentage of end-users who have given consent (opt-in) over all the users that have replied with a choice (opt-in or opt-out) to the consent notice. <br><br>That is, when an end-user made a choice, what percentage of those choices were opt-ins.</td></tr></tbody></table>

![](https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FjJ2tXDxwV8779AE4DNyM%2FCapture%20d%E2%80%99e%CC%81cran%202022-10-19%20a%CC%80%2010.46.45.webp?alt=media\&token=c1b4db88-9ba9-4a02-a0b0-cd3942e499e8)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.didomi.io/analytics/consent-management-platform-cmp-analytics/cmp-metrics/consent-rate-vs-opt-in-rate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
