Click Tracking

GET /api/ad/click — Track a click and redirect to the advertiser.

How It Works

The click_url from the serve response is a tracking redirect. When a user clicks your ad, the request hits our server which records the click, then redirects the user to the advertiser's landing page.

Clicks are deduplicated per IP, creative, and placement within a 1-hour window. Duplicate clicks still redirect the user but are not counted.

Usage

Use the click_url as the href on your ad's CTA link. Always open it in a new tab:

<a
  href="{click_url}"
  target="_blank"
  rel="noopener sponsored"
>
  {cta_text}
</a>
The rel="noopener sponsored" attribute is required. noopener prevents the target page from accessing your window object. sponsored tells search engines this is a paid link.

Redirect Behavior

The endpoint performs a 307 redirect to the advertiser's destination URL. If the creative or placement is invalid, the user is redirected to the Adventory homepage as a fallback.