POST /token_matchers

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/token_matchers

Create record.

Creates a token matcher that maps a URL parameter to a Trackdrive token, so values passed in that parameter are captured for tracking and optimization.

Params

Param name Description
offer_id
Optional

Assign the record to this Offer.

owner_id
Optional

The ID for the record that owns this record.

  • Must be an 8-bit integer ID or a 128-bit UUID reference to an object on Trackdrive. Example ID: 289302820, Example UUID: 924c37d5-e70f-42ad-84c2-e85eb0c1bc21

owner_type
Optional

The type of record that owns this record.

  • Must be a String

token_key
Required

The internal token name where values are stored.

  • Must be a String

url_param_key
Required

This URL key will be assigned to a Trackdrive Token.

  • Must be a String

sortable_order
Optional Blank value allowed

The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.

  • Must be a decimal number.

token_id
Optional Blank value allowed

Link directly to an existing Token by its id instead of matching by token name.