# TrafficStars tracking tokens and postback URL

> Every TrafficStars 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/trafficstars

TrafficStars sells pop, video, native, display and push ads. (Source: https://trafficstars.com/)

## Click ID

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

## Cost per visit

Macro: `{cost}`, passed as `cost`.

## Tracking tokens

| What it tracks | Parameter | Macro |
|---|---|---|
| Campaign ID | `campaign_id` | `{campaign_id}` |
| Creative ID | `creative_id` | `{creative_id}` |
| Spot ID | `adspot_id` | `{adspot_id}` |
| Spot Name | `adspot_name` | `{adspot_name}` |
| Site ID | `site_id` | `{site_id}` |
| Site Host | `site_host` | `{site_host}` |
| Category | `category` | `{category}` |
| Keywords | `keywords` | `{keywords}` |
| Referrer | `referrer` | `{referrer}` |
| Device Type | `device_type` | `{device_type}` |

## Example tracking link

```
https://track.yourdomain.com/your-campaign?externalid={click_id}&cost={cost}&campaign_id={campaign_id}&creative_id={creative_id}&adspot_id={adspot_id}&adspot_name={adspot_name}&site_id={site_id}&site_host={site_host}&category={category}&keywords={keywords}&referrer={referrer}&device_type={device_type}
```

## Conversion postback

```
https://tsyndicate.com/api/v1/cpa/action?key=YOUR_SECRET_KEY&clickid={externalid}&goalid=0&value={payout}
```

`{externalid}` is the click ID; `{payout}` is the conversion value.
Replace `YOUR_SECRET_KEY` with your TrafficStars account values.

## FAQ

### What ad formats does TrafficStars sell?

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

### What is the TrafficStars click ID macro?

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

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

Yes, in {cost}. Add it to your link and your tracker can show profit without importing spend.

### What is the TrafficStars postback URL?

https://tsyndicate.com/api/v1/cpa/action?key=YOUR_SECRET_KEY&clickid={externalid}&goalid=0&value={payout}. Replace YOUR_SECRET_KEY with the values from your TrafficStars account. 

### How do I track TrafficStars in Proferex?

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

## Set it up in Proferex

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

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