Using Facebook Pixel.
Facebook Pixel is an analytics tool that tracks visitor actions on your site. For example, when a visitor buys something, Facebook uses that data to help you understand your audience and target people for ad campaigns.
To add the pixel code to your site, follow this guide.
Step 1 - Get the code from Facebook
The first part of the process is to get the code from Facebook that you'll add to your site:
- If you haven't already, create a Facebook Pixel in the Facebook Ads Manager.
- In the Facebook Pixel section, click Set up Pixel.
- In the window that appears, click Email Instructions to a Developer.
- Send to email@example.com and we will take care of the rest.
For more detailed help with this step, visit Facebook's documentation.