954-539-5678Free audit
Menu

Social media · Tracking

Meta Pixel plus Conversions API, explained

The Pixel tracks from the browser, the Conversions API from your server. Running both, deduplicated, gives Meta the data it needs to find you customers.

Pixel and server events together

Deduplicate with a shared event ID

Aim for Good event match quality

Talk to us

Tell us what you need and we’ll get back to you. Or book a free 30-minute call. Or call 954-539-5678.

The short answer

The Meta Conversions API (often called CAPI) sends conversion events such as leads and purchases from your server, website platform or CRM directly to Meta. The Meta Pixel sends the same kind of events from the visitor’s browser. Meta’s best-practice guide recommends using both and sending the same events through each: the Pixel catches browsing behavior on the page, while the Conversions API can still report events the Pixel loses, for example to connection problems, page loading errors or browser restrictions. When both send the same event, Meta deduplicates them using a shared event ID.

For most small businesses, setup takes an afternoon through a built-in integration on Shopify, WooCommerce, or another platform. Custom sites need a developer or Meta’s Conversions API Gateway. The result is more complete conversion data, which helps Meta’s delivery system find people who actually buy or inquire.

What each one does

Meta Pixel

JavaScript code in the head of your web pages. It loads in the visitor’s browser and reports page views and actions, using cookies to match visitors to Meta accounts. Easy to install, but it can be blocked.

Conversions API

A server-to-server connection. Your site or platform sends events to Meta’s endpoint with customer information, such as a hashed email, to match the event to a person. Not affected by browser blocking.

Meta’s developer documentation says server events sent through the Conversions API are processed like events sent using the Pixel, linked to the same dataset, and usable for measurement, reporting and optimization. It also says you must have a Pixel ID to use the Conversions API, and to use the same Pixel for browser and server events if you already have one.

Why you want both

  • More complete data. Browser privacy features and ad blockers stop some Pixel events. The server copy still arrives.
  • Offline and later events. The Conversions API can send events that never happen in a browser, such as a lead marked qualified in your CRM or an in-store sale.
  • Better optimization. Campaigns optimizing for leads or purchases learn from the conversions Meta sees. Missing conversions mean the system learns from a smaller, skewed sample.
  • Better retargeting. Site visitors who would otherwise go unrecorded can be included in audiences.

How deduplication works

If the Pixel and the server both report the same purchase, Meta needs to count it once. Meta’s documentation describes the main method: the Pixel’s eventID must match the Conversions API’s event_id, and the Pixel’s event name must match the server’s event_name. Events are deduplicated only if they arrive within 48 hours of the first one. When both copies arrive, Meta generally keeps the one received first.

There is a fallback that matches on event_name plus the fbp cookie or an external ID, but Meta notes it generally only works when the browser event arrives first. A shared event ID is the reliable method. Platform integrations handle this for you; custom builds must generate one ID per action and send it through both channels.

Your setup options

  1. Platform integration. Shopify’s Facebook and Instagram sales channel, WooCommerce’s Meta integration and similar apps on other platforms can turn on the Conversions API alongside the Pixel and handle deduplication. Set data sharing to the highest level the app offers. This is the right answer for most stores.
  2. Partner integrations. Many CRMs, booking tools and tag management services offer a Conversions API connection you switch on in settings.
  3. Conversions API Gateway. A Meta product that runs in your own cloud account, takes events from your Pixel and forwards them server-side. Meta describes it as a self-serve option set up from Events Manager without coding. Useful for custom sites without developer time for a direct build, though you pay for the cloud resources and someone has to look after that cloud account.
  4. Direct integration. Your developer sends events from your server to Meta’s API with an access token. Meta’s getting-started guide says you generate the token in Events Manager, in the dataset’s settings, under the Conversions API section. This gives the most control, including sending CRM events such as qualified leads.

Which events to send

Send the few events that match your business goals, with the same names in the browser and on the server:

  • Online store: ViewContent, AddToCart, InitiateCheckout and Purchase with value and currency.
  • Service business: Lead when a form is submitted, Contact for click-to-call or chat, and Schedule for booked appointments.
  • From your CRM: a later event when a lead is qualified or becomes a customer, so campaigns can optimize toward real buyers rather than any form fill.

Need tracking set up properly?

Book a free 30-minute call. We look at your Pixel and conversion setup with you and tell you what we would fix first. No obligation. Pick a time.

What data to send

Meta matches server events to people using customer information parameters. The more accurate parameters you send, the better the match.

  • Hashed before sending: email address, phone number, first and last name, city, state, zip code and other personal details, normalized and hashed with SHA-256. Most platform integrations do this automatically.
  • Not hashed: Meta’s documentation marks the client IP address, browser user agent and the fbc and fbp cookie values as do-not-hash.
  • Event details: event name, event time, the page URL, the action source (website for web events), and for purchases the value and currency.

Only send data your privacy policy covers and your customers agreed to. Health, financial and legal businesses should be especially careful about what events and data leave their site. This is general information, not legal advice; confirm with counsel for regulated data.

How to check it is working

  1. Events Manager overview: each event should show both Browser and Server as connection methods.
  2. Deduplication: the event details should show events being deduplicated, not double counted. Purchases in Ads Manager far above your actual orders are a warning sign.
  3. Event match quality: Meta scores it out of 10, currently for web events only, and its documentation treats a rating of Good or Great as optimal.
  4. Test events: use the Test events tab to place a test lead or order and watch both copies arrive.
  5. Compare with reality monthly: Meta-reported purchases against store orders, and leads against your CRM.

Common problems

  • Two Pixels on the same site from an old agency and a new app, causing duplicate events.
  • Server events with a different event name from the browser, such as Lead versus SubmitForm, so they never deduplicate.
  • A Pixel created in an agency’s business portfolio, so the business does not own its own data.
  • Integrations left on minimal data sharing, giving low match quality.
  • Tracking a thank-you page that people can reach without converting, inflating leads.

How JLB USA helps

JLB USA has helped growing businesses with web design, marketing and IT for more than 15 years, with 500+ clients and 1,000+ projects. We install and audit the Pixel and Conversions API, connect CRM events through our systems integration work, and run the campaigns that use the data. See our paid advertising services and our Shopify versus WooCommerce comparison if you are choosing a store platform.

Keep reading

Book it now · Free

Book a free 30-minute call

Pick a time. We look at what you have now with you and tell you what we would change first. No obligation.

Prefer to talk now? Call 954-539-5678, or send the form and we’ll contact you.

Questions we hear

Do I still need the Meta Pixel if I use the Conversions API?

Meta recommends both. The Pixel captures browser activity and the Conversions API fills gaps when the browser blocks it. Meta deduplicates events sent through both.

Is the Conversions API free?

Meta does not charge for it. Costs come from setup time, apps, or hosting if you use the Conversions API Gateway in your own cloud account.

Where do I get a Conversions API access token?

In Events Manager, open your dataset’s settings and use the generate access token link in the Conversions API section. Only people with developer permissions for the business see it.

What is a good event match quality score?

Meta scores it out of 10 and treats a rating of Good or Great as optimal. Sending more accurate customer information, such as hashed email and phone, usually raises it.

Why are my conversions counted twice?

Usually the browser and server events have different event IDs or names, or there are two Pixels on the site. Fix the IDs so they match and remove duplicate Pixels.

Related services

Want a second opinion on your website or marketing?

Pick a time for my free callCall 954-539-5678