Skip to main content
POST
Generate a tracking script

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Body

application/json

Tracking script generation parameters

internal_identifier
string
required

The identifier for the tracking script as used in your system. Should be unique for every generated tracking script

Example:

"my-tracking-script"

description
string

A description for the tracking script

Example:

"This is a tracking script for my website"

domains
string[]

Domains to whitelist for this tracking script. Only traffic from these domains (and their subdomains) is accepted.

Response

Tracking script generated successfully

success
boolean
Example:

true

data
object[]