Skip to main content
Log inGet a demo

Three ways you can set up Facebook CAPI

Don’t let the death of the Pixel stop you from sending conversion events to Facebook. Learn the three methods you can use to set up and send data to Facebook CAPI.

Craig Dennis

/

Mar 14, 2024

/

6 minutes

How to set up Facebook CAPI.

With the rise of ad-blockers and the deprecations of 3rd party cookies, the Facebook Pixel is becoming less and less reliable. To combat this problem, Facebook released a Conversion API in 2021. So, Facebook introduced Facebook CAPI to assist marketers with another way to send these valuable conversion events to Facebook.

Setting up and sending conversion events to Facebook CAPI can be challenging. This blog post will show you three ways to set up and send data to Facebook CAPI.

Set up with Hightouch

Hightouch is a Composable CDP that lets you sync data from your warehouse to over 200+ destinations destinations, including Facebook CAPI. Rather than managing an API integration yourself, Hightouch manages all the complexity, so you only have to define what data you want to send to Facebook CAPI.

Prerequisites

To be able to use Hightouch, you need to be storing conversions as transactions in a data table (e.g., Purchases or Subscriptions.), and you need to be using a data warehouse as your source of truth for customer, event, and transaction data.

Step 1: Connect Your Data Source

  1. Create your data source.

    Selecting a data source in Hightouch

  2. Configure your data source.

    The configuration page of your data source in Hightouch

  3. Finalize settings for this source and click Finish.

    Finialize your data source settings in Hightouch

Step 2: Create Your Model

  1. Go to the Models overview page and click Add model.

    Adding a model in Hightouch

  2. Select the source you connected and choose a modeling method. Since all of your information should be joined in one table, you can use the visual table selector to define it. Alternatively, you can write SQL to include only the columns you want or rely on your existing dbt models or Looker Looks.

    Selecting a modeling method in Hightouch

  3. Before continuing, you must preview your model to ensure it's querying the data you're interested in. By default, Hightouch limits the preview to the first 100 records. Once you've validated your data, click Continue and give your model a name. You also need to select a primary key that is truly unique. Once done, click Finish.

    Finalizing the model settings in Hightouch

Step 3: Create Your Facebook CAPI Destination

  1. Navigate to destinations and click Add Destination. Select Facebook Conversions and click Continue.

    Selecting Facebook CAPI as a destination in Hightouch

  2. Enter your Pixel ID and access token (more info here) and click Continue.

    Entering Pixel ID and access token to se up Facebook CAPI in Hightouch

  3. Finalize settings for this destination and click Finish.

    Finalizing the settings for the Facebook CAPI in Hightouch

Step 4: Create Your Sync

  1. Go to the Syncs overview page and click Add sync.

    Creating a sync in Hightouch

  2. Select the model you previously created for this purpose.

    Selecting a model you created in Hightouch

  3. Select the Facebook Conversions API you previously created.

    Selecting the Facebook CAPI destination you created in Hightouch

  4. Configure how to sync conversion data to your destination and click Continue.

    Configuring the sync settings in Hightouch

  5. Set a schedule for your sync. This depends on your event volume, but Facebook recommends sending events within an hour of occurring. Therefore, set a schedule that occurs at least hourly.

    Setting the schedule of your sync in Hightouch

  6. Click Finish. Once you've finished configuring a sync, you land on that sync's overview page. This page shows previous sync runs and lets you edit the configuration, schedule, and set up alerts. It's also home to the Live Debugger, which helps you understand previous runs down to the API request and response level.

Set up Manually

Facebook allows you to manually set up Facebook CAPI through their Events Manager. This option doesn’t cost anything but can take up to a month to implement, depending on the events you want to send and how many engineering resources you have.

  1. Log in to your Facebook Business account and select Events Manager.

    Selecting Events Manager on the Facebook Business Account

  2. Connect a data source.

    Connect a data source

  3. Create a new dataset and name it.

    Create a new dataset

  4. Select Set up manually.

    Selecting the set up manually option

  5. Select the events you want to send via the Conversion API.

    Selecting the events you can send via the Conversion API

  6. Select additional parameters you wish to send with each event.

    The options of additional parameters you wish to send with each event

  7. Review your setup.

    Reviewing the final settings

  8. Send to your developer or view instructions to implement API.

    Implementation instructions

Set up with Partner Integration

The partner portal is another method you can set up Facebook CAPI. This option is much easier because third-party companies collaborate with Facebook, so no coding is usually required. The only problem is that there are limited partner integrations, so if you have a bespoke site, you might be unable to use this option.

  1. Log in to your Facebook Business account and select Events Manager.

    Selecting Events Manager on the Facebook Business Account

  2. Connect a data source.

    Connect a data source

  3. Create a new dataset and name it.

    Create a new dataset

  4. Add your website if you have one to see if partner integration is possible.

    Entering website address to review if partner integration is possible

  5. Select Setup Conversion API with a partner.

    Selecting conversion API with partner

  6. Choose the relevant partner.

    The partners avaiable to select through Facebook CAPI partner integration

  7. Select your pixel.

    Select your pixel

  8. Follow the instructions to connect with your partner.

    Connecting to your partner via the instructions provided

  9. Verify connection.

    Verify your connection

Conversions You Can Track with Facebook CAPI

The key to Facebook CAPI is collecting the right event data, especially considering your business goal. However, if you need inspiration for a key conversion goal, here are the conversions that can be tracked with Conversion API.

  • Add Payment Info
  • Add to Cart
  • Add to Wishlist
  • Complete Registration
  • Contact
  • Customize Product
  • Donate
  • Find Location
  • Initiate checkout
  • Lead
  • Purchase
  • Schedule
  • Search
  • Start Trial
  • Submit Application
  • Subscribe
  • View Content

Closing Thoughts

To maximize the impact of Facebook CAPI on your ad campaigns, you need to send all of your customer data to Facebook. Enriching your conversion events with 1st-party data from your warehouse will not only help with attribution, but also increase match rates to optimize performance and increase return on ad spend (ROAS). If you’re looking for an easy and reliable way to sync data to Facebook CAPI, then book a demo with one of our solution engineers to learn more.


More on the blog

  • Friends don’t let friends buy a CDP.

    Friends don’t let friends buy a CDP

    How spending the first half of his professional career at Segment drove Tejas Manohar to disrupt the 3.5 billion dollar CDP category.

  • What is a Composable CDP?.

    What is a Composable CDP?

    Learn why Composable CDPs are seeing such rapid adoption, how they work, and why they're replacing traditional CDPs.

  • Introducing AI Decisioning.

    Introducing AI Decisioning

    Our biggest product yet. Test everything, everywhere, all at once—powered by your complete data and AI.

Recognized as an industry leader by industry leaders

Iterable logo.

Technology Partner
of the Year