TrafficStars

How to Track TrafficStars Traffic

ClicksTracker tracks any TrafficStars format that sends visitors to a click URL, and connects to the TrafficStars API on every plan. Its Auto-Create tab creates popunder campaigns, each with its banner, from iOS, Android and Desktop templates, and the ad spot IDs you capture drive spot blocking, so every conversion traces back to the spot that produced it.

Last updated

What you will set up

A TrafficStars traffic source holding your API key, a Campaign URL that carries TrafficStars' click id and ad spot token, paused popunder campaigns from templates, and a two way postback so conversions reach both ClicksTracker and TrafficStars. You will use the ten custom tracking variables, v0 through v9, to record ad spot and site data.

Step by step

1

Add TrafficStars as a traffic source

Go to Traffic Sources, click Add Traffic Source, put TrafficStars in the name and click Create Traffic Source. ClicksTracker reads the network from the name when the traffic source is created, so the Integration tab appears, and a later rename does not change the network. Open the new traffic source, go to that tab, paste the API key from your TrafficStars profile page into the API Token field and click Save Credentials. Saving does not call TrafficStars, so click Test Connection: ClicksTracker exchanges the key for an access token, and tells a key TrafficStars rejected apart from a TrafficStars that did not answer in time.

Put TrafficStars' click id, {click_id}, on the External ID row, and map custom variables to the tokens you want to record, for example v0 = {adspot_id} and v1 = {site_id}. You set these on the traffic source's Settings tab and save them with Update Traffic Source; the create form has the same fields in its Traffic Source Parameters table, where Add Variable adds a custom variable row.

The same table has a Cost row, which starts ticked and adds cost={cost} to the URL. TrafficStars fills {cost} only on CPC, CPA and Popunder DCPM campaigns, and a number that arrives there replaces the campaign's cost for that click, divided by 1000 on a CPM campaign. Check the Cost of the first TrafficStars clicks in the Clicks & Conversions Log: on a CPM campaign it should be your bid divided by 1000. If it is not, untick Enable on the row and the campaign's cost value applies instead.

2

Create popunder campaigns with Auto-Create

On the traffic source's Auto-Create tab, pick the iOS, Android or Desktop templates, your Countries, the Flow every new campaign gets and its Domain. The templates are CPM campaigns; ClicksTracker looks up the popunder format and the OS ids through the TrafficStars API. Set the Bid (CPM), the Daily Budget, the Freq. Cap and, if you like, OS versions.

For each template and country ClicksTracker creates the campaign and one popunder banner whose link is the Campaign URL, then pauses the campaign at once, because TrafficStars starts a new campaign when its moderation approves it. The pause is a separate call; if it fails, the campaign can start after approval, so look over new campaigns in TrafficStars. If the banner step fails, the Auto-Create report names the TrafficStars campaign that was created anyway, so you can delete it there.

3

Use the generated Campaign URL

ClicksTracker builds the Campaign URL for you, and Auto-Create puts it into the banner of each campaign it makes. For a campaign you build in TrafficStars yourself, copy it from the campaign page into the popunder banner's link: ClicksTracker tracks its clicks and conversions, while Zone Optimization, Auto-Pause, the bid tools and Campaigns Sync act only on campaigns made with Auto-Create. With the Cost row unticked it carries the campaign ID plus the TrafficStars tokens you mapped:

https://track.yourdomain.com/click?cid=42&eid={click_id}&v0={adspot_id}&v1={site_id}
ParameterCarries
cidYour ClicksTracker campaign ID.
eidTrafficStars' click id, {click_id}, stored as the click's external_id for the return postback.
v0, v1The ad spot and site IDs ({adspot_id}, {site_id}), captured into the custom variables.

TrafficStars calls its zones ad spots and its publisher sites applications. {price} is your bid. Other TrafficStars tokens you can map into v2 to v9: {campaign_id}, {creative_id}, {format}, {geo}, {os}, {price}.

4

Capture ad spots in v0 to v9

With the ad spot IDs in a custom variable, the campaign's Variable Stats tab and your reports break performance down by ad spot. On the traffic source's Zone Optimization tab, pick the variable that carries {adspot_id} as the Zone Variable, set Min. Clicks (0 conversions) and the Date Range (Skip leaves out the latest days for late conversions), choose the campaigns and click Analyze, then block the ad spots you select through the TrafficStars API.

After each block ClicksTracker reads the campaign's excluded spots back and reports only the spots that are in that list. Protected Zones are never blocked, and Schedule runs the rule on its own. A whitelist on the campaign's Whitelisted Zones tab must keep at least one spot: removing the last one is refused, so pause the campaign instead.

5

Set the conversion postbacks

Inbound: in your affiliate network, point the postback at your ClicksTracker conversion URL (Settings, Tracking Setup has ready made templates for ten networks).

Outbound: In TrafficStars, open Tracking Tools, choose a custom tracker and press Generate: the URL already contains your advertiser key. Save it on the traffic source's Postbacks tab in ClicksTracker with the click id and payout macros:

https://tsyndicate.com/api/v1/cpa/action?clickid={external_id}&value={payout}&key=YOUR_ADVERTISER_KEY

Send the payout in value; the price parameter reports your own cost on CPA campaigns. ClicksTracker fills {external_id} with the TrafficStars click id stored on the click, and {payout} with the conversion's payout. See the postback setup guide for every macro and how failed deliveries are retried.

6

Start the campaigns

Start a paused campaign from the tracker when you are ready: on the traffic source's Campaigns Sync tab, select it, click Start at traffic source and confirm. Conversions then show up in near real time, as stats arrive in batches within about 30 seconds.

7

Optimize from the traffic source page

Auto-Pause lists the campaigns whose ROI is below your threshold once they reach your minimum clicks and spend; you select and confirm, TrafficStars pauses them, and ClicksTracker archives each one as soon as it is paused. TrafficStars has one bid per campaign and its API exposes no minimum bid, so Set Bids sets the bid you choose, raised to 0.1 when it is lower, and Boost Bids raises the bids of the campaigns that clear your ROI with the same floor, after a preview.

TrafficStars details worth knowing

  • Popunder is a format at TrafficStars, not a campaign type, which is why ClicksTracker looks the format up before it creates a campaign.
  • The bid is one price for the whole campaign. Auto-Create makes one campaign per template and country, so each country still gets its own bid.
  • The frequency cap belongs to the banner and is set once, when the banner is created.
  • Auto-Create records each campaign's bid as its cost, and Manual Update on the Cost Update page replaces it with the total you enter for the dates you pick.
  • Campaigns you archive in ClicksTracker are paused at TrafficStars within a minute; Undo on the archive message cancels the pause.

Start tracking TrafficStars campaigns

Connect TrafficStars with your API key and follow these steps in your own account.