GET
/
radar
/
operator
/
v1
/
tracking-scripts
List tracking scripts
curl --request GET \
  --url https://api.snitcher.com/radar/operator/v1/tracking-scripts \
  --header 'Authorization: Bearer <token>'
{
  "current_page": 1,
  "last_page": 10,
  "per_page": 15,
  "total": 150,
  "next_page_url": "https://api.example.com/v1/workspaces?page=2",
  "prev_page_url": null,
  "first_page_url": "https://api.example.com/v1/workspaces?page=1",
  "last_page_url": "https://api.example.com/v1/workspaces?page=10",
  "path": "https://api.example.com/v1/workspaces",
  "from": 1,
  "to": 15,
  "data": [
    {
      "tracking_script_id": "<string>",
      "internal_identifier": "<string>",
      "description": "<string>",
      "active": true,
      "radar_config": {
        "profile_id": "<string>",
        "api_endpoint": "<string>",
        "cdn": "<string>",
        "namespace": "<string>",
        "features": {
          "debug_mode": true,
          "form_tracking": true,
          "click_tracking": true,
          "session_tracking": true,
          "error_capture": true
        },
        "transport": {
          "batch_size": 123,
          "flush_interval": 123,
          "use_beacon": true,
          "blocked_events": [
            "<string>"
          ]
        },
        "integrations": {
          "ga": {
            "connections": [
              {
                "measurement_id": "<string>",
                "ga_version": "<string>",
                "mappings": [
                  {
                    "attribute": "<string>",
                    "dimension": "<string>",
                    "fallback_value": "<string>"
                  }
                ]
              }
            ]
          }
        }
      }
    }
  ],
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Query Parameters

description
string

Optional description filter

Example:

"Homepage tracker"

internal_identifier
string

Optional internal identifier filter

Example:

"homepage-tracker"

page
integer

The page number for pagination

Example:

1

size
integer

The number of trackingscripts per page (1-1000)

Required range: 1 <= x <= 1000
Example:

10

Response

200
application/json

Tracking scripts retrieved successfully

The response is of type object.