Facebook Pixel is a code embedded into a website that tracks the actions of its visitors. This data serves to:
- measure Facebook ads performance;
- define custom audiences for targeting and setting up campaigns with dynamic ads;
- analyze the effectiveness of your site’s conversion funnels.
- A user visits your website performing some actions such as searching for products, adding them to cart, completing checkout, etc.
- The Facebook Pixel tracks these events and syncs with Facebook cookies in the user’s web browser.
- After the sync process, the user is being tagged as a part of certain target groups.
- When the user opens Facebook, the platform already knows which ads to show.
- A user visits your website with a Facebook Pixel installed.
- The pixel stores the information about the user in a first-party cookie file (this cookie file operates with your website only).
- Your server saves this data that also includes information on how to distinguish this particular user from others.
- When the user triggers an event, the server sends a request with the information about the event and the user to the Facebook server.
To implement Facebook Conversions API you will need a Facebook App, Facebook Business Manager, and Facebook Pixel installed on your website that is associated with your Business Manager.
Step by step, here we go:
- Open your Business Manager, navigate to Events Manager, click on Add New Data Source, and hit FB Conversions API.
- Open Settings, choose your Pixel and click on Next.
- Choose the existing App to work with API. If you don’t have one — click on Create New App and fill out the forms.
- Create a new system user and click on Create.
- Click on Generate Access Token, copy it, and save it locally on your computer. Hit Next.
- Use the saved token to implement the API calls by yourself with the help of documentation, or hit the Send instructions button to send them to your developer.
- Once it’s done, you can start sending data to the Facebook server.
