> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adgentek.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Conversion tracking

> Measure outcomes with the Adgentek Conversions API.

CPA campaigns and outcome reporting require conversion events from your systems.

## Supported integration

Use the server-to-server Conversions API:

```text theme={null}
POST https://api.adgentek.ai/functions/v1/capi-conversions
x-api-key: YOUR_ADVERTISER_API_KEY
```

The API key needs the `capi` permission. The request contains your organization ID and an `events`
array. See [Event types](https://docs.adgentek.ai/advertisers/conversion-tracking/events.md) for the payload.

## Attribution

Preserve the `adgtclid` value from the landing URL and send it as `click_id` with the conversion.
Current ingestion uses last-click attribution. Send
`"attribution_window": "7d_click_1d_view"` when the campaign requires a seven-day click lookback;
the current handler applies a one-day click cutoff when that field is omitted.

## Browser pixel status

> [!WARNING]
>
> No public Adgentek browser-pixel hostname currently resolves. Do not deploy historical
> `pixel.adgentek.ai`, `t.adgentek.ai/px.js`, or `adgentekPixel(...)` snippets. Use the
> Conversions API until a production pixel endpoint is published and verified.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.