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

# Track Page View

> First-party page view tracking for storefront analytics.

```bash theme={null}
POST /api/track
```

First-party analytics beacon. Rate limit: **120 / 60s**.

## Body

```json theme={null}
{
  "path": "/products/pro",
  "storeId": "optional-store-cuid"
}
```

Server derives UA, IP, referrer, and geo headers, then writes a page view (and may emit a live Pusher event).

## Response

```json theme={null}
{ "success": true }
```

## Notes

* There is **no** separate `MarktAnalytics` browser SDK today — call this endpoint yourself if you need first-party hits from a custom site.
* Merchant pixels (GA, Meta, TikTok, Crisp, Tawk) are configured in the dashboard and injected by the storefront after cookie consent. They are not this API.
* CSRF exempt.
