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:
- Go to the "Tags" page from the Web Container's "Workspace".
- Create a new tag, with the "Custom HTML" tag type
- Paste the Pixel code into the HTML box
- Name it
Meta Pixeland save it.
Server Container
- Go to "Templates" page from the Server Container's "Workspace".
- Under the "Tag Templates" section, "Search Gallery" for the "Conversions API Tag" by facebookincubator.
- Select it and "Add to workspace", accepting the confirmation dialog.
- Go to "Tags" page and create a new tag.
- Choose the "Conversions API Tag" for the tag type, and fill in Pixel ID and API Access Token with the correct info from Facebook.
- Set triggering to "All GA4 Events", name it "Meta Conversions" and save it