
At a glance
How it works
1
TrafficForce sends the click
A visitor clicks your ad. TrafficForce opens your ClickFlare campaign URL and fills in its macros: the click ID in
cid, plus the site, channel, campaign, group, ad, keywords, country and language.2
ClickFlare stores the TrafficForce click ID
ClickFlare saves the value of
cid as the visit’s External ID and redirects the visitor to your lander or offer.3
The conversion reaches ClickFlare
Your affiliate network or store posts the conversion back to ClickFlare, matched on the ClickFlare click ID.
4
ClickFlare posts it back to TrafficForce
ClickFlare fires the TrafficForce postback, replacing
{external_id} with the stored TrafficForce click ID. TrafficForce matches it to the original click and updates its conversion and ROI stats.The mirror to keep straight: in the campaign URL you write ClickFlare’s parameter (
cid) and TrafficForce’s macro ({CLICK_ID}). The template does this for you. In the postback URL you write TrafficForce’s parameter (click_id) and ClickFlare’s token ({external_id}).Before you start
- Set up your own tracking domain. Run the campaign and the postback on your own custom domain. Shared domains get flagged by networks and blocked by browsers. See Custom Domains.
- Have an offer ready in ClickFlare, and its affiliate network set up to post conversions back to ClickFlare. See Creating an Offer and Adding an Affiliate Network.
- Know your average payout. TrafficForce does not read the payout from the postback. You enter it once, as Earnings per conversion, in TrafficForce’s conversion settings.
- Decide which conversion TrafficForce should receive. TrafficForce’s auto-optimization uses the conversions you send it. If your funnel has several steps (lead, then sale), pick the one that matters. See Choosing the event to send.
Step 1 – Create the campaign and the TrafficForce traffic source
- Go to Campaigns and click New.
- In Traffic Source, open the dropdown and click + New Traffic Source.
- Type
trafficforcein the search box and select the TrafficForce template. - Enter a Name, for example
TrafficForce. - Leave Cost currency on USD unless your TrafficForce account is billed in another currency.

site_id and channel_id are the ones you will use most: they tell you which sites and placements convert, so you can exclude or bid up channels in TrafficForce. The name rows (site_name, channel_name) make the same reports readable without looking IDs up.
Note the difference in case. The click ID macro is upper case, {CLICK_ID}, while the other TrafficForce macros are lower case. Type them exactly as shown.
Adding more TrafficForce macros
TrafficForce offers more macros than the template uses. Useful ones to add with Add Parameter:
Click Add Parameter, give the row a name and parameter, and enter the TrafficForce macro as the TS Token. ClickFlare assigns the next free tracking field. The template already uses ten tracking fields, so you have ten left.
Step 2 – Set up the postback
The postback is what sends conversions to TrafficForce. It lives on the traffic source, so every campaign that uses this TrafficForce traffic source sends conversions the same way.TrafficForce’s postback format
TrafficForce registers server-to-server conversions at one URL:<STORED_CLICK_ID> is the value TrafficForce put into {CLICK_ID} on the click. Your tracker stores it and sends it back. Nothing else goes in the URL: no payout, no account ID, no event name.
Add it to the traffic source in ClickFlare
- Back in the New Traffic Source form, scroll to Passing conversion info to traffic source.
- Turn on Traffic source postback URL. The template’s postback appears:
{external_id} token, in TrafficForce’s click_id parameter. There are no placeholders to replace.
- In the dropdown on the left, choose the ClickFlare event that should fire the postback. Keep Conversions to send every conversion. If your final action is a custom conversion (for example
purchase), choose that instead. - Click Save. You are back in the campaign editor with the TrafficForce traffic source selected.

