
At a glance
How it works
1
ActiveRevenue sends the click
A visitor clicks your ad. ActiveRevenue opens your ClickFlare campaign URL and fills in its macros: the click ID in
conversion, plus the publisher feed, banner, sub-source, keyword, carrier, campaign, state and IP.2
ClickFlare stores the ActiveRevenue click ID
ClickFlare saves the value of
conversion 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 ActiveRevenue
ClickFlare fires the ActiveRevenue postback, replacing
{external_id} with the stored ActiveRevenue click ID and {payout} with the revenue. ActiveRevenue matches it to the original click through c.The mirror to keep straight: in the campaign URL you write ClickFlare’s parameter (
conversion) and ActiveRevenue’s macro ({conversion}). The template does this for you. In the postback URL you write ActiveRevenue’s parameter (c) 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 how you will buy. ActiveRevenue sells on CPC, CPM and CPA. The template passes no cost, so the buying model decides your ClickFlare cost model. See Cost.
- Decide which conversions ActiveRevenue should receive. Its Target CPA bidding optimizes on what you send it. If your funnel has several steps (lead, then sale), decide now whether to send one event or several. See Tracking several events.
Step 1 – Create the campaign and the ActiveRevenue traffic source
- Go to Campaigns and click New.
- In Traffic Source, open the dropdown and click + New Traffic Source.
- Type
activerevenuein the search box and select the ActiveRevenue template. - Enter a Name, for example
ActiveRevenue. - Leave Cost currency on USD unless your ActiveRevenue account is billed in another currency.

