Skip to main content
Marketcall and ClickFlare Integration Marketcall is a pay-per-call and lead generation network, mostly for US verticals such as insurance, finance, home services, real estate, travel and rehab. Advertisers pay for qualified phone calls and for leads. You work in Marketcall’s affiliate area: you apply to an offer, which creates a campaign under My Campaigns, and then send traffic to it. To track Marketcall offers in ClickFlare, two links have to carry the ClickFlare click ID in both directions:
  • The offer URL sends the ClickFlare click ID to Marketcall in subid. For lead offers that’s Marketcall’s tracking link. For call offers it’s your own landing page, where Marketcall’s call tracking code shows a tracked phone number.
  • The postback URL sends it back to ClickFlare with every call or lead, together with your payout. You create it in Marketcall under Automation → Postbacks.
This guide covers both flows, how to stop one call from being counted twice, what Marketcall’s call statuses mean for your numbers, and how to check that it all works.
Only need the two values? The Click ID & postback macros page has them ready to copy with your tracking domain.

At a glance

To set up Marketcall with ClickFlare:
  1. Set the domain and reporting time.
  2. Create the Marketcall network.
  3. Calls: add dynamic call tracking.
  4. Create the offer with subid.
  5. Add the postback in Marketcall.
Each step is explained in Setup.

How the data flows

The two links mirror each other:
Offer URL = their parameter + your token. Postback URL = your parameter + their token. Marketcall writes the click ID into subid on the way in and reads it back with the {subid} macro on the way out. {earn} is your payout.

What you’ll need

  • An active ClickFlare account with your own tracking domain set up. Shared domains get flagged by networks and blocked by browsers. See Tracking domains.
  • A Marketcall affiliate account with an approved campaign for the offer you want to run.
  • For call offers: a landing page you control, approved for the campaign, where you can add Marketcall’s code before </head>.

What the Marketcall template contains

ClickFlare has a Marketcall affiliate network template. It fills in the Marketcall macros ClickFlare needs. The Marketcall template in ClickFlare: Click Id is {subid} and Payout is {earn}

Setup

Everything in ClickFlare is done from inside the campaign editor. Create the offer and the affiliate network inline as you go.
1

Set up your own tracking domain

Add a custom tracking domain before anything else, for example trk.yourdomain.com. The postback URL is built on this domain, so changing it later means updating the postback in Marketcall too. See Tracking domains.
2

Report conversions by postback time

Go to Settings → General Settings and set Conversion registration time reporting to Postback Timestamp.Marketcall reports a call on the day it happened, and a call can change status days later. With the default Visit Timestamp, ClickFlare reports it on the day of the original click, so the dates differ between the two platforms. See Conversion registration time.
This is an account-wide setting. It changes the date conversions are reported on for every campaign.
3

Create the campaign

Go to Campaigns → New Campaign, choose Redirect tracking, pick your traffic source and select your tracking domain. See Creating a campaign.
4

Create the Marketcall affiliate network

While creating the offer for the campaign, create a new affiliate network in its Affiliate Network field. You can also create it first under Affiliate Networks → + New. Either way:
  1. Search for Marketcall and pick the template.
  2. Name it after the offer type, for example “Marketcall - Calls”. If you run both call and lead offers, create a second one, “Marketcall - Leads”, so each has its own transaction ID.
  3. Set Transaction ID to {call_id} for calls, or {lead_id} for leads.
  4. Leave Event Type empty.
  5. Under Conversion tracking, select your own Tracking Domain and keep S2S Postback URL as the tracking method.
  6. Set Payout currency to the currency Marketcall pays you in. Marketcall’s own examples use USD.
ClickFlare builds the postback URL from these fields:
The Conversion tracking section of the Marketcall network in ClickFlare, with the generated postback URL: click_id={subid}&payout={earn}Copy the postback URL and save the network.
5

Calls: set up dynamic call tracking on your landing page

Skip this step for lead offers. For call offers, Marketcall shows each visitor a tracked phone number, so it can tie the call to the visit and to its subid.
  1. In Marketcall, go to Call Tracking → Sites and click Add a site.
  2. Fill in your landing page URL and a Tracking session duration. Marketcall usually uses 30 minutes.
  3. For Number Substitution, choose DOM Selector with a[href^="tel:"], or another selector that matches the phone links on your page.
  4. Set the Phone Number Format, for example (XXX) XXX-XXXX, and click Add.
  5. Click Get the code, choose the approved campaign, and paste both codes into your landing page before </head>.
Marketcall’s code reads subid from the page URL. ClickFlare puts it there in the next step.
6

Create the offer in ClickFlare

In the offer form:
  1. Name the offer.
  2. Select the Marketcall affiliate network you just created.
  3. Paste the URL into Offer URL with subid={cf_click_id} at the end:
For call offers, use your landing page with the call tracking code:
For lead offers, use the tracking link from My Campaigns in Marketcall:
The Offer URL field of the ClickFlare New Offer form with a Marketcall link ending in subid={cf_click_id}If you pasted the URL without subid, you can turn on Append Click ID to Offer Url instead. ClickFlare then adds subid={cf_click_id} from the template. Use one or the other, not both.
Write {cf_click_id} with braces. Without them Marketcall stores the literal text cf_click_id, the postback returns that text, and the conversion cannot be matched to a click.
Set the payout to Auto so ClickFlare uses the payout value from the postback.
7

Add the postback in Marketcall

In Marketcall, go to Automation → Postbacks and add a postback. Then set:The macros Marketcall supports, such as {call_id}, {action} and {duration}, are listed under Parameters on the same page. Save the postback.If you run lead offers too, add a second postback for leads with the lead network’s URL, which ends in txid={lead_id}.
8

Add a lander (optional)

