Thanks to the power of our Engagement Builder, we are able to send a webhook to Facebook's conversion API after a phone call, in order to insert Events (calls) from your customers linked to visits from Facebook ads.
With some small changes to our javascript solution, and a quick change in our end for your account, you can also track calls in Facebook coming from Kaisa numbers.
Getting Started
First, you will need to add the following function to your current javascript set up:
__fs_conf.push(["appendCookies", ["_fbp", "_fbc"]]);
This will allow our javascript solution to capture the necessary Facebook parameters in your site to store them with our Kaisa number (so we can send them to Meta if a call takes place).
After this is done, you will need to get in touch with our support team in support@kaisa.io so we can make some changes in your account to store and use these parameters specifically (as this is not done by default).
Building a Workflow in our Engagement Builder
We can set up a standard custom workflow in our Engagement Builder that triggers on the condition where media is Facebook Ads:
1. Event and Criteria:
2. Delivery method: Send a Webhook
Endpoint: https://graph.facebook.com/<version>/<pixelId>/events?access_token=<access_token>
The Pixel ID can be found using these instructions: https://www.facebook.com/business/help/952192354843755?id=1205376682832142
And the Access Token:
https://developers.facebook.com/docs/marketing-api/conversions-api/get-started
The version is currently v19.0
.
Authentication: None
Payload:
{
"data":[
{
"event_name":"Kaisa call",
"event_time":{{ start_unix }},
"event_id":"{{ callid }}",
"user_data":{
"fbc":"{{ meas_custom_dynamic.p_fbc }}",
"fbp":"{{ meas_custom_dynamic.p_fbc }}"
},
"action_source":"phone_call"
}
]
}
Content type: application/json
It should look like this:
Once this is all set up, we'll send calls as Events called "Kaisa Call" to Facebook Conversion API for callers visiting you from Facebook ads.
Any questions please feel free to ask support@kaisa.io
Comments
0 comments
Please sign in to leave a comment.