pubfeed and source_subid are the ones you will use most: together they tell you which publishers and sub-sources convert, so you can exclude or bid up sources in ActiveRevenue.
The campaign ID row is not a typo you need to fix. The parameter in the URL is campaign_id, while ActiveRevenue’s macro is {campaign}. The ip row stores the IP in a tracking field. ClickFlare records the visitor’s IP on every visit anyway, so you can use this field for something else if you need one more.
To pass more ActiveRevenue data, click Add Parameter, give it a name and parameter, and enter the ActiveRevenue macro as the TS Token. ClickFlare assigns the next free tracking field. Ask your ActiveRevenue account manager which macros your account supports before adding them.
Step 2 – Set up the postback
The postback is what sends conversions to ActiveRevenue. It lives on the traffic source, so every campaign that uses this ActiveRevenue traffic source sends conversions the same way.What the ActiveRevenue postback contains
ActiveRevenue’s conversion endpoint isxml.activerevenue.com/conversion. It reads these parameters:
At least one goal must exist on the ActiveRevenue campaign for a postback without
id to be counted.
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}) and the payout as the conversion value ({payout}), both as ClickFlare tokens. count=1 records one conversion per postback. There is nothing to replace.
- Change
http://tohttps://at the start of the URL, so the postback travels encrypted. The ActiveRevenue host answers on both. The result:
- 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 ActiveRevenue traffic source selected.
value in your account currency. If your offers pay in another currency, ClickFlare’s {payout} follows your ClickFlare account currency. See Multicurrency in ClickFlare.
To learn what each postback token does, see How to Configure a Traffic Source S2S Postback URL.
Step 3 – Finish the campaign and copy its URL
- Name the campaign.
- Set the Cost Model to CPC, CPA, or Not Tracked, depending on how you buy. See Cost.
- Choose Redirect or Direct tracking. Redirect is the usual choice for ActiveRevenue’s popunder, push and native 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.
conversion={conversion} and pubfeed={pubfeed}.
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 ActiveRevenue.
See Creating a Campaign in ClickFlare.
Step 4 – Create the campaign in ActiveRevenue
- In ActiveRevenue, go to Campaigns and create a campaign.
- Choose the campaign type (CPC, CPM or CPA), the ad format, targeting, budget and bid as usual.
- Create the ad and paste the ClickFlare campaign URL into the Destination URL field.
- Click Submit, then Finish.
- Make sure the campaign has at least one conversion goal. Without a goal, ActiveRevenue has nowhere to record the postback.
{...} macro when the ad is clicked.
ActiveRevenue reviews new campaigns before they serve. Approval usually takes 2–4 hours, and you get an email when the campaign is approved.
Step 5 – Test the integration
- Once the campaign is approved and running, click one of your own ads, or open the campaign URL with test values filled in by hand, for example
conversion=test123. - In ClickFlare, check that the visit appears in the campaign with an External ID and a pubfeed value.
- Complete the offer, or fire a test conversion from your affiliate network to ClickFlare.
- In ClickFlare, go to Logs → Postback Status and filter by the campaign. A successful request to
xml.activerevenue.comconfirms ClickFlare sent the postback. - In ActiveRevenue’s reporting, check that the conversion appears on the campaign. ActiveRevenue can take up to an hour to show conversions.
Tracking several events
ActiveRevenue supports several goals in one campaign, for example a registration and a purchase. Each goal has its own ID. To send each event to its own goal, add&id= with the goal ID to each postback:
- In ActiveRevenue, create a goal for each step and note each goal’s ID. Ask your account manager if you can’t find the goal IDs.
- In ClickFlare, create a custom conversion for each step, for example
leadandpurchase. - On the ActiveRevenue traffic source, click + Another postback URL once per extra event.
- Map each postback to its ClickFlare event: the
leadcustom conversion to the URL with the registration goal ID,purchaseto the URL with the purchase goal ID. - Replace
GOAL_ID_1andGOAL_ID_2with the real goal IDs.
Rules for multi-goal postbacks
Rules for multi-goal postbacks
- One postback per goal. Don’t combine goals in one URL.
- A postback without
idcounts toward the campaign’s first goal. - Keep
c={external_id}in every postback. The goal ID tells ActiveRevenue which goal, the click ID tells it which click.
Sending only one event
Sending only one event
If ActiveRevenue should only learn from your final sale, keep a single postback and map it to that event. Earlier steps (leads, registrations) still show in ClickFlare. They just don’t reach ActiveRevenue.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, so ClickFlare cannot read the price of each click from the URL. Set the cost model on the campaign to match how you buy:With auto-bidding or Target CPA, your real price per click changes all the time, so a fixed CPC value is only an estimate. Compare the Cost column with your ActiveRevenue spend after launch, and correct the difference with a manual cost upload.
{cost} as the ClickFlare token. Then set the Cost Model to Not Tracked, so ClickFlare uses the cost passed in the URL.
ClickFlare has no cost-tracking API integration for ActiveRevenue. See Cost Models.
Delayed revenue
If you run search arbitrage (RSOC or AFD) behind ActiveRevenue, the feed reports revenue hours or days after the click. To pass that revenue to ActiveRevenue once it arrives, see Sending Delayed Revenue to Traffic Sources.Troubleshooting
Conversions show in ClickFlare but not in ActiveRevenue
Conversions show in ClickFlare but not in ActiveRevenue
- Traffic source postback URL is off on the ActiveRevenue traffic source.
- Disable sending postbacks to traffic source is on in the campaign.
- The postback is mapped to a different event than the one the conversion logged. Check Logs → Event Logs to see which event was recorded.
- The ActiveRevenue campaign has no goal, or the
idin the postback doesn’t match a goal on that campaign. - ActiveRevenue’s reporting can lag by up to an hour. Wait, then check again.
- Check Logs → Postback Status: a failed request shows the status code ActiveRevenue returned.
The postback reaches ActiveRevenue but the conversion isn't counted
The postback reaches ActiveRevenue but the conversion isn't counted
- The campaign URL in ActiveRevenue is missing
conversion={conversion}, or the macro was edited. Copy the URL from ClickFlare again. - The postback sends the click ID in a parameter other than
c. - The
externalIdrow was removed from the traffic source.
ActiveRevenue shows conversions with no value
ActiveRevenue shows conversions with no value
The template sends
value={payout}, so it was removed or edited. Without it, ActiveRevenue records a value of 0. Restore &value={payout} at the end of the postback.The Cost column doesn't match ActiveRevenue's spend
The Cost column doesn't match ActiveRevenue's spend
The template passes no cost, so ClickFlare uses the value you set in the cost model. Update the value when you change your bid, or correct past days with a manual cost upload.
Pubfeed or other columns are empty
Pubfeed or other columns are empty
The macros were not replaced, usually because the URL was edited. Paste the campaign URL from ClickFlare unchanged.
query and keyword only fill on search and keyword traffic. See Traffic Source Tokens Arriving Empty.FREQUENTLY ASKED QUESTIONS
Q1: Can I use the same ActiveRevenue traffic source for all my ActiveRevenue campaigns?A1: Yes. The postback has no account key or campaign ID in it, so it works for every campaign. Create a second ActiveRevenue traffic source only if a campaign needs a different postback, for example postbacks with goal IDs.
Q2: Why is it calledA2: They are two halves of the same value. ActiveRevenue’s click ID macro is namedconversionin the campaign URL andcin the postback?
{conversion}, and ClickFlare reads it from the conversion parameter. ActiveRevenue expects it back in its own c parameter. Both names are fixed. Change neither.
Q3: ActiveRevenue’s help center listsA3: Use the template’sclickid,conversion_valueandstatusas postback parameters. Which is right?
xml.activerevenue.com/conversion postback, which reads c, value, count and id. If your ActiveRevenue account manager gives you a different postback URL, use theirs and put {external_id} where the click ID goes and {payout} where the value goes.
Q4: Should I use Redirect or Direct tracking with ActiveRevenue?A4: Redirect is the usual choice and works with every ActiveRevenue format. Use Direct only if ActiveRevenue must see your lander’s domain as the destination. See Direct Campaign Tracking.
Q5: Does the template work for ActiveRevenue’s CPA campaigns?A5: Yes. CPA campaigns need the postback, because ActiveRevenue charges and optimizes on the conversions it receives. Set the campaign’s cost model to CPA in ClickFlare.
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.