Facebook gives you the ability to track conversions that happened on Ringba into Facebook Ads using their Conversions API.

In the following document you will find a step-by-step guide on how to set up and track your Ringba calls with FB Ads.

Note: This is currently in Alpha Stage, Facebook can change their integration requirements/aspects without notice. Also this article will only approach Facebook JS tag integration version, the integration for static numbers only/call only ads is described in this other article Facebook Offline Events Integration - Call-Only Ads

These are the setups that have to be done to make this integration happen, we are going to approach the steps in this document:

Set up your Ringba Number Pool and add the script to your site.
Set up the Facebook Pixel, add the tracking script to your site and connect it to your campaign or ad.
Set up the integration on Ringba to send the data.
Create the Conversion on Facebook.

Requirements

Before you get started, it is required that you have a Facebook Business Manager account and you need to have a Ringba number pool running on the landing page you want to track calls from.

You will need a pixel setup on Facebook and added to the site you want to track alongside the number pool replacement script.

Example Flow

This is a brief description of the whole flow from Ringba side and Facebook side.

A user sees your ad in Facebook -> They click on the ad and visit your website/landing page with Ringba's number pool code and Facebook pixel code -> The Facebook pixel tracks the activity on the website meanwhile Ringba will track the activity using the number pool code > The user calls the number on the website/landing page -> Ringba will handle the call and get the data from caller using the number pool as well as send an event to Facebook Offline Events once the call is completed/converted > Facebook will receive the data and try to match it with an user that saw the ad > Once they accept the data you can use it to optimize your ad.

Setup Guide

Create a Facebook Pixel

Note: Follow these steps on the Pixel section only if you haven’t created a pixel yet, if you already have it, please proceed to the next section.

In your Facebook business account, go to "Data Sources > Events Manager".


Click on “Connect Data Sources”.


Select the “Web” option.

Next, Select the "Facebook Pixel" option.


Complete the form with the name of your pixel and website URL.

Choose "Manually add pixel code to your website".

Copy the pixel code and install it in your website following Facebook Instructions. Next, click on “Continue”.


Turn on "Automatic Advanced Matching" with the following options to get a better match rate: City, State, ZIP/Postal Code, Country, and Phone Number.


Finally, verify that your Facebook pixel is linked to your ads. Use the image below as a reference:


Enable Your Facebook Pixel to Receive Conversions from Ringba

In your Facebook business account, go to your “Events Manager” page.


Select the pixel you want to use with Ringba and go to settings.


Go to the Conversions API section of the settings and click on "Generate Access Token". This is required in order for Facebook to enable server-to-server requests to the pixel.


Once you have generated an Access Token, the pixel is ready to integrate on the Facebook side, now you need to enable the integration in Ringba, please go to the next section.

Integrate Ringba with Facebook Offline Events

Go to “Integrations -> Platforms” and click on “Add Platform Integration”.

Select Facebook Events as the platform.

Next, you will need to authorize Ringba to allow access to your Facebook account.



Go to your Ringba campaign, click on “Add Integration” and select “JS Tag”, select the pool you will be using on your website, the integration platform you just created, and link the pixel. You will see a drop-down selection with the Pixels options that you have on Facebook side so you can select the one that you will use for this integration.



Create a Custom Conversion in Facebook for Ad Optimization

For this, you first need to have some instances of the event to be received otherwise Facebook won’t allow you to complete the setup. First, you will need to connect Ringba with Facebook and let Ringba send conversions back to Facebook. Once that’s done and you can see those conversions on the pixel panel like the image below you can proceed setting up the custom conversion using the Custom Event.

Please note that Facebook takes around an hour to process the events sent to them.



In your Facebook business account, go to your “Custom Conversions” page.


Click on “Create Custom Conversion”.


Complete the fields given and choose the conversion event you set up in your test of the Conversion API. If you want to override the configured conversion trigger, you can use the call duration and Ringba Conversion/Payout value to define the custom conversion trigger rules.


Once you have configured your custom conversion, go to your business ad account by clicking on the button “Go to Settings” so you can link the conversion to your ad account.


Next, go to “Connected Assets”.


Finally, connect the conversion to your ad account.



FAQs and Troubleshooting

If you still have questions about Facebook pixels set up please contact our chat support team to get personalized support from Ringba engineers.

To learn more about the mentioned features, use the following resources:

Ringba Documentation:
https://support.ringba.com/en-us/article/pixels-1b6qgvr/?1593808198548
https://support.ringba.com/en-us/article/number-pools-pukzib/?1598638645517

Facebook Documentation:
https://developers.facebook.com/docs/marketing-api/conversions-api/
https://developers.facebook.com/docs/marketing-api/conversions-api/payload-helper