How Can I Sync Facebook Pixel Data?
Question
How can I sync Facebook pixel data?
Environment
Connector: Facebook Ads
Answer
We get pixel data from Facebook's Graph API using the offsite_conversion.fb_pixel_*
metrics in the action_type
field. See Facebook's Ad Action Stats documentation for more information.
Available pixel metrics are listed below:
offsite_conversion.fb_pixel_add_payment_info
offsite_conversion.fb_pixel_add_to_cart
offsite_conversion.fb_pixel_add_to_wishlist
offsite_conversion.fb_pixel_complete_registration
offsite_conversion.fb_pixel_custom
offsite_conversion.fb_pixel_initiate_checkout
offsite_conversion.fb_pixel_lead
offsite_conversion.fb_pixel_purchase
offsite_conversion.fb_pixel_search
offsite_conversion.fb_pixel_view_content
To configure your Facebook Ads connector to include pixel data, do the following:
- In your Facebook Ads connector dashboard, go to the Setup tab.
- Click Edit connection details.
- Add a new Custom Report table.
- Under Action Breakdowns, include
action_type
. - Under Fields, include
actions
and any other required fields. - Click Save.
- In the destination, locate the secondary table
<custom_report_name>_actions
.NOTE: Fivetran creates secondary tables for
actions
because it is considered a part of the listAdsActionStats
field. - Search for
offsite_conversion.fb_pixel_*
under theaction_type
column.