Consent Analytics

Account-wide consent analytics that span every configured CMP record. Returns total dispatches attempted, total blocked, and a per-category breakdown of blocks for a date window.

Account-wide consent analytics that span every configured CMP record. The Global Consent Center report returns total dispatches attempted, total blocked, and a per-category breakdown of the blocks for a date window. Per-CMP analytics (time-series, per-page, per-region) live on the Consent Settings endpoints.

GET
/rest/v1/consent-analytics
AuthorizationBearer <token>

Ours Privacy API key

In: header

Query Parameters

from*string

Inclusive lower bound of the analytics window, as a UTC calendar day in YYYY-MM-DD format. The window between from and to must be 60 days or fewer.

Match^\d{4}-\d{2}-\d{2}$
to*string

Inclusive upper bound of the analytics window, as a UTC calendar day in YYYY-MM-DD format. The window between from and to must be 60 days or fewer.

Match^\d{4}-\d{2}-\d{2}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.oursprivacy.com/rest/v1/consent-analytics?from=2026-04-01&to=2026-04-30"
{
  "totalDispatches": 0,
  "totalBlocked": 0,
  "items": [
    {
      "categoryName": "string",
      "blockedCount": 0,
      "percentageBlocked": 0
    }
  ]
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}

How is this guide?