Meta Pixel
Meta's page script that reports visits and actions on an advertiser's site back to Meta.
In one line
Can tell Meta about your visits and actions on a site that uses the pixel
Meta's page script that reports visits and actions on an advertiser's site back to Meta.
Sets _fbp (90 days) and _fbc (from the fbclid) cookies and sends page, button and form events, plus hashed email or phone if Advanced Matching is on. Lets Meta tie a visit to a Facebook or Instagram account.
What it can and can't do
What the user does: Nothing. It happens when you open a page with the Meta Pixel
It can
- Report page views, add to cart and purchases to Meta
- Link them to your Facebook or Instagram account if you are signed in
- Let the advertiser show you ads on Meta apps later
It cannot
- Run on sites without the pixel
- See what you do in other apps
- Work if the pixel is blocked
- Know who you are if you are not signed in to Meta, unless the site shares your email
How it differs between platforms: Safari and Firefox limit how long and how widely the cookies work. Chrome allows them.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 1 | 2008-12-11 | Script runs in any browser, cookie lifetimes vary |
| Edge | Supported | 1 | Not listed | Script runs in any browser, cookie lifetimes vary |
| Firefox | Supported | 1 | 2004-11-09 | Script runs in any browser, cookie lifetimes vary |
| Safari | Supported | 1 | 2003-06-23 | Script runs in any browser, cookie lifetimes vary |
| Safari on iPhone | Supported | 1 | 2007-06-29 | Script runs in any browser, cookie lifetimes vary |
| Chrome on Android | Supported | 1 | Not listed | Script runs in any browser, cookie lifetimes vary |
| Samsung Internet | Supported | 1 | 2013-04-27 | Script runs in any browser, cookie lifetimes vary |
How a site asks for it
| API | fbq('track', ...); requests to facebook.com/tr |
| How access is granted | none |
| What the user sees | None |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | _fbp and _fbc cookies last 90 days |
| How to take it back | Clear site data, browser privacy settings |
| Inside an iframe | Not listed |
Data you get
What comes back: Pixel events
Shape: event
How often: per action
No individual data fields. The signal is the access itself.
Technical limits
- Blocked by many tracker blockers and Safari ITP limits script cookies
- Conversions API sends the same events from the server
- Hashed email is SHA-256 normalised
The story
What it is
Meta's page script that tells Facebook and Instagram about your visits and actions on other sites.
For you
You never see it. When you view a product or fill a form on a site, the pixel tells Meta. It sets _fbp and _fbc cookies, and with Advanced Matching it sends your scrambled email. Meta can tie it to your account.
For makers
Advertisers can count sales from Facebook and Instagram ads and build audiences from site visitors. Meta gets one of the richest data sets of off platform behavior. It powers lookalike audiences and retargeting.
Where you see it
| Type | Example | Apps |
|---|---|---|
| ads | You look at a jacket on a store site. Later your Instagram feed shows that jacket. | Meta Ads, Instagram |
| shopping | A shop counts each purchase from an ad, and sends the order value to Meta. | Shopify |
| games | A mobile game's site uses a pixel to find players like those who paid, and shows ads to them. | Zynga, Supercell |
| analytics | A marketer sees which ad, audience and picture gave the cheapest sign up. | None named |
| media | A newsletter sees which Facebook ads bring paying readers. | Substack |
| health | A health site pixel has been criticized for sending page visits about conditions to Meta. | GoodRx, BetterHelp |
Risks
- Can reveal sensitive page visits
- Linked to your Facebook account
What the platform says
- Meta: Meta Pixel. Meta pitches it as a piece of code that measures ad results and builds audiences from site actions.
Good uses and abuse
Legitimate uses
- Ad measurement, retargeting
Known abuse
- Cross-site profile building, sensitive health or finance leaks
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2021-04, Safari 14.5: App tracking transparency raised pressure on pixels
- 2022-08, all: Meta Pixel health data settlements and lawsuits began
Related capabilities
Related
- Conversions APIs (server to server). Can send your purchases and sign ups to ad platforms from the advertiser's server
- Hashed email as identity. Can recognize you across sites by a scrambled version of your email
- Ad click IDs (gclid, fbclid, msclkid and more). Can tag your ad click so a later purchase links back to that exact ad
Sources
How well checked: Based on official documentation.