How To Track Calls with Ringba and Redtrack using the Facebook Conversion API [Full Setup Guide]

In this step by step tutorial you will learn all the steps you need to properly set up tracking for your Pay Per Call Facebook Ads campaign, using Ringba and Redtrack.

So without any further ado, let’s get straight into it!

Redtrack Setup

If you’re completely new to Redtrack, the very first step you should take is to get a custom tracking domain.

Why should you get a Custom Tracking Domain?

Having a custom tracking domain is crucial for proper tracking. Most importantly because big players like Google, Facebook, or Bing don’t accept default tracking domains. So, using a custom tracking domain is key to avoid getting your campaigns banned.

Another reason to go with a custom tracking domain is to replace the default dedicated tracking domain with something that’s exclusively yours.

Here’s why using a custom tracking domain is beneficial:

  • Better traffic control: With your own domain, you have more control over your traffic.
  • Avoid getting banned: Custom domains reduce the risk of being blocked by traffic channels.
  • Easy updates: If your custom domain is compromised, you can quickly update it to a new one, giving you more control and security.

How to add a Custom Domain

First of all you need to buy a domain from a domain registrar like Namecheap, Godaddy, or Cloudflare.

And after that you need to add a CNAME Record:

A CNAME (Canonical Name) record is a type of resource record in the Domain Name System (DNS) that links one domain name (an alias) to another (the canonical name). It’s useful for running multiple services from a single IP address. Remember, CNAME records should always point to another domain name, not directly to an IP address.

In this case, your CNAME should point to your default (dedicated/free) domain in RedTrack.

To do this go to your registar like NameCheap for example, select your domain and find the DNS settings of your domain. (Settings will depend on the system you are using)

Image3 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 33
Image20
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 34

Then you need to fill in details:

Image8 3
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 35

Choose CNAME Record from the dropdown menu, enter the desired subdomain without the domain itself, enter your dedicated Redtrack domain, and save all changes.

After adding the CNAME record, the next step is to add the custom tracking domain to RedTrack.

Go to tools, domains and click the add New button:

Image17
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 36

Then fill in the fields, 

Image22
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 37

In the URL box, Enter the sub-domain you added to Namecheap or other registar (mytracking.domain.com)

Then in the Roo Domain URL box you can put the URL visitors will be redirected to in case of a direct entry to the domain URL, or you can leave it blank.

Save changes and that’s it.

Add Your Traffic Channel (Facebook API Integration)

In RedTrack, the traffic channel is the ad network, where you source your traffic from. This could be through paid channels like Google Ads, Facebook, MGID, Propellerads, or from your own website with organic traffic. 

Regardless of the source, it’s essential to add it to your RedTrack account for accurate tracking.

You can add traffic channels in RedTrack in two ways:

  • Via Template: If your traffic channel is already integrated with RedTrack, you can use a preset template that contains all the necessary data. Even if it’s not integrated, RedTrack may still have a template available with preset data for that traffic channel.
  • From Scratch: If your traffic channel hasn’t been integrated with RedTrack yet, you’ll need to add it manually in a custom manner. This involves inputting all the relevant information yourself.

In this case we are going to run ads on Facebook, so we’re going to add the traffic channel via template. Go to traffic channels, select New From Template, and select Facebook.

Image13 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 38

When you add the Facebook Traffic channel via template, you’ll see that it’s already integrated with RedTrack via API. This integration enables you to access automation features such as Cost update, Campaign, adgroup, ad pause.

To integrate Facebook via API, click on the Connect Facebook button, it will redirect you to your business manager account, where you need to go to Pixel settings, copy your Pixel ID and generate API access token, then you need to add these o Redtrack:

Image 18
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 39

When it’s done, you’ll see a green ‘’Connected’’ button next to Facebook API integration:

Image7 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 40

Create Custom Conversion

We need to create 3 custom conversions to track our Pay Per Call campaigns properly. These custom conversions are the following:

  • RAW Call
  • Answered Call
  • Converted Call

To do this go to Tools, Conversions Tracking and select Conversion Type:

Image 7
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 41

Click save, and later we will need to add these custom conversions as tracking pixels in Ringba.

(More on that later in the Ringba Setup section)

Add Your Offer Source and Define Tracking Parameters

Since we want to track our Pay Per Call campaign with Ringba and Redtrack, in this case we are not going to add an actual affiliate network here.

What we need to do is add Ringba as the offer source.

To do this we need to create a custom offer source and name it Ringba. Go to offer sources, click add new from scratch, name the offer source Ringba

Image11 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 42

And then you need to define additional parameters for tracking, like Phone, Zip, callid etc.

Image 19
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 43

Add Your Offer

To add your offer go to the Offers section, click Add New, select CAPI.

Image16 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 44

Here’s a breakdown of the default values and the settings you can customize for each pixel:

Default Values (Applied to All Pixels):

  • Default Action Source: This determines the conversion source for the default Facebook pixel. “Website” is recommended.
  • Default Website URL: This should be the URL of your verified domain, following the “https://domain.name” structure.

Note: If you leave these fields empty, conversions will not be counted unless they are filled at the pixel level.

Settings for Each Individual Pixel:

