You can use the tools in Ringba to configure your campaign to record different revenue amounts based on characteristics of the call. For example, you could increase the revenue amount for a call with a longer duration or for calls from a particular state.
Process Overview
This article assumes you already have a campaign configured. You configure custom revenue on a target-by-target basis in the campaign's routing plan. This solution uses the following high-level steps:
- You open the campaign and configure a target so it marks calls as "converted" when information about the call arrives via webhook.
- You create the webhook to receive the conversion information about your calls.
- You set up one or more pixels to send the conversion information to the webhook. You configure tag filters on the pixels to say when to fire and what revenue amount to send. The filters are based on information about the call, which is contained in call tags.
- You add the pixels to the campaign.
After a call comes into the campaign, Ringba uses the configurations you set up in the pixels to decide what revenue amount to send to the webhook based on the characteristics of the call.
For example, you might set up two pixels:
- Pixel A fires with a revenue amount of $20 if the call duration is between 90 and 120 seconds.
- Pixel B fires with a revenue amount of $35 if the call duration is 120 seconds or more.
The appropriate pixel fires depending on the value in the call duration tag, and the webhook collects the revenue amount you configured in that pixel.
How to Configure Custom Revenue
Use the following steps to configure custom revenue.
Set up the target to convert on webhook
- Open the campaign where you want to configure custom revenue and scroll down to the Call Routing section.
- Find the target you want to configure in the Routing Plan list and click the Edit icon in the Actions column.
-
In the Edit Route window that appears, click the Convert On drop-down list and select Postback/Webhook.
- Click the Update button to save the window and then save the campaign.
Create a Webhook
-
Navigate to Integrations > Webhooks.
The Webhooks screen appears. -
Click the Create Webhook button.
Fields appear where you can configure your webhook. - Complete the fields and click Create.
The fields disappear and your new webhook appears in the list. - Find your webhook in the list. Highlight the Webhook URL and copy it to your clipboard for later.
Tip: If you have many webhooks, you can use the Search Webhooks field in the upper-right corner of the screen to find the webhook you just created.
Set Up Your Pixels
-
Navigate to Integrations > Pixel.
The Pixels screen appears. -
Click the Create Pixel button.
Fields appear where you can configure your pixel. -
Complete the fields at the top of the screen:
- Name: Enter a name for your pixel.
- Fire Pixel On: Choose Finalized from the drop-down list.
-
URL: Paste in the webhook URL you copied to your clipboard earlier. In the URL, replace:
- [callUUID] with [Call:InboundCallId]
- [conversionAmount] with the amount you want this pixel to report as revenue
- Advanced Options: You can leave this switch toggled off.
- Authentication: You can leave this field empty
- In the Tag Filters section, click the Add Filter button.
Fields appear where you can configure your filter. - Configure a filter that defines which calls should get the conversion amount you specified in the URL field. For example, in the previous image, the pixel fires if the call duration is between 90 and 120 seconds.
- Repeat steps 1-5 to define other criteria that result in different revenue. For example, you could create another pixel for calls that last 120 seconds or more and have it record $35 of revenue.
Add Your Pixels to the Campaign
- Navigate to Campaigns and open the same campaign you opened at the beginning of this process.
- Scroll down to the Tracking Pixels section and click the Add Pixel button.
Fields appear to add a pixel to the campaign. - Choose Select Existing, click to put your cursor in the Select Pixel field, and begin typing the name of your pixel.
- When you see your pixel, click it to select it. Click Add to add the pixel to your campaign and then save the campaign.
Custom Revenue FAQ
What should I do if I need help with Ringba's custom revenue configuration?
If you have any questions or need additional help, please reach out to our support team via chat or email at support@ringba.com.