> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# Serve the tracking pixel

**Published**: 2026-11-30
**Category**: Analytics & Tracking

## `GET /analytics/pixel`

**Serve the tracking pixel**

Returns a 42-byte transparent 1x1 GIF. The Lynkow tracker loads it
once the visitor accepts analytics cookies.

With `consent=1` and no visitor cookie yet, the response sets the
HttpOnly visitor cookie for 400 days, partitioned to the site that
loads the pixel, and links it to the `fp` fingerprint. Otherwise no
visitor cookie is set, and invalid query parameters still get the
GIF. Any response expires an older visitor cookie the browser still
sends.

Records no page view: send events to `POST /analytics/events`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `consent` | query | "0" \| "1" | No | One of: 0, 1 |
| `fp` | query | string | No | 8-64 characters |
| `t` | query | string | No | Cache-buster timestamp |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `402` | The site subscription does not currently permit this operation |


> **Notes:** Content type: `image/gif`. Sets `Cache-Control: private, max-age=60`
> and `X-Visitor-Source`. Rate-limit bucket: pixel, 120 requests per
> minute per site and client.

### Examples

```html
<img
  src="https://api.lynkow.com/storefront/{siteId}/analytics/pixel?consent=1&fp=a3f9c2e47b1d8e60&t=1767225600000"
  width="1" height="1" alt="" />
```

### Response Example

```
(binary: 42-byte transparent GIF, application/octet-stream representation suppressed)
```

---