Skip to main content
POST
Create a tracking script filter

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Path Parameters

trackingScriptId
string
required

The ID of the tracking script to create a filter for

Example:

"12345"

Body

application/json

Tracking script filter parameters

tracking_script_filter_type
enum<string>
required

The type of the filter (blacklist or whitelist)

Available options:
blacklist,
whitelist
Example:

"blacklist"

tracking_script_filter_field
enum<string>
required

The field to filter on (country or url)

Available options:
country,
url
Example:

"country"

filter_value
string
required

The value to filter on, e.g. 'US' for country or a URL for url field

Example:

"US"

Response

200 - application/json

Tracking script filter created successfully

success
boolean
Example:

true

data
object