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.

Facebook and Meta ads

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.

CategoryWhat it covers
HTTP headersWhat a browser normally sends: IP address, browser details, page location, referrer
Pixel-specific dataThe Pixel ID and the Facebook cookie
Button click dataButtons clicked, their labels and pages visited as a result
Optional valuesExtra details you choose to send, such as conversion value or page type
Form field namesNames 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

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