
- Into Retreaver: your lander URL carries the click ID. A Retreaver Parameter Mapper reads it from the URL and saves it as a tag on the number the visitor sees. Every call to that number inherits the tag.
- Back to ClickFlare: when a call meets your campaign’s conversion criteria, a Retreaver Conversion webhook loads the ClickFlare postback URL with that tag as the click ID, the call’s payout and the call’s unique ID.
At a glance
To set up Retreaver with ClickFlare:- Create a custom conversion for calls.
- Create the campaign.
- Add your lander as the offer.
- Map clickid to a tag.
- Add the Conversion webhook.
How the data flows
[tag_key] is replaced with the value of that tag on the call. If your Parameter Mapper saves the click ID under the tag key clickid, the token is [clickid].What you’ll need
- A ClickFlare account with your own tracking domain. Shared domains get flagged. See Tracking domains.
- A Retreaver campaign with buyers, conversion criteria and a number pool.
- Retreaver.js on your lander. Copy it from the campaign overview page: Retreaver JS Settings →
</>Code Menu, and place it in the page’s<head>. - A real, reachable default number in the page source. Retreaver shows it when the pool is full or the script is blocked.
Setup
Everything in ClickFlare is done from inside the campaign editor. You create the lander as an offer, because the call happens after the visitor reaches it.Set up your own tracking domain
trk.yourdomain.com. The postback URL in Retreaver is built on it, so changing it later means editing the webhook too. See Tracking domains.Create a custom conversion for calls
converted_call. The ct value in the webhook must match this parameter exactly. See Custom conversions.If you also want other call outcomes, such as connected calls, create one custom conversion for each now.Create the campaign
Add your lander as the offer
payout value from the webhook.Map the click ID to a tag in Retreaver
clickid to the tag key clickid, and press Update Campaign.Retreaver.js now reads clickid from the lander URL and tags the number on the page with it. Calls to that number inherit the tag.Add the Conversion webhook
- Set the trigger to Conversion.
- Give the webhook a name you’ll recognize in the logs, for example “ClickFlare converted call”.
- Leave the tag matches empty, unless you only want this webhook for some calls, for example one publisher.
- Enter the ClickFlare postback URL with Retreaver tokens:
Save the campaign and launch
The postback parameters
Payout or revenue
Retreaver keeps two amounts per converted call. In Retreaver’s own example, the publisher receives a $10 payout and the buyer is charged $20 revenue.- If you send calls into someone else’s Retreaver campaign as a publisher, your income is the payout: use
[payout]. - If you own the Retreaver campaign and sell calls to buyers, your income is the buyer revenue: use
[revenue].
Number pools and the click ID
Tracking down to the click ID means every visitor needs their own number. Retreaver says so plainly: when you track a click ID, each viewer gets a unique number, so the pool has to cover your concurrent visitors within the lease time.- Max Lease Time is how long a visitor can look at a number without calling before it goes back to the pool. Buffer Seconds is how long Retreaver holds it after the visitor leaves.
- When the pool is empty, visitors see the default number. Calls to it carry no click ID and can’t be matched in ClickFlare.
- Retreaver emails you when the pool is too small. Increase the pool or shorten the lease time.
CallPixels-u (the most recent URL) and CallPixels-ou (the original URL). A visitor who leaves and comes back to the lander in the same session keeps the click ID.
Other call outcomes
The Conversion trigger is the right one for revenue. Retreaver’s other end-of-call triggers can report more outcomes, each as its own custom conversion with its ownct:
payout only on the webhook that represents money. On the others, leave it out or send payout=0.
Repeat callers
Retreaver’s de-dupe setting on a webhook or on conversion criteria blocks repeat conversions from the same caller within a time frame you choose, from one hour to forever. Use it if a caller who hangs up and redials shouldn’t count twice. Without it, each converted call has its own[call_uuid] and ClickFlare counts each one.
Verify the setup
Click through the campaign
clickid= must be followed by a real click ID, not {cf_click_id}. Check that a Retreaver number replaced the default number.Place a test call
Check the call in Retreaver
clickid tag. Scroll right to the Pixels column, or open the call and look at Fired Pixels, to see the webhook request and ClickFlare’s response.Check the conversion in ClickFlare
txid from Retreaver and the right conversion type.Troubleshooting
Calls show in Retreaver but not in ClickFlare
Calls show in Retreaver but not in ClickFlare
- No clickid tag on the call. The Parameter Mapper is missing, maps a different URL parameter, or sits only in company defaults. Add it on the campaign.
- The visitor saw the default number. The pool was full or Retreaver.js didn’t load. Calls to the default number have no click ID.
- The webhook is on the wrong trigger. A webhook on Conversion only fires when the call meets the conversion criteria. Check the criteria’s duration.
- The webhook didn’t fire. Look at Fired Pixels on the call. If it’s missing, check the tag matches on the webhook.
ClickFlare receives a literal [clickid]
ClickFlare receives a literal [clickid]
clickid on the call, so it left the token as is. The token must match the tag key in your Parameter Mapper exactly. If you mapped to click_id, the token is [click_id].The conversion has the wrong type or no type
The conversion has the wrong type or no type
ct value doesn’t match a custom conversion parameter in ClickFlare. Check spelling and case in Settings → Custom Conversions.The payout is 0 or not what you earned
The payout is 0 or not what you earned
- Check the offer payout is set to Auto in ClickFlare.
- Check you’re sending the right amount:
[payout]for publisher payout,[revenue]for buyer revenue. - A call that converts for the publisher but not the buyer can have no revenue when Split Conversions are on.
FAQ
Does ClickFlare integrate with Retreaver?
Does ClickFlare integrate with Retreaver?
Is there a native Retreaver integration in ClickFlare?
Is there a native Retreaver integration in ClickFlare?
Can Retreaver send ClickFlare a JSON body instead?
Can Retreaver send ClickFlare a JSON body instead?
txid with [call_uuid] so each call stays its own conversion.Can I use direct tracking instead of a redirect?
Can I use direct tracking instead of a redirect?
add_tags(). You’d need custom code that reads the ClickFlare click ID on the page and adds it as the clickid tag. Test this with a few calls before relying on it. See Direct tracking.Can I set this webhook once for all campaigns?
Can I set this webhook once for all campaigns?
Can I send the call conversion to my traffic source?
Can I send the call conversion to my traffic source?