Meta-pixel.
The Meta Pixel is a JavaScript code from Meta that tracks visitors' actions on a website to measure Meta ads and deliver them in a more targeted manner.
The Meta Pixel is a small piece of JavaScript code that you embed in your website so that Meta can track what visitors do there—for example, after clicking on an ad. According to Meta’s developer documentation, it tracks visitor activities as so-called “events,” such as a page view or a submitted request. According to Meta, this data serves three purposes: measuring ad performance, creating custom audiences from website visitors, and serving catalog ads.
How the Meta-Pixel Works
For every event, the pixel sends data to Meta. According to Meta’s developer documentation, this includes HTTP headers containing the IP address, the pixel ID, cookie data, and information about clicks. According to Meta, content from form fields is only transmitted if “extended matching” is enabled.
In the Ads Manager, you can then see which campaigns led to inquiries or purchases, and you can target ads specifically to people who have already visited your site. Our guide to the Meta Ads Manager shows you how to set this up step by step.
What Your Business Should Keep in Mind
Do not load the pixel until consent has been obtained. In our assessment, Section 25(1) of the TDDDG requires consent for this because the pixel stores or reads information on the end device, and the exceptions under Section 25(2) of the TDDDG do not apply to advertising purposes. The Data Protection Conference’s Guidance on Digital Services, Version 1.0 dated November 11, 2024, serves as the reference for the supervisory authorities’ position. This is not legal advice; if in doubt, consult your data protection officer or an attorney.
Check to see if the pixel really loads only after you click “Accept.” A banner that’s been embedded incorrectly can sometimes cause scripts to run before that. Open your page in an incognito window and check the browser’s developer tools under “Network” for requests to Meta before you agree.
Mention the pixel in your privacy policy. Specifically describe there what data is sent to Meta and for what purpose.
Only enable advanced synchronization if you're sure you want to. According to Meta, this also transfers content from form fields. Decide beforehand whether you really need this.
Frequently Asked Questions About the Meta-Pixel
Do I need Meta Pixel if I run Meta ads? Not necessarily, but without it, you won't be able to track performance on your own website. To find out when advertising on Facebook and Instagram is worth it, check out "Meta Ads 2026: What Advertising on Facebook and Instagram Really Costs."
What does the pixel track when someone declines? If you load it correctly only after consent is given, it tracks nothing. Those visits are then missing from the analysis, and your conversion rate in Meta appears lower than it actually is.
Where should I place the pixel? On all pages that are relevant to your advertising, especially on every landing page and on the confirmation page after a request.
If you want to run Meta ads without having to worry about pixels, events, and consent yourself, we'll take care of it in Ad Management.
Related Terms
Need help with Meta-Pixel? We'll take care of it for you at a fixed price.
Ad Management →