3. Pixel ID: This is the unique identifier for your Facebook pixel.

  • API Key: Your API key associated with the pixel.
  • Action Source: This determines the conversion source for the specific pixel. Again, “Website” is recommended.
  • Website URL: This should be the URL of the verified domain corresponding to the pixel, following the “https://domain.name” structure.

Add Your Landing Page

To add your custom landing page (if you use one) go to Landers, click add new, enter a name for your landing page and the URL of your lander.

Image19
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 45

For RedTrack to identify your Landing page and perform the no redirect tracking to the offer correctly (with tracking and sending all the necessary data further), you need to Copy the Click URL Paste it to to the CTA (call to action) button instead of the offer URL.

Image15 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 46

Create a Universal Tracking Script

The Universal Script in Redtrack allows you to track without redirects. First, it generates a unique ClickID for each click. Then, it stores this ClickID in the user’s browser as a first-party cookie. Next, it reads the tracking parameters associated with the click.

Once it has all this information, the script sends it over to RedTrack. RedTrack then analyzes the data, including the campaign ID if available. If there’s no campaign ID, RedTrack treats the click as a direct visit.

To create a universal tracking script, go to tools, scripts, and click add new script

Image 8
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 47

Fill in the mandatory fields and click save.

Image 9
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 48

Select script type, name your script, choose a custom tracking domain, choose your default redtrack campaign, then select the attribution model you want to use (we recommend using last paid click) and select a cookie domain (the root domain of your custom tracking domain.)

Image 10
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 49

Then copy the generated script and add it to your landing page source code.

Create a Campaign in Redtrack

Go to campaigns, click add new campaign, give your campaign a name, select the traffic source, the tracking domain, and create your funnel.

Image21
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 50

Save your changes first, then head to “Tracking links and parameters.” Here, you’ll select your preferred tracking method and simply copy the automatically generated values.

Ringba Setup

Ringba is one of the best inbound call tracking platforms designed specifically to track your Pay Per Call campaigns.

To get started with setting up Ringba for tracking, the first step is to install Ringba number pools.

Install Ringba Number Pools

Go to numbers, Manage Pools, Create number pool and fill in details and save.

Ringba
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 51

Next you need to create the URL parameters and Pixels. 

Create URL Parameters

To create URL parameters for the ClickID and other data, go to Integrations and select URL parameters.

Image10 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 52

Add the parameters you need, most importantly the CLICKID parameter.

IMPORTANT: For the ClickID you must put the values exactly like this, otherwise it wont work:

URL Parameter = clickid 
Reporting Menu Name  = User
Report Name = clickid

Image 11
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 53

When it’s done you can add additional parameters as you need:

Image 12
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 54

Create Tracking Pixels

You also need to create 3 tracking pixels for the custom conversions we create earlier in Redtrack.

So go to Integrations, Pixels and build your tracking pixels. Use the Token dropdown menu to see the available tokens.

Image 20
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 55
Image 21
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 56

Create a Ringba Campaign

Next you need to create a campaign and a call tracking tag. Go to campaigns, create a new campaign, name your campaign and enter the general settings for your campaign as desired.

Image6 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 57

Then scroll down and select the URL parameters you just created:

Image12 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 58

And the Tracking Pixels as well:

Image4 2
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 59

And now you need to create the call tracking tag.

Create and Install a Call Tracking Tag

To create a tracking tag go to your campaign settings and click on add new Tracking Tag.

Image 13
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 60

The Call Tracking Tag must be associated with the Publisher’s number, and the Capture User Data option must be enabled.

Now you need to install the call tracking tag. Go to you CAmpaign, Call Tracking Tags, click on Install Tag and copy the code snippet.

Image 14
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 61
Image 15
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 62

Then you need to paste the code snippet into your landing page header section, right after the RedTrack Universal tracking script.

Image 16
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 63

Once you’ve installed the Call Tracking Tag, Ringba will automatically capture the clickid and other data found in the URL Parameters.

Set Up Redtrack ClickID transfer

We also need to setup Redtrack clickid transfer for no-redirect tracking. To do this we just need to copy this script and paste it into the <body> section of our landing page.

<script>
(window._rgba_tags = (window._rgba_tags || [])).push({ type: "User", track_attempted: "yes" });
  var intervalId = setInterval(() => {
  if (window.rtkClickID != undefined) {
   (window._rgba_tags = (window._rgba_tags || [])).push({ type: "User", clickid: window.rtkClickID });
   console.log("Just ran the rtkClickID script to add Ringba tags: ", window.rtkClickID);
   clearInterval(intervalId);
  } else {
   console.log("rtkcid not defined yet");
  }
}, 500);
</script>
Image 17
How to track calls with ringba and redtrack using the facebook conversion api [full setup guide] 64

When all this is done, you are ready to properly track your Pay Per Call campaigns on Facebook Ads, using Redtrack and Ringba.

Did you like this post? Please share it with friends to support this blog

Leave a Comment

Search

#1 Affiliate Marketing Book

From Zero to Super Affiliate Amazon.com

From Zero to Super Affiliate - The newbie affiliate marketer bible

Buy Now At Amazon.com