Facebook Conversions API

Requirements

In order to create/configure the Facebook Conversions API, both GA4 and GTM must be setup.

Setup On FB Side

TODO

Google Tag Manager Configuration

Web Container

For the Pixel's Javascript:

  1. Go to the "Tags" page from the Web Container's "Workspace".
  2. Create a new tag, with the "Custom HTML" tag type
  3. Paste the Pixel code into the HTML box
  4. Name it Meta Pixel and save it.

Server Container

  1. Go to "Templates" page from the Server Container's "Workspace".
  2. Under the "Tag Templates" section, "Search Gallery" for the "Conversions API Tag" by facebookincubator.
  3. Select it and "Add to workspace", accepting the confirmation dialog.
  4. Go to "Tags" page and create a new tag.
  5. Choose the "Conversions API Tag" for the tag type, and fill in Pixel ID and API Access Token with the correct info from Facebook.
  6. Set triggering to "All GA4 Events", name it "Meta Conversions" and save it