Facebook Conversion API Implementation
Steps to implement Facebook Conversion API
|
You need to define which events collected by the Meiro Events SDK (or any other data collection) map to which Facebook events. In this documentation the data collection will be referred to as ME SDK for simplicity. Learn |
|
Follow this documentation to have the ME SDK properly setup along with existing/new FB Pixel data collection. The documentation references implementation using Google Tag Manager, but it is optional, implementing the data collection directly in the website’s source code is also possible. Remember: |
Step 3 |
With it, In Meiro Integrations you can either use a python processor or PostgreSQL connector (depending on how you are doing the data collection) to obtain data from ME SDK (either through AWS s3 bucket or PostgreSQL database) and format them for the FB Conversion API loader. Add a schedule according to your use case, and you're set! Learn more: Refer to the loader documentation for more details about the FB Conversion API loader. Remember: Learn Warning: |
|
Set the data export schedule in the workspace to send past 1 hour data every 10 minutes However, if there are too many events to be processed, set the schedule to be every 4-6 hours. |
Step 5 |
Refer to this documentation to verify that the events have been received properly. |
FAQ / Notes
1. Are custom events supported by FB Conversion API?
Yes, however since there is a cap on eight pixel events that you can optimize for, prioritize the pixel events according to the business use case.
Learn more: For more information regarding Facebook’s Aggregated event measurement
2. What is the event id exactly? How is it generated?
The event id is simply an identifier, this can be any arbitrary string value as long as it is unique to every event being sent to FB as Pixel events and Conversion API events through ME SDK.
This event id needs to be the same for the same event being tracked by FB Pixel and ME SDK.
This event id can be generated by any method as long as it can be unique, typically this is generated on the frontend using uuid generation.
3. Do I need to hash PII (email/phone numbers) before sending them to FB Conversion API?
If you are using the API directly, yes. However in our implementation we are using the FB Conversion API loader compoment built by Meiro which uses the SDK, which already does the hashing, so you don't have to hash the values.
4. How to check if Facebook Conversion API events are set up correctly?
Facebook Conversions API is designed to create a direct and reliable connection between marketing data (such as website events and offline conversions) from Meiro’s server to Facebook. Meiro implements the integration of Facebook Conversions API so that you can push events such as purchases or leads to Facebook Ads Manager while maintaining user privacy.
To check the results of Facebook Conversion API events, simply follow these steps: