---
title: "Check tracking setup"
method: POST
path: "/websites/isTrackingSetup"
tags: ["Websites"]
---

# Check tracking setup

`POST /websites/isTrackingSetup`

## Request

- Base URL: `https://api.databuddy.cc`
- URL: `https://api.databuddy.cc/websites/isTrackingSetup`
- Auth: API key in header `x-api-key`

Checks if tracking is set up for a website. Requires website read permission.

## Request body

- object
  - `websiteId` string, required

## Response `200`

OK

- object
  - `tracking_setup` boolean, required
  - `integration_type` string, nullable, required
  - `has_events` boolean, required
  - `recent_events` number, required
  - `status_message` string, required
  - `tracking_issue` object, nullable, required
    - `count` number, required
    - `expectedDomain` string, nullable, required
    - `fix` string, required
    - `lastSeen` string, nullable, required
    - `message` string, required
    - `origin` string, nullable, required
    - `originHost` string, nullable, required
    - `severity` 'critical' | 'warning', required
    - `type` 'origin_not_authorized' | 'ip_not_authorized', required
  - `local_install` object, nullable, required
    - `host` string, required
    - `seen_at` string, required

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

---

[API](https://skmtc.dev/databuddy/apis/databuddy-api.md) - [All operations](https://skmtc.dev/databuddy/apis/databuddy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/databuddy/apis/databuddy-api/revisions/ddfbba648d52?raw)
