# Serve the tracking pixel

**Publié le** : 2026-05-12
**Catégorie** : Analytics & Tracking

## `GET /analytics/pixel`

**Serve the tracking pixel**

Return a 35-byte transparent 1x1 GIF used as a fallback tracking
beacon when JavaScript is disabled or `navigator.sendBeacon` is
unavailable. Records the page view by reading the visitor cookie
plus the request headers, regardless of whether the response
carries a useful body. The pixel always returns 200 with the GIF;
excluded IPs, excluded paths, and disabled tracking still get a
valid image (silent disposition).

### Parameters

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


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |


> **Notes:** Content type: `image/gif`. Content-Length: 35. Sets `Cache-Control: private, max-age=60` and `X-Visitor-Id: <id>` when present.
> Rate-limit bucket: pixel (~3000 rpm per IP).

### Examples

```html
<img
  src="https://api.lynkow.com/public/{siteId}/analytics/pixel?p=/pricing&r=https://duckduckgo.com/"
  width="1" height="1" alt="" loading="lazy" />
```

### Response Example

```json
"(binary: 35-byte transparent GIF, application/octet-stream representation suppressed)\n"
```

---