Meta Pixel
A short piece of code on your website that tells Facebook what visitors do there: view a product, add it to the cart, buy.
Jakub Derda
Co-founder and CTO

The Meta Pixel (formerly the Facebook Pixel) is a piece of code you add to your website or online store. When someone visits, views a product or places an order, the pixel sends that information to Meta's ad system. That's how Facebook and Instagram know which ads led to sales, and how they can find more people like your buyers.
Without a pixel, your ads run half blind: you see clicks, but not purchases. You also need the pixel for remarketing, which means ads for people who have already been to your store. Stores on Shopify and WooCommerce have ready-made integrations, so you usually don't have to write any code yourself.
The pixel collects data about visitors, so in Poland and across the European Union it should only run after the visitor gives the right cookie consent. To complement it, Meta also offers the Conversions API, which sends data from your server instead of the browser, so ad blockers affect it less. It's worth going over consent details with whoever handles legal matters for your business.
How it works in PerfOS
In PerfOS you pick a pixel from the list of pixels in your ad account, and the sales campaign learns from the purchases the pixel records. Without a working pixel, PerfOS can't show you how much your ads sell.
Frequently asked questions
How do I know the pixel works?
Check it in Meta Events Manager or with the free Meta Pixel Helper browser extension. We describe a step-by-step test in our guide to abandoned cart remarketing.
Can I advertise my store without a pixel?
You can, but you won't be able to measure sales from your ads, the campaign won't learn from purchases and you can't run remarketing.
Read next

Abandoned cart retargeting, step by step
How to remind shoppers about their cart on Facebook and Instagram: the pixel, audiences, ad sequence, budget and measuring results. A guide for small online stores.

Return on ad spend (ROAS)
How much revenue you get back for every unit of currency you spend on ads.

Remarketing
Ads shown to people who have already visited your website or shown interest in your business in some other way.