> 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>

![](/files/jeJclmViAMwCHQPvb8vG)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
