Trackhouse Tokens

Trackhouse supports dynamic replacement tokens in Destination Links (for passing values to the offer/landing page) and Traffic Source Notifications (for passing values back to the Traffic Source on conversion).

Token usage

Trackhouse uses the following token format: {token} This format can be used in:

  1. Destination Links - tokens will be replaced by an appropriate value (either from the click or a reserved parameter). More on this below..
  2. Traffic Source Notification URL (including Campaign specific override) - tokens will be replaced by an appropriate value (either from the click or a reserved parameter). More on this below..

Reserved tokens

There are some tokens reserved by the Trackhouse platform for replacement with specific values, as follows:

TokenDescription
{trfk_id}replaced with Trackhouse's unique event id, by default this is added to the destination link and should be passed back in conversion notifications
{trfk_payout}the payout value specified in the Campaign settings
{trfk_payout_currency}the payout currency specified in the Campaign settings
{trfk_referrer}used as a test override for request referrer
{trfk_ua}used in test requests as an override for the user agent
{trfk_ip}used in test requests as an override for the user IP Address
{trfk_timestamp}used as a test override for event timestamp
{trfk_event}Event type, e.g trfk_custom1, 1, etc.. Custom Event
{trfk_cref}Campaign reference
{trfk_tsref}Traffic Source Reference

Request Parameters

Values sent in the click/event request. The value of any parameter that is included in the click request (i.e in the campaign link) can be used in:

  • a) Destination Links and
  • b) Traffic Source notifications

This is achieved using the following token format: {parameterName}

Example Campaign link:

https://link.trkhs.com/C38WE/TNR0K?tid=559348&subid=32

{tid} in Destination Link or Traffic Source Notification Url would be replaced with 559348
{subid} in Destination Link or Traffic Source Notification Url would be replaced with 32

External (Traffic Source) Tokens

Traffic source specific tokens can be included in the "Source Parameters" querystring (which is included in all campaign links for that traffic source, for easy insertion into the traffic source's system).

Note that these tokens are NOT replaced by Trackhouse but by the Traffic Source at click time (and this format may be different to Trackhouse's {token} format. e.g It could be #token# [tokenid]. See more info on Traffic Source Parameters

Source Params