v1

latestOpenAPI 3.0.02026-07-26392662.9 KB
Tracking scripts

Create a tracking script filter

post/radar/operator/v1/tracking-scripts/{trackingScriptId}/filters

Path parameters

trackingScriptIdstring required
Example:12345

The ID of the tracking script to create a filter for

Request body

tracking_script_filter_type'blacklist' | 'whitelist' required

The type of the filter (blacklist or whitelist)

tracking_script_filter_field'country' | 'url' required

The field to filter on (country or url)

filter_valuestring required

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

Example request

{
  "tracking_script_filter_type": "blacklist",
  "tracking_script_filter_field": "country",
  "filter_value": "US"
}

Response

Tracking script filter created successfully

successboolean

Example response

{
  "success": true
}