---
title: "Track Click"
method: POST
path: "/api/marketplace/track/click"
tags: ["Marketplace"]
---

# Track Click

`POST /api/marketplace/track/click`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/marketplace/track/click`
- Auth: HTTP bearer

Log an affiliate click event for analytics and attribution.

## Request body

- TrackClickRequest
  - `product_id` string, required
  - `source` string

## Response `200`

Successful Response

- TrackClickResponse
  - `click_id` string, required
  - `tracked` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
