> Site index: https://usehardal.com/llms.txt
> Every content route also serves markdown at <url>.md

# Pull Conversion Counts by Consent Status From the Reports API

The new GET /v1/reports/acquisition/conversions-by-consent endpoint returns daily conversion counts split by consented vs denied or unknown consent.

Source: https://usehardal.com/blog/reports-api-conversions-by-consent
Published: 2026-12-03T10:00:00
Updated: 2026-12-03T10:00:00
Author: Emircan Uye
Category: Hardal Guides

---

The [Revenue by Consent](https://usehardal.com/blog/revenue-by-consent) chart in the Commerce report shows daily revenue split by consent status. Teams asked for the same breakdown on conversions, available through the API so they can feed it into their own dashboards and warehouses.

The public Reports API now exposes `GET /v1/reports/acquisition/conversions-by-consent`. It returns a daily series of conversion counts split into two groups: Consented and Denied or Unknown.

## What the endpoint returns

The response is a time series. Each day in your selected range includes two buckets:

- **Consented**: conversions from visitors who accepted consent and had a visitor ID attached to the conversion event.
- **Denied or Unknown**: conversions from visitors who declined consent, whose identifier expired before conversion, or who never interacted with your consent banner.

This matches the grouping logic the dashboard uses for the Conversions by Consent chart in the Acquisition report. The API lets you pull the same data into your own tools.

## How to call the endpoint

The endpoint follows the same patterns as the rest of the [/v1 Reports API](https://usehardal.com/blog/hardal-mcp-reports-api). Pass your tenant ID and date range as query parameters, and authenticate with a Bearer token.

```bash
curl -X GET \
  "https://api.usehardal.com/v1/reports/acquisition/conversions-by-consent?tenantId=YOUR_TENANT_ID&startDate=2026-11-01&endDate=2026-11-30" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

The response includes a `data` array with one entry per day. Each entry contains the date and the conversion counts for each consent group.

## Date range limits

The endpoint accepts date ranges up to 366 days. If you request a longer range, the response includes an out-of-range flag and returns empty data. This keeps response sizes reasonable and prevents queries that would aggregate over incomplete periods.

If your selected range has no conversions, the response returns empty arrays. This is not an error. It means the query ran successfully and found no matching data.

## Authorization

The endpoint uses the same authorization as other Reports API endpoints. It is tenant-scoped and read-only.

If you already have an API key from the Connections page in Beacon with the `reports:read` scope, that key works here. Create keys under your organisation settings in Beacon. Keys are scoped to specific tenants and shown only once at creation.

OAuth tokens from the [Hardal MCP](https://usehardal.com/blog/hardal-mcp-reports-api) flow also work, since they carry the same read permissions.

## Attribution defaults

The endpoint uses the Acquisition attribution defaults configured in your tenant settings. This includes your selected attribution model, lookback window, and conversion events. The consent breakdown applies on top of those settings.

If you change your attribution configuration, the numbers from this endpoint reflect that change. Keep your attribution settings consistent when comparing data across time periods.

## Why this matters

Knowing how many conversions come with consent versus without helps you understand your measurement coverage. If 15% of conversions land in the Denied or Unknown bucket, your ad platforms are missing that portion of your signal.

Pulling this data into your warehouse or BI tool lets you:

- **Track consent rate trends over time.** A rising denied rate might mean your consent banner changed or a new traffic source has different user behavior.
- **Correlate consent with campaigns.** Some campaigns attract visitors who are more likely to accept consent. This shows up in the daily breakdown when you filter by date ranges around campaign launches.
- **Feed dashboards that combine Hardal data with other sources.** A unified view of consent impact across your analytics and CRM helps you explain revenue gaps to stakeholders.
- **Spot consent banner or CMP problems.** A sudden spike in Denied or Unknown can indicate a banner misconfiguration or a CMP outage.

## What this does not do

The consent breakdown tells you how many conversions your analytics captured with and without full visitor context. It does not tell you why a visitor is in the Denied or Unknown group. The cause could be a declined banner, an expired identifier from Safari ITP, an ad blocker, or a visitor who bounced before the banner loaded.

[Server-side tracking](https://usehardal.com/blog/server-side-tracking) gives you a more complete picture of your traffic, but it does not let you track visitors who declined consent. Hardal reads the consent state your banner sets and applies it before forwarding events to any destination. See [Consent Mode](https://usehardal.com/glossary/consent-mode) for how consent signals flow through your measurement setup.

## Availability

This endpoint is live on stage now. Production rollout is pending.

If you have access to a staging environment with the Reports API, you can start testing the endpoint and integrating it into your workflows before production release.

## Start using it

If you already have an API key with `reports:read` scope, call the endpoint with your tenant ID and date range.

If you do not have an API key yet, see [Hardal MCP and the Reports API](https://usehardal.com/blog/hardal-mcp-reports-api) for how to create one on the Connections page in Beacon. The authentication and scoping work the same way.

Hardal is the first-party data and agentic analytics platform. We help enterprises send accurate signals to their ad platforms and grow revenue, using server-side data from their websites, mobile apps and AI agents.