For lead offers, if you send traffic through a lander before the Marketcall link, the lander’s CTA must use the ClickFlare click URL, not the Marketcall link. ClickFlare then adds the click ID when it redirects to the offer. See Paths with landers and offers.For call offers, your landing page already is the offer: no separate lander is needed.
9

Save the campaign and launch

Save the campaign, copy the campaign URL from the Tracking tab and use it in your ads. Before you spend money on traffic, run the checks in Verify the setup.

Stop one call counting twice

By default ClickFlare keeps one conversion per click ID. If several postbacks arrive with the same click ID and no transaction ID, ClickFlare treats them as the same conversion and keeps the last one received. When they carry a txid, ClickFlare compares it: the same txid replaces the earlier conversion, a different txid adds a new one. Marketcall can send more than one postback for the same call or lead:
  • A postback with Status: All can fire when the call is created and again when its status changes. The {action} macro shows which one it was (create or update).
  • Marketcall’s own lead guide for its Keitaro tracker adds two postbacks with the same URL: one on a Created trigger and one on an Updated trigger. If your panel offers these triggers, the same lead fires twice.
Both cases are safe as long as the txid is Marketcall’s ID for the call or lead: If you can’t add a transaction ID, keep a single postback on a single trigger, so each call or lead fires once.
Marketcall documents {lead_id} in its lead postback examples, and lists {call_id} as the Marketcall call identifier on the postback page. Check that both appear under Parameters in your panel before you rely on them.

Call statuses and what ClickFlare counts

Every Marketcall call gets a status. The ones that matter for your numbers: ClickFlare doesn’t read a status from the postback. It records a conversion for every postback it receives, with the payout in it. So the Status field on your Marketcall postback decides what you see:
  • Status: All gets calls into ClickFlare fast. With txid={call_id}, each status change replaces the conversion with the latest payout. Ask your manager what {earn} holds for a refused call, because a call that ends refused may keep a payout in ClickFlare if the update doesn’t change it.
  • One status, such as Approved, makes ClickFlare count only paid calls, but they arrive after the hold time.
To see the status in ClickFlare without changing how it counts, add &param1={state_title} to the end of the postback in Marketcall. ClickFlare stores it as an extra parameter you can report on. See Postback parameters.

Calls and leads as separate columns

If one campaign gets both calls and leads, you can report them as their own conversion types:
  1. Create two custom conversions in ClickFlare, for example with the parameters call and lead.
  2. Add &ct=call to the end of the call postback in Marketcall, and &ct=lead to the lead postback:
The ct value must exactly match a parameter of a custom conversion in ClickFlare. If it doesn’t, ClickFlare records a regular conversion instead.

Verify the setup

1

Click through the campaign

Open the ClickFlare campaign URL. For calls, check that your landing page loads with subid= and a real ClickFlare click ID in the address bar, not the literal text {cf_click_id}, and that the phone number on the page changes to a Marketcall number. For leads, check the same on the first request to the Marketcall link.
2

Generate a test call or lead

Call the number from the landing page, or submit a test lead, from the session you just opened. In Marketcall, open Calls and click Call Tracking Info to see the session details.
3

Check the conversion in ClickFlare

The conversion should appear on the campaign with the payout from Marketcall. In Logs → Event Logs, check that it arrived with a txid (the call or lead ID). A short test call may be parsed or refused and pay 0.

Troubleshooting

Work through these in order:
  • subid is empty in Marketcall. The landing page URL in the ClickFlare offer is missing subid={cf_click_id}, or the call tracking code isn’t on the page that receives it.
  • The call tracking code is incomplete. Both codes from Get the code must be in the page before </head>, and the page must be the one you added under Call Tracking → Sites.
  • The caller used a number outside the tracking session. A call after the session ends, or to a number copied from elsewhere, can’t be tied to the visit.
  • The postback doesn’t cover the call. Check Object, Status and Campaign on the postback in Automation → Postbacks.
See Troubleshooting S2S postbacks for the general checks.
The postback has a txid that changes on every send, or you have two postbacks with different URLs for the same calls. Use txid={call_id} (or {lead_id} for leads) on every postback for the same calls.
The postback has no txid. Add {call_id} as the transaction ID in the ClickFlare network and in the postback in Marketcall.
  • Check that the postback has payout={earn} and the offer’s payout is set to Auto in ClickFlare.
  • A call that’s parsed, refused or not connected pays 0.
  • Set the affiliate network’s Payout currency in ClickFlare to the currency Marketcall pays you in.

FAQ

Yes. ClickFlare has a Marketcall affiliate network template. You pass the click ID in subid and Marketcall fires ClickFlare’s postback with {subid}, {earn} and the call or lead ID.
The postback page has an HTTP Method setting and a JSON tab under Parameters. ClickFlare accepts a JSON POST too, with the body keys cf_click_id, payout, txid, ct and param1 to param20. Either works. GET is simpler to set up here. With JSON, map {call_id} (or {lead_id}) to txid so calls don’t count twice.
No. Marketcall gives affiliates access to its own Keitaro instance, and its guides are written for it. With ClickFlare you don’t need Keitaro: ClickFlare plays the same role, and the subid and postback setup above replaces Keitaro’s.
Marketcall’s guides mention subid1, subid2 and subid3 as extra tracking values on its own landing pages. Ask your manager whether your tracking links and call tracking code accept them too. Either way, keep subid for the click ID.
Yes. Once ClickFlare records the Marketcall call or lead, it can send it to the traffic source through the traffic source’s postback or conversion API integration. Marketcall also has its own Facebook, TikTok, Google, Snapchat and NewsBreak postback templates. Use either one, not both, or the traffic source counts the call twice.

Macro reference

Every network’s values

Custom conversions

Calls and leads as columns

Postback issues

Troubleshoot S2S