Glossary
What is the Meta Pixel?
The Meta Pixel is a small piece of JavaScript you add to a website. It records what visitors do, such as viewing a page or buying, and reports it to Meta so you can measure your ads and build audiences. It tracks a website, not an Instagram profile or a DM.
Updated 6 October 2026
A snippet of JavaScript on your website that reports visitor actions to Meta, so you can measure ads, define custom audiences and analyse conversion funnels.
What it does
Meta’s documentation says the Pixel works by loading a small library of functions. You call them when a visitor does something you want to track. The action is called an event, and the one that matters to your business is called a conversion. Tracked conversions appear in Ads Manager.
The documentation lists four uses for them: measuring how well your ads work, defining custom audiences for ad targeting, running Advantage+ catalog ads campaigns, and analysing the conversion funnels on your site.
What it can collect
Meta lists the data in its overview. We quote the categories, not every detail.
| Category | What it covers |
|---|---|
| HTTP headers | What a browser normally sends: IP address, browser details, page location, referrer |
| Pixel-specific data | The Pixel ID and the Facebook cookie |
| Button click data | Buttons clicked, their labels and pages visited as a result |
| Optional values | Extra details you choose to send, such as conversion value or page type |
| Form field names | Names such as email or quantity; values are not captured unless you include them via Advanced Matching or optional values |
What it means for you
- It needs a website you can edit. If your sales happen only in DMs, there is nothing for the Pixel to see.
- It makes your site a data source for ads. What you collect and how you tell visitors about it is your responsibility, so check the privacy rules that apply to you.
- Meta also offers the Conversions API, which sends events from your server. See that page for how the two relate.
Tip: Before adding a Pixel, write down the single action you would call a win, such as a paid order or a booked call. Track that first. A Pixel that records everything but marks nothing as a goal is hard to read.
An example
A candle shop installs the Pixel on its store. When someone reaches the order-confirmation page, the shop sends a purchase event with the order value, and Ads Manager then shows how many orders its Facebook ads led to.
Questions people ask
What is the Meta Pixel?
A snippet of JavaScript code on your website that tracks visitor activity. Meta says it loads a small library of functions that you call when a visitor takes an action you want to track. Results show up in Ads Manager.
What data does the Meta Pixel collect?
According to Meta’s overview: HTTP header data, the Pixel ID and Facebook cookie, button click data, optional values you choose to send and form field names. Field values are not captured unless you include them via Advanced Matching or optional values.
Does the Meta Pixel work on Instagram?
The Pixel runs on your website, not inside Instagram. Visitors who arrive from an Instagram ad can be tracked on your site if the Pixel is there. DM conversations are not a website, so the Pixel does not see them.
Is the Meta Pixel the same as the Conversions API?
No. The Pixel runs in the visitor’s browser. The Conversions API sends events from your server to Meta. Meta’s documentation says server events are processed like events sent using the Pixel, so they can be used for similar purposes.
Sources
Related terms
- Conversions APIA Meta connection that sends your website, app, messaging or offline events from your server or CRM to Meta, to measure outcomes and improve ad targeting.
- Custom AudienceAn ad audience built from people you already know, such as customers or visitors, which Meta matches to its users from data you supply, or from events you share.
- UTM parametersTags added to a URL, such as utm_source and utm_campaign, that tell an analytics tool which source, medium and campaign sent a visitor to your page.
- Conversion rateThe percentage of people who finished a chosen goal, such as buying or signing up, out of everyone who could have: conversions divided by visitors, times 100.
- Marketing funnelThe steps a person takes from first seeing your content to becoming a customer, drawn as a funnel because fewer people reach each next step.
- ROASReturn on ad spend: revenue attributed to your ads divided by what you spent on them. A ROAS of 3 means three units of sales for every one unit of ad spend.
More terms
Answer Facebook comments and Messenger automatically
DMFast replies to comments on your Facebook Page and carries the conversation on in Messenger, through Meta’s official APIs. Free plan, no card.
Start free