To set up the Facebook Pixel and Conversion API integration we need a Facebook Pixel ID and a Facebook Private API Token for the shop.
To find the Pixel ID you need to go to Facebook Events Manager and click on “Data Sources”. Then click on the Pixel you want to use to collect the website data. Then click on settings and the Pixel ID will be under the setting “Pixel ID” as shown:
To find the Private API Token go to Facebook Events Manager and click on “Data Sources”. Next, click on the Pixel you want to use to collect the website data. Then click on settings and scroll down to the Conversions API section. There under “Set Up Manually” there is an option to “Generate Access Token” as shown:
Note: The Generate access token link is only visible to users with developer privileges for the business. The link is hidden from other users.
When you click this it will generate the Private API Token for you. You need to save this Token somewhere as Facebook do not save the token so if you lose it you will need to generate a new one.
Send this to email@example.com