PilotFoxDocs

Get the tracker's site configuration

GET
/api/c/{publicId}

What the tracker reads on each page load: the site's tracking settings (what to capture and how), the session replay settings, and whether to honor Global Privacy Control. No credential; cacheable for 60 seconds. 404 for an unknown site, 429 past its own per-client rate limit.

Path Parameters

publicId*string

Response Body

OK

application/json
  1. response
tracking*
replay*
respectGpc*boolean
persistentId*false
Value infalse
Example Request
curl -X GET 'https://pilotfox.app/api/c/string'
Example Response200
{  "tracking": {    "initialPageview": true,    "spa": true,    "hashRouting": false,    "querystring": true,    "outbound": true,    "clicks": false,    "forms": false,    "copy": false,    "inputs": false,    "errors": false,    "vitals": false,    "paymentLinks": true  },  "replay": {    "enabled": true,    "sampleRate": 0,    "maskAllInputs": true,    "maskTextSelector": "string",    "blockSelector": "string",    "excludedPaths": [      "string"    ],    "allowedHostnames": [      "string"    ]  },  "respectGpc": true,  "persistentId": false}