Last checked: November 2026. Meta renames and moves tools often, so follow the current screens in your own Events Manager and Meta’s help pages if anything looks different.
Every piece of advice about Facebook ads eventually arrives at the same place: make sure your tracking works. It is the least glamorous part of advertising and the one that quietly decides whether everything else succeeds. Without good tracking, you cannot tell which ads produce leads or sales. Meta’s delivery system cannot learn who your best customers are. Retargeting audiences stay empty. And every report you read is built on incomplete data.
Yet tracking is also where many small business owners get stuck. The terminology is confusing: pixel, dataset, events, Conversions API, deduplication, match quality. Guides assume you have a developer. Platforms offer several different setup routes, and it is hard to tell which one to use or whether it is working.
This guide explains the Meta Pixel and the Conversions API in plain English, then walks you through setting them up and testing them. You will learn what each one does, how they work together, the four main setup routes and how to choose one for your website, which events to track for different kinds of business, how to verify everything in Events Manager, how to avoid double counting and how to fix common problems. It is written for business owners, with notes on the parts you may want to hand to a developer.
The short version
- The Meta Pixel is a small piece of code on your website that sends events, such as page views and purchases, from the visitor’s browser to Meta.
- The Conversions API sends the same kinds of events from your server directly to Meta, which makes your data more complete.
- Best practice is to use both, with matching event IDs so Meta counts each action once.
- Events Manager is where you set it up, test it and monitor it. In current versions, the pixel sits inside a dataset, the container that can receive events from your website, server and other sources.
- Test before you spend. Use the Test Events tool and a real test action.
What the Meta Pixel does
When someone visits your website, the pixel can record what they do: view a page, view a product, add to cart, start checkout, submit a form or buy. It sends those events to Meta, which uses them to:
- Measure results. You can see how many leads or purchases your ads produced.
- Optimise delivery. Meta looks for more people like those who took the actions you care about.
- Build audiences. You can retarget website visitors, and create audiences from people who took particular actions. See Facebook retargeting.
The pixel works inside the visitor’s browser, and that is its limitation.
Why the pixel alone is no longer enough
Browser-based tracking loses information. Privacy settings, ad blockers, browser restrictions on cookies, device changes and consent choices can all stop some events from reaching Meta. The result is under-reporting: your ads may be producing more leads and sales than Meta can see, which weakens optimisation and makes results look worse than they are.
What the Conversions API does
The Conversions API, often shortened to CAPI, sends events from your server, or from a platform that acts on your behalf, straight to Meta. It does not depend on the visitor’s browser, so it is less affected by ad blockers and browser limits. It can also send additional information that the pixel cannot easily capture, such as events from your CRM or offline sales.
Together, the pixel and the Conversions API give a more complete picture. Meta describes using both, with deduplication, as a redundant setup that improves reliability.
Key terms in plain English
| Term | Meaning |
|---|---|
| Pixel | The browser-side tracking code on your website |
| Dataset | The container in Events Manager that receives events from your pixel, server and other sources. It uses the same ID as your pixel, so existing setups keep working |
| Event | An action you track, such as a purchase or a lead |
| Standard events | Predefined event names Meta recognises, such as Purchase, Lead and AddToCart |
| Conversions API (CAPI) | Server-side sending of events to Meta |
| Deduplication | Making sure the same action sent by the pixel and by the server is counted once |
| Event ID | A unique ID attached to an event so Meta can match the pixel and server versions |
| Event Match Quality | A measure of how well Meta can match your events to people, based on the customer information included |
| Test Events | A tool in Events Manager for checking that events arrive correctly |
Before you start
Gather what you need:
- A Facebook Page and a Meta Business account, with you as an admin. Use a business account, not only a personal profile.
- An ad account connected to the business account.
- Access to your website or the person who manages it.
- A list of the actions you want to track, such as leads, bookings, purchases or phone clicks.
- Your privacy and consent setup. Know what your privacy policy says, and whether visitors in your area must consent to tracking.
If your business is in a sensitive category, such as health, legal or financial services, think carefully about what you track and send. See the privacy section below.
Step 1: Create or find your pixel (dataset)
- Open Events Manager from your Meta Business tools or Ads Manager menu.
- Look for your data sources. If you already have a pixel or dataset, open it and check it belongs to the right business account.
- If you do not have one, choose to connect a new data source for your website and follow the prompts to create a pixel or dataset. Give it a clear name, such as your business name.
- Note the dataset (pixel) ID. You will need it for some setup routes.
Only create one pixel per business in most cases. Multiple pixels on the same site cause confusion.
Step 2: Choose your setup route
There are four common routes. Pick the one that matches your website and skills.
Route A: Partner integration (easiest for most businesses)
Many platforms have official integrations that install the pixel and send Conversions API events for you, with little or no code.
- Shopify: use Shopify’s Facebook and Instagram sales channel or Meta integration. Connect your Meta business account, choose your pixel or dataset and turn on the data-sharing level that includes server events.
- WooCommerce and WordPress: use Meta’s official plugin or a reputable partner plugin, connect your account, choose the dataset and enable server-side events.
- Wix, Squarespace, BigCommerce and others: look for the built-in Meta or Facebook integration in your platform’s marketing settings.
- CRMs and booking tools: some connect to Meta directly. Check the integrations list of the tools you use.
Best for: online stores and small business websites built on mainstream platforms. Meta’s partner list changes, so confirm what is available in Events Manager.
Watch out for: switching on an integration and never checking what it sends. Always test.
Route B: Conversions API Gateway
Meta offers a hosted setup that helps send server-side events without extensive coding. It runs on cloud infrastructure and may involve hosting costs. It can suit businesses that want server-side tracking but lack developers, where a direct partner integration is not available. Check Meta’s current instructions and any costs before choosing it.
Route C: Google Tag Manager
If your website already uses Google Tag Manager, you can add the Meta Pixel as a tag, and use a server-side container for the Conversions API. This route is flexible and common among marketers and agencies, but it is more technical.
Best for: businesses with several tracking tools, consent management or a technical team.
Route D: Direct installation and direct API integration
- Pixel code: copy the base code from Events Manager and paste it into your website’s header, or give it to your developer.
- Conversions API: a developer sends events to your dataset using Meta’s API with an access token.
Best for: custom-built websites and companies with developers. It offers the most control, and the most responsibility. If you build custom integrations, you own every bug and every API change.
A simple rule for choosing
- Use a maintained partner integration if your platform offers one.
- If not, consider the Conversions API Gateway or Google Tag Manager.
- Use a direct integration only if you have developer support.
Step 3: Install the pixel and choose your events
Whichever route you choose, you will decide which events to send. Use Meta’s standard events where possible, because Meta recognises them and can optimise for them.
Events for lead generation businesses
| Event | When to fire it |
|---|---|
| PageView | Every page load, usually automatic |
| ViewContent | Visit to a key service or landing page |
| Lead | Form submitted or enquiry sent |
| Contact | Click on a phone number, email or message button |
| Schedule | Appointment or consultation booked |
| CompleteRegistration | Registration for an event or webinar |
Events for e-commerce
| Event | When to fire it |
|---|---|
| PageView | Every page load |
| ViewContent | Product page viewed |
| AddToCart | Item added to cart |
| InitiateCheckout | Checkout started |
| AddPaymentInfo | Payment details entered |
| Purchase | Order completed, with value and currency |
Keep your event list short and meaningful. Track the actions that matter to your business, and make sure each fires once, at the right moment, with the correct value where relevant.
Event parameters
Events can carry extra information, such as the value of a purchase, the currency and the product IDs. For purchase events, value and currency are essential, because Meta uses them to calculate return on ad spend.
Step 4: Add the Conversions API
If you used a partner integration, server events are often switched on within the integration settings. Look for an option such as maximum or enhanced data sharing, and confirm in Events Manager that events arrive from the server.
If you are using another route, follow Meta’s instructions for sending events from your server or tag manager. The important points are:
- Send the same events as the pixel, at least your key ones, such as Lead or Purchase.
- Include the same event ID on the browser and server versions of each event, so Meta can deduplicate them.
- Include customer information parameters where you have permission, such as email address and phone number, which are hashed before sending. These improve matching quality.
- Send events promptly, shortly after they happen.
As one experienced guide puts it, start with one event, usually Purchase or Lead, verify it, then roll out the rest.
Step 5: Deduplicate so you do not double count
When the pixel and the Conversions API both send the same action, Meta needs to know it is one action, not two. It does this by matching an event name and an event ID across the browser and server versions.
- Generate a unique ID for each event, and send it with both the pixel event and the server event.
- Use the same event name on both.
- Check in Events Manager that matching events are shown as deduplicated, not counted twice.
Partner integrations normally handle this for you, which is one reason they are recommended. If you build a custom setup, deduplication is the part most often done wrong.
Step 6: Verify your domain and review settings
- Verify your domain in Meta Business settings, which helps ensure your events are accepted and gives you control over which accounts can use your domain.
- Review data sharing and privacy settings in your dataset.
- Check which ad accounts and people have access to your dataset and pixel.
Step 7: Test everything
Never assume it works. Test with these tools.
The Meta Pixel Helper
This browser extension shows whether the pixel is present on a page and which events fire, with any errors. Visit your website, perform key actions and check what the helper reports.
The Test Events tool in Events Manager
- Open your dataset in Events Manager and go to Test Events.
- Enter your website address to open it in test mode, or use the test event code for server events.
- Perform real actions on your site, such as submitting a form or completing a test purchase.
- Watch the events arrive. For a redundant setup, you should see events marked as received from both the browser and the server.
- Check that deduplication is working, the event names are correct and values are present.
Your dataset overview
Open the overview and look at each event. It shows which connection methods the event arrives through. Key events such as Lead and Purchase should show both browser and server. Also check Event Match Quality and any diagnostics Meta shows.
Compare with real records
Submit a real test lead or place a test order, then check that it appears in your CRM, inbox or store orders, and compare the numbers over a few days. Exact matches are rare because attribution differs, but large gaps need investigating. Our guide to Meta ads reporting explains how to cross-check.
Step 8: Improve match quality
Event Match Quality reflects how well Meta can connect an event to a person. Higher quality generally helps measurement and optimisation. You can improve it by:
- Sending customer information parameters, such as hashed email and phone number, with server events, where you have the right to do so.
- Collecting email and phone number in your forms and checkout, with appropriate consent.
- Sending events promptly and with consistent formatting.
- Avoiding sending sensitive data.
Do not obsess over a single score. Focus on correct, consistent events first.
Privacy, consent and sensitive categories
Tracking involves personal data, so privacy matters.
- Follow the law where you operate. Rules on consent and tracking vary by country and state. Some regions require visitors to opt in before tracking starts. Use a consent management approach that suits your location.
- Keep your privacy policy accurate, and describe your use of advertising tools.
- Be careful in sensitive categories. If you work in health, legal, financial or similar fields, think about where the pixel is installed and what it sends. Avoid putting tracking on pages involving patient or client details, and do not send sensitive information to advertising platforms. Take advice from your compliance or legal contact.
- Send only what you need.
This article is general information, not legal advice.
Troubleshooting common problems
| Problem | Likely cause | What to do |
|---|---|---|
| Pixel Helper shows no pixel | Code not installed, wrong page or blocked | Check installation, clear cache, test another browser |
| Events fire twice | Duplicate pixel installs, or pixel plus plugin both firing | Remove the duplicate, keep one setup |
| Server events missing | Integration not enabled or token problem | Recheck partner settings, access token and dataset ID |
| Events counted twice in reports | Deduplication not working | Make sure event names and event IDs match on browser and server |
| Purchase value missing or wrong | Missing parameters | Add value and currency to the purchase event |
| Leads in Ads Manager do not match your inbox | Attribution differences, tracking gaps or duplicates | Compare over a longer period and check for errors |
| Low Event Match Quality | Few customer parameters sent | Include hashed email and phone where permitted |
| Events stopped suddenly | Website update or plugin conflict | Retest after changes, and check recent edits |
Retest after any change to your website, theme, plugins, checkout or consent tools. Many tracking failures happen after an unrelated update. Our Facebook ads audit checklist includes a tracking section you can run every quarter.
A setup checklist
- Business account and Page ready, with you as an admin
- Pixel or dataset created or identified, with a clear name
- Setup route chosen, preferably a partner integration
- Pixel installed on every page
- Key events chosen, named and firing once each
- Value and currency on purchase events
- Conversions API enabled with matching event IDs
- Domain verified
- Test Events checked for browser and server events and deduplication
- Pixel Helper checked on key pages
- Real test lead or order compared with your own records
- Privacy policy and consent reviewed
- Retest scheduled after any site change
Frequently asked questions
What is the Meta Pixel?
It is a piece of code on your website that sends events, such as page views, leads and purchases, from the visitor’s browser to Meta, so you can measure ads, optimise delivery and build audiences.
What is the Conversions API?
It is a way of sending the same kinds of events from your server, or a platform acting for you, directly to Meta. It is less affected by ad blockers and browser limits.
Do I need both the pixel and the Conversions API?
Using both, with deduplication, is generally recommended because it gives more complete data. Many platforms set this up together.
How do I set up the Meta Pixel on Shopify or WordPress?
Use the official Meta or Facebook integration or plugin for your platform, connect your Meta account and dataset, enable server-side events and test in Events Manager.
How do I know if my pixel is working?
Use the Meta Pixel Helper extension and the Test Events tool, then compare real actions with your own records.
Why do my Ads Manager numbers not match my sales?
Attribution rules, tracking gaps, privacy settings and timing differences all affect reported numbers. Use your own records as the source of truth, and keep settings consistent.
Is a pixel called a dataset now?
In current Events Manager, the pixel sits inside a dataset, which can receive events from several sources. The dataset ID is the same as the pixel ID, so existing setups keep working.
Final thoughts
Good tracking is the foundation of every campaign. Choose the simplest reliable setup route, usually a partner integration, track a small number of meaningful events, add the Conversions API with matching event IDs, test thoroughly and keep checking after any website change. When tracking is right, everything else in your advertising becomes easier to measure and improve.
Cyborg Media Tech is a Meta ads agency for business owners across many niches, with tracking setup built into how we work. If you would like help setting up or auditing your pixel and Conversions API, book a free strategy call.