Tracker (Stream)

Add a traffic source (campaign) to a tracker

Changed on

Registers a new traffic source (e.g. a new FB ad campaign) pointing at this tracker. Defaults to MODERATION status. Use the returned id as the campaignId query param on the tracker link for that new campaign's destination URL.

post/api/v1/tracker/{tracker_id}/campaigns

Request

Path parameters

tracker_idstring uuid required

Request body

namestring nullable

Optional ops-facing label for this traffic source

status'ACTIVE' | 'MODERATION'

Response

Successful Response

idstring uuid required

Use this value as the campaignId query param on the tracker link

trackerIdstring uuid required
namestring nullable
status'ACTIVE' | 'MODERATION' required
createdAtstring date-time required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status