# TrafficFactory tracking tokens and postback URL

> Every TrafficFactory tracking token, the click ID, the cost macro and the S2S conversion postback, ready to copy into any tracker.

HTML version: https://www.proferex.com/tracking-tokens/trafficfactory

TrafficFactory sells display, pop and video ads. (Source: https://doc.voluum.com/article/trafficfactory-as-a-traffic-source)

## Click ID

Macro: `{conversions_tracking}`. Pass it as `externalid` and send it back in the postback.

## Cost per visit

Not passed in the link. Set the cost on your campaign or import it.

## Tracking tokens

| What it tracks | Parameter | Macro |
|---|---|---|
| Campaign ID | `campaign_id` | `{campaign_id}` |
| Variation ID | `variation_id` | `{variation_id}` |
| Zone ID | `zone_id` | `{zone_id}` |
| Site ID | `site_id` | `{site_id}` |
| Site Name | `site_name` | `{src_hostname}` |
| Sub ID | `sub_id` | `{sub}` |
| Category ID | `category_id` | `{category_id}` |
| Keyword | `keyword` | `{keyword}` |
| Ad Format | `format` | `{format}` |

## Example tracking link

```
https://track.yourdomain.com/your-campaign?externalid={conversions_tracking}&campaign_id={campaign_id}&variation_id={variation_id}&zone_id={zone_id}&site_id={site_id}&site_name={src_hostname}&sub_id={sub}&category_id={category_id}&keyword={keyword}&format={format}
```

## Conversion postback

```
https://YOUR_CONVERSION_HOST/tag.php?goal=YOUR_GOAL_ID&tag={externalid}
```

`{externalid}` is the click ID; `{payout}` is the conversion value.
Replace `YOUR_CONVERSION_HOST` and `YOUR_GOAL_ID` with your TrafficFactory account values.

Where to find it in TrafficFactory: In TrafficFactory go to Campaigns > Conversion Tracking, create or select a goal, and copy the host and goal ID from its postback URL into YOUR_CONVERSION_HOST and YOUR_GOAL_ID (add &value={payout} only for a Dynamic value goal).

## FAQ

### What ad formats does TrafficFactory sell?

TrafficFactory sells display, pop and video ads. Every format uses the same tracking tokens and postback.

### What is the TrafficFactory click ID macro?

It's {conversions_tracking}. Add it to your tracking link, and your tracker sends it back to TrafficFactory in the postback when the visitor converts.

### Does TrafficFactory pass the cost of each visit?

Not in the link. Set the cost on your campaign in your tracker, or import it.

### What is the TrafficFactory postback URL?

https://YOUR_CONVERSION_HOST/tag.php?goal=YOUR_GOAL_ID&tag={externalid}. Replace YOUR_CONVERSION_HOST and YOUR_GOAL_ID with the values from your TrafficFactory account. In TrafficFactory go to Campaigns > Conversion Tracking, create or select a goal, and copy the host and goal ID from its postback URL into YOUR_CONVERSION_HOST and YOUR_GOAL_ID (add &value={payout} only for a Dynamic value goal).

### How do I track TrafficFactory in Proferex?

In Traffic Sources, click New and pick TrafficFactory from Templates. The click ID, tokens and postback are filled in for you. Then create a campaign and copy its link into TrafficFactory.

## Set it up in Proferex

In Traffic Sources, click New and pick TrafficFactory from Templates: the click ID, tokens and postback are filled in. Then create a campaign and copy its link into TrafficFactory.

All traffic sources: https://www.proferex.com/tracking-tokens/index.md
