Advertising7 min read
Meta Pixel and Conversions API Explained for Small Businesses

The Meta pixel is a piece of code on your website that sends events, such as a page view, a form submission or a purchase, from the visitor’s browser to Meta. The Conversions API (CAPI) sends the same kind of events from your server or e-commerce platform directly to Meta. Meta recommends using both together, which it calls a redundant setup, so events missed by the browser can still be recorded, and it removes duplicates when both send the same event with a matching event ID and event name (Meta for Developers). This explainer covers what each one does, why many small businesses running Facebook and Instagram ads need both, how to set them up on common platforms, and how to check the numbers are right.
Why tracking matters if you run Meta ads
Meta’s ad system learns from the events you send it. If you tell it “optimise for leads”, it looks for people similar to those who submitted your form. If half your form submissions never reach Meta, it learns from half the data, and your reports undercount the results your money paid for.
Browser tracking misses events for ordinary reasons: ad blockers, browser privacy settings, slow mobile connections that close before the code loads, and visitors who switch between apps. Server-side tracking doesn’t depend on the visitor’s browser, so it fills many of those gaps.
Pixel vs Conversions API at a glance
| Meta pixel | Conversions API | |
|---|---|---|
| Where it runs | In the visitor’s browser | On your server, platform or a tracking service |
| How it’s installed | Code snippet, tag manager or platform plug-in | Platform integration, Conversions API Gateway, server-side tag manager, or direct code |
| Affected by ad blockers and browser settings | Yes | Not in the same way |
| Can send offline events (phone sales, in-store) | No | Yes |
| Set-up effort | Low | Low on Shopify-type platforms, higher on custom sites |
| Recommended by Meta | Yes, alongside CAPI | Yes, alongside the pixel |
The events most small businesses should track
Meta has a list of standard events. You don’t need all of them. Pick the ones that match how customers buy from you:
| Business type | Key events |
|---|---|
| Online store | ViewContent, AddToCart, InitiateCheckout, Purchase |
| Lead generation (schools, builders, coaching, services) | Lead (form submitted), Contact (call or WhatsApp click), Schedule (booking made) |
| Local business with WhatsApp sales | Contact (WhatsApp click), Lead (enquiry form) |
Fire the Lead or Purchase event on the thank-you page or the successful submission, not when someone merely opens the form. Firing too early inflates your numbers and teaches Meta the wrong behaviour.
How deduplication works
If both the pixel and the Conversions API send the same purchase, Meta needs to know it’s one purchase, not two. According to Meta’s developer documentation:
- The pixel’s
eventIDmust match the Conversions API’sevent_id. - The pixel’s event name must match the Conversions API’s
event_name. - Meta deduplicates matching events received for the same pixel within 48 hours, keeping the first and discarding the later one.
There’s a fallback method using the fbp browser identifier or external_id, but Meta notes it generally only works when the browser event arrives first. The event ID method is more reliable.
In practice: generate one unique ID for each event (an order number works well for purchases) and pass the same ID through both channels. If the IDs differ by even one character, Meta counts two events.
Customer information and Event Match Quality
Server events are more useful when they include customer details that help Meta match the event to a person, such as email address, phone number, city and the fbp and fbc identifiers. Meta requires details such as email, phone, name, city and postcode to be normalised (for example, email trimmed and in lower case; phone as digits only, with the country code, so 91 for India) and hashed with SHA-256 before sending (Meta: customer information parameters). Platform integrations usually do this for you.
Events Manager shows an Event Match Quality score for each server event, indicating how well your customer information can be matched. A low score usually means fields are missing or badly formatted.
Send only what your privacy notice covers and your customers have agreed to. More data isn’t better if you weren’t entitled to collect it.
How to set it up on common platforms
Shopify: Shopify’s Facebook and Instagram sales channel connects your store to Meta and offers data-sharing settings, with the highest setting enabling server-side events. Check the setting names in your store, as Shopify updates the app.
WooCommerce (WordPress): Meta-supported WooCommerce extensions connect the store to Meta and can send server events. Install from the official WordPress plug-in directory, connect your business account, and check the Conversions API option is switched on.
Custom-built or Elementor websites: the options are:
- Conversions API Gateway: a Meta-supported option that runs on a cloud account and sends server events without custom code (Meta: Conversions API Gateway).
- Server-side Google Tag Manager: suits sites already using Tag Manager; needs a hosted server container.
- Direct integration: your developer sends events from the website’s back end when a form is saved or an order is confirmed.
Lead forms and WhatsApp: if your leads come through Meta Instant Forms or WhatsApp rather than your website, the pixel won’t see them at all. Meta’s CRM integration options let you send back which leads became customers, so the system can learn which leads are worth having. Our guide to Meta account issues, Meta ad account restricted, covers ownership of the pixel and business assets, which matters here too.
How to check it’s working
- Test Events: in Events Manager, open your dataset, go to Test Events, and complete a test purchase or form. Both a browser and a server event should appear.
- Deduplication: in the event’s details in Events Manager, check that browser and server events are being deduplicated rather than double-counted.
- Compare with your own records: count last week’s orders or form submissions in your website or CRM and compare them with Meta’s count. They won’t match exactly (attribution windows differ), but a large gap means something is broken.
- Re-check after website changes: a new theme, checkout or form plug-in often breaks tracking. Add a test to your launch checklist. Our guide to redesigning a website without losing rankings has the wider checklist.
Special care for health, finance and other sensitive businesses
Meta restricts the data that health and wellness, financial and some other advertisers can share, and may limit which events those advertisers can use for optimisation. Meta assigns each website or app that sends it data to a category, and Events Manager shows whether a restriction applies to yours. The restriction applies to the data, whether it arrives through the pixel or the Conversions API.
For hospitals, clinics, diagnostic centres and IVF clinics:
- Don’t send event names, URLs or parameters that reveal a condition, test or treatment (for example, a URL containing “pregnancy-scan” or an event called “CancerEnquiry”).
- Check Events Manager for any data-sharing restriction notices on your account.
- Have tracking reviewed as part of your compliance process. See our guide to hospital advertising rules in India.
Privacy and consent in India
The Digital Personal Data Protection Act, 2023 requires businesses to give a clear notice and obtain valid consent before processing personal data. The Digital Personal Data Protection Rules, 2025 were notified in November 2025 with an 18-month period for phased compliance, so most obligations on businesses, including the detailed notice and consent requirements, apply from May 2027 (PIB: DPDP Rules, 2025 notified). Setting up forms and tracking correctly now is easier than changing them later. Sending a customer’s hashed email or phone number to an ad platform is processing personal data.
Before switching on the Conversions API with customer information:
- Update your privacy policy to say what you share with advertising platforms and why.
- Make sure your forms and checkout tell people how their information will be used.
- Get legal advice on whether your consent wording and timing meet the Act and Rules.
When to get help
Tracking problems are among the most common reasons Meta campaigns look like they aren’t working. Our Facebook and Instagram ads management service includes pixel and Conversions API set-up and testing, and our website development team builds forms and checkouts with tracking planned in from the start.
Sources
- Meta for Developers: handling duplicate pixel and Conversions API events
- Meta for Developers: customer information parameters
- Meta for Developers: Conversions API Gateway
- Press Information Bureau: DPDP Rules, 2025 notified (17/11/2025)
Last reviewed: 27/11/2026.
Frequently asked questions
What is the Meta Conversions API?
The Conversions API is a Meta tool that sends website, app or offline events, such as leads and purchases, from your server or platform directly to Meta rather than from the visitor's browser. It helps record events that browser-based tracking misses and gives Meta better data to optimise and measure your ads.
Do I need both the Meta pixel and the Conversions API?
Meta recommends running both. The pixel captures browser activity, and the Conversions API sends events from your server, so each covers gaps in the other. When both send the same event, Meta removes the duplicate if the event ID and event name match.
How does Meta deduplicate pixel and Conversions API events?
The pixel's eventID must match the Conversions API's event_id, and the pixel's event name must match the Conversions API's event_name. When Meta receives a matching pair for the same pixel within 48 hours, it keeps one and discards the duplicate.
What is Event Match Quality?
Event Match Quality is a score in Meta Events Manager that indicates how well the customer information sent with your server events can be matched to Meta accounts. Sending more of the permitted, correctly formatted and hashed customer details, such as email and phone number, usually improves it.
How do I set up the Conversions API on Shopify or WooCommerce?
Shopify and WooCommerce both offer Meta integrations with a Conversions API option, set up by connecting your Meta business account and choosing the data-sharing settings. Check the current settings in the integration, then confirm in Events Manager that server events are arriving and being deduplicated.
Is it legal to send customer data to Meta through the Conversions API?
It depends on what you collect, what your privacy notice says and the consent you obtain. Under India's Digital Personal Data Protection Act, 2023, businesses must give notice and obtain valid consent for processing personal data. Have your privacy notice and consent wording reviewed before sending customer data to any ad platform.