Step 3 – Finish the campaign and copy its URL
- Name the campaign.
- Set the Cost Model to CPC and enter your cost per visit. The template doesn’t pass cost. See Cost.
- Choose Redirect or Direct tracking. Redirect is the usual choice for TrafficForce’s banner and popunder traffic.
- Click Next and, on Destination, add your lander (optional) and your offer.
- Save, open Tracking, select your own tracking domain and copy the campaign URL.
cid={CLICK_ID}, site_id={site_id} and channel_id={channel_id}.
If you use a lander, its call-to-action must link to the ClickFlare click URL, not to the offer directly. Otherwise the visit reaches the offer without a ClickFlare click ID, and the conversion cannot be traced back to TrafficForce.
See Creating a Campaign in ClickFlare.
Step 4 – Create the campaign in TrafficForce
TrafficForce sets conversion tracking per ad group, not per account. You turn it on in the group’s settings and describe the conversion there.- In TrafficForce, create a campaign and an ad group as usual: format, targeting, bid.
- Paste the ClickFlare campaign URL as the ad’s click URL.
- In the ad group’s settings, find the conversion section and turn on Enable Conversion Tracking. TrafficForce’s help places these settings under Ad Management → Manage Ads (creating or editing the group) and Ad Management → Conversions. Newer layouts show it as a conversion postback section in the ad group setup step.
- Fill in the conversion fields:
- Save the group and submit it.
Step 5 – Test the integration
TrafficForce does not document a test conversion tool, so test with a click.- Open the ClickFlare campaign URL in a browser, replacing
{CLICK_ID}with a test value, for examplecid=test123. - In ClickFlare, open the campaign’s report and check that the visit shows
test123as its External ID. - Complete the offer, or post a test conversion to ClickFlare for that click.
- Go to Logs → Postback Status and filter by the campaign. You should see a request to
delivery.trafficforce.com/conv.php?click_id=test123.
TrafficForce’s own postback ping
TrafficForce can also send a postback ping to your system when it registers a conversion, with tokens such as{CAMPAIGN}, {GROUP}, {AD}, {PROFIT}, {SITE} and {CHANNEL}. That is the opposite direction, for advertisers who track conversions in TrafficForce. With ClickFlare you don’t need it. Leave it empty.
Choosing the event to send
TrafficForce’s postback has no event or goal parameter. Every postback it receives counts as a conversion of the ad group’s Action Name. If your funnel has several steps, send TrafficForce only the one it should optimize on.- In ClickFlare, create a custom conversion for each step, for example
leadandpurchase. - On the TrafficForce traffic source, map the postback to the step TrafficForce should learn from, for example
purchase. - In TrafficForce, set Earnings per conversion to the payout of that step.
Sending more than one event
Sending more than one event
You can click + Another postback URL and map a second ClickFlare event to the same TrafficForce postback. TrafficForce then counts both as the same conversion, so raise Max conversions per click above 1, or it ignores the second one. Its conversion count and ROI then mix the two steps. Do this only if that is what you want.
Filtering which conversions are sent
Filtering which conversions are sent
To send a postback only for some conversions, for example only those above a certain payout, use Event filter under the postback to add conditions.
Cost
The template does not pass cost. It has no Cost row, and TrafficForce does not document a cost macro for the click URL. TrafficForce sells mostly on CPM. Set the campaign’s Cost Model to CPC and enter your CPM bid divided by 1,000 as the cost value. For example, a 2.00 CPM bid becomes 0.002 per visit. For popunders this is close, because one impression is roughly one visit. For banners and native, where only a fraction of impressions are clicked, divide your TrafficForce spend by its clicks instead, and update the value as your CTR changes.Don’t use Not Tracked with this template. With no cost in the URL and no cost integration, ClickFlare records zero cost and every campaign looks profitable.
Delayed revenue
If you run search arbitrage (RSOC or AFD) behind TrafficForce, the feed reports revenue hours or days after the click. ClickFlare can send a postback once that revenue arrives, but TrafficForce only receives the conversion, not the amount. See Sending Delayed Revenue to Traffic Sources.Troubleshooting
Conversions show in ClickFlare but not in TrafficForce
Conversions show in ClickFlare but not in TrafficForce
- Traffic source postback URL is off on the TrafficForce traffic source.
- Disable sending postbacks to traffic source is on in the campaign.
- Enable Conversion Tracking is off on the TrafficForce ad group.
- The conversion happened after the ad group’s Tracking Period.
- The postback is mapped to a different event than the one the conversion logged. Check Logs → Event Logs to see which event was recorded.
- Check Logs → Postback Status: a failed request shows the status code TrafficForce returned.
The postback goes out with an empty click_id
The postback goes out with an empty click_id
- The ad’s click URL in TrafficForce is missing
cid={CLICK_ID}, or the macro was edited. It must be upper case, as in the template. Copy the URL from ClickFlare again. - The
externalIdrow was edited or removed from the traffic source.
TrafficForce shows conversions but the wrong revenue
TrafficForce shows conversions but the wrong revenue
TrafficForce calculates revenue from Earnings per conversion on the ad group, not from ClickFlare. Update that value when your payout changes. ClickFlare’s own reports always use the real payout.
Cost is zero in ClickFlare
Cost is zero in ClickFlare
The campaign’s Cost Model is Not Tracked. The template passes no cost, so set the model to CPC with a cost per visit. See Cost.
Site or channel columns are empty
Site or channel columns are empty
The macros were not replaced, usually because the URL was edited or pasted somewhere TrafficForce doesn’t process macros. Paste the campaign URL from ClickFlare unchanged. See Traffic Source Tokens Arriving Empty.
FREQUENTLY ASKED QUESTIONS
Q1: Can I use the same TrafficForce traffic source for all my TrafficForce campaigns?A1: Yes. The postback is set once on the traffic source and every campaign using it sends conversions the same way. Conversion settings such as Earnings per conversion live on each TrafficForce ad group, so set them per group.
Q2: Why is itA2: They are two halves of the same value. ClickFlare reads TrafficForce’s click ID from its owncidin the campaign URL andclick_idin the postback?
cid parameter. TrafficForce expects it back in its own click_id parameter. Change neither.
Q3: Can ClickFlare send the payout to TrafficForce?A3: No. TrafficForce’s conversion URL only accepts the click ID. Enter your payout as Earnings per conversion in TrafficForce.
Q4: Should I use Redirect or Direct tracking with TrafficForce?A4: Redirect is the usual choice and works with every TrafficForce format. Use Direct only if TrafficForce must see your lander’s domain as the destination. See Direct Campaign Tracking.
Q5: Do I need TrafficForce’s conversion pixel as well?A5: No. The pixel and the S2S postback do the same job. Use the postback, because it fires from ClickFlare’s server and doesn’t depend on cookies in the visitor’s browser.
Related
Traffic source postbacks
Every token you can use in a postback.
Custom conversions
Split leads and sales into separate events.
Cost models
How CPC, CPA and RevShare costs are calculated.
Conversions not showing
The general checklist when postbacks don’t arrive.