Meta Pixel ID: How to Find It, Add It to Your Website and Share It (2026 Guide)
Meta Pixel ID
On this pageShowHide
Quick answer
Your Meta Pixel ID is the 15–16 digit number shown under Data sources in Meta Events Manager. To install it, use a partner integration (Shopify, WordPress, etc.) or paste the base code into your site's <head>, then add the Conversions API for server-side tracking. Share it from Business Settings → Data sources → Datasets/Pixels → Assign partners or ad accounts.
Key takeaways
- You'll find your Pixel ID in Events Manager, under Data sources.
- Install it through a partner integration if you can, and add the Conversions API for reliable data.
- A “retargeting pixel” is really a Custom Audience built from your pixel's events.
- Share pixels through Business Settings. Never hand over your Business Manager login.
How to find your Meta Pixel ID
- 1Open Meta Events Manager (business.facebook.com/events_manager).
- 2Select Data sources in the left menu.
- 3Click your pixel (also called a dataset). The Pixel ID, a 15–16 digit number, appears under its name and in Settings.
You can also find it in Business Settings → Data sources → Datasets (or Pixels).
How to add the Meta Pixel to your website
Option 1, partner integration (recommended). In Events Manager choose *Connect data → Web → Meta Pixel → Use a partner*. Shopify, WooCommerce, WordPress, Wix and Squarespace connect in a few clicks and usually include the Conversions API.
Option 2, manual code. Copy the base code from Events Manager and paste it just before the closing head tag on every page (or deploy it through Google Tag Manager). Then add standard events, Lead, Purchase, AddToCart, on the right actions.
Then add the Conversions API. Browser tracking alone misses conversions due to ad blockers and privacy settings. Sending the same events server-side, with a shared event ID for deduplication, gives Meta's algorithm the data it needs. Verify everything with the Test events tab and the Meta Pixel Helper extension.
What is Meta Events Manager?
Meta Events Manager is where you create and monitor pixels (datasets), the Conversions API, offline events and custom conversions. Use it to check Event Match Quality, test events, and spot duplicate or missing events before they hurt optimization.
Facebook standard events list (event keywords)
Meta recognises a fixed set of standard event names. Use these exact names so Ads Manager can optimize for them:
| Event name | Use it when someone… |
|---|---|
| PageView | Loads any page (fires automatically) |
| ViewContent | Views a product or key page |
| Search | Uses your site search |
| AddToCart | Adds a product to cart |
| AddToWishlist | Saves a product |
| InitiateCheckout | Starts checkout |
| AddPaymentInfo | Adds payment details |
| Purchase | Completes a purchase (send value + currency) |
| Lead | Submits a lead form |
| CompleteRegistration | Signs up |
| Contact | Calls, emails or chats |
| Schedule | Books an appointment |
| SubmitApplication | Applies (e.g. for a job or loan) |
| StartTrial / Subscribe | Starts a trial or paid subscription |
| FindLocation | Looks up a store location |
| CustomizeProduct / Donate | Customizes a product / donates |
Anything else can be a custom event or custom conversion, but standard events are what Meta optimizes best.
How to create a retargeting pixel audience
There is no separate "retargeting pixel", you build Custom Audiences from the events your pixel already collects:
- 1Go to Audiences → Create audience → Custom audience → Website.
- 2Pick your pixel and a rule, e.g. "visited /pricing in the last 30 days" or "AddToCart but not Purchase in 14 days".
- 3Use the audience in a retargeting ad set, and exclude recent buyers.
Keep retargeting to a small share of budget, most growth comes from reaching new people.
Frequently asked questions
Where is my Meta Pixel ID?
In Meta Events Manager under Data sources, click your pixel or dataset and the 15–16 digit ID appears under its name.
Do I still need the Conversions API if I have the pixel?
Yes. The pixel runs in the browser and misses some conversions; the Conversions API sends events from your server so Meta receives more complete, reliable data.
Can one pixel be used by multiple ad accounts?
Yes. Share it from Business Settings by connecting additional ad accounts or assigning a partner business.
Sources
Platform rules change often, so we check sources at every update. Last reviewed October 12, 2026.

Written by
Zia Ur Rehman
Founder & Lead SEO Strategist, DigiEthic
Zia Ur Rehman is the founder of DigiEthic, with 14 years of experience in digital marketing. He works hands-on across technical SEO, AI search optimization (AEO/GEO), Local SEO, Google Ads and Meta Ads for service businesses and e-commerce brands.
Our editorial policy