The Facebook Meta Pixel is a piece of JavaScript code on your website that can help you better understand the effectiveness of your advertising and the actions people take on your site, like visiting a page or adding a product to their cart.
You'll also be able to see when customers took an action after seeing your ad on Facebook and Instagram, which can help you with retargeting. This code is used for local landing pages loaded into the tracker. If there is no access to the code (offer redirect), you can use the Conversions API setting. See Facebook integration.
This method is more suitable for classic traffic launches, mainly in the Nutra, Dating, and Crypto verticals.

index.html (or index.php).Add between and the following code:
⚠️ WARNING
If another parameter in the campaign is used to transfer the pixel, for example,px, you need to replace it in the script: fromdocument.cookie = "pixel={pixel}todocument.cookie = "pixel={px}

Search the code to find the "input" section and add:

Paste the code as shown in the screenshot above.
Open the file or page where you want to install the pixel, for example, a thank you page, and add the following code after the tag:
To check the functionality of the pixel, use the Google Chrome extension — Meta Pixel Helper.
When you visit a page with the pixel, a small number will appear on the Facebook Pixel Helper icon, indicating the number of pixel events. Clicking on the icon will expand the panel, showing an overview of the page's pixels, including warnings and errors.
