Skip to content

Paid social

Meta Pixel and Conversions API explained

Tell Meta what's working.

The Meta Pixel and Conversions API are two ways of telling Meta what people do on your website after seeing an ad: the Pixel sends events from the visitor's browser, and the Conversions API sends them from your server. Meta recommends using both together, with matching event IDs so nothing is counted twice.

Better tracking means Meta can find more people like your real customers, so the same budget goes further.

Josef Winstone, Founder & Managing Director, Foundry Agency

By Josef WinstoneFounder & Managing Director · 7 min readUpdated

What are the Meta Pixel and Conversions API?

The Meta Pixel is a snippet of code on your website. When someone views a page, adds to basket or sends an enquiry, it reports that event to Meta from their browser.

The Conversions API, often called CAPI, does the same job from your server, or from a platform such as your shop or CRM. Because it doesn't rely on the visitor's browser, it can report events the Pixel misses, including ones that happen offline, such as a sale closed by phone.

Why use both?

Because each covers gaps in the other. Browser tracking can be blocked by ad blockers, browser privacy settings and slow page loads. Server tracking doesn't see everything the browser does, such as some on-page actions.

Together they give Meta a fuller picture of who converts. That helps it show your ads to more people likely to act, and gives you more accurate reporting. Meta recommends running both.

How does deduplication work?

When the Pixel and the Conversions API both report the same purchase, Meta needs to know it's one purchase, not two. You tell it by sending the same event name and the same event ID from both.

Meta then keeps one and drops the duplicate. If the IDs don't match, you'll see inflated conversions, and Meta will optimise on numbers that aren't real. Checking deduplication is one of the first jobs after set-up.

What is Event Match Quality?

Event Match Quality is a score in Events Manager that shows how well the customer information sent with your server events matches people's Meta accounts. Higher match quality means Meta can link more conversions to the ads that caused them.

You improve it by sending more of the details Meta accepts, such as email address and phone number, which are hashed before sending so they aren't passed as plain text. Only send what you're allowed to under your privacy policy and consent set-up.

How do you set up the Meta Pixel and Conversions API?

Follow these steps in order. Most of it can be done in an afternoon with the right access.

  1. In Events Manager, create a dataset (your Pixel) inside your business portfolio.
  2. Install the Pixel on every page, through your platform's integration, a tag manager or the code itself.
  3. Pick your key events: usually Lead, Purchase, or a booking, plus page views.
  4. Set up the Conversions API. Shopify, WooCommerce and many other platforms have a built-in integration. Otherwise use the Conversions API Gateway or a direct server set-up.
  5. Send the same event name and event ID from both, so Meta can deduplicate.
  6. Include the customer details you're allowed to send, hashed, to raise Event Match Quality.
  7. Make sure both respect your cookie consent choices.
  8. Use the Test Events tool to check each event arrives once, from both sources.
  9. Compare Meta's conversion counts with your own orders or enquiries for a week.

Do you still need cookie consent with the Conversions API?

Yes, in practice. In the UK, PECR rules from the ICO require consent for non-essential cookies and similar tracking on people's devices, and UK GDPR applies to any personal data you send to Meta.

Moving tracking to your server doesn't remove those duties. Set both the Pixel and the Conversions API to follow the visitor's consent choices, and say in your privacy policy what you share and why. If in doubt, take advice.

How do you check your tracking is working?

Look in three places. Test Events shows events arriving in real time while you click through your site. Diagnostics in Events Manager flags problems such as missing parameters or duplicate events. And your own records, orders or enquiries, should roughly match what Meta reports.

Check again after any website change, new plugin or platform move. Tracking breaks quietly, and nobody notices until results drop.

How does Foundry set up Meta tracking?

Tracking goes in before any ad goes live. As part of a Meta set-up, which takes about 4 hours on average, we install the Pixel, connect the Conversions API, set up deduplication and test every key event.

Paul Francis, our Lead Developer, handles server-side set-ups and integrations with CRMs and booking systems, so offline sales can be sent back too. We check tracking against your own records and report on enquiries and sales on the 1st of every month.

Our averages. Not our best days.

Our averages

  • 4hours

    Meta Ads setupthis service

  • 20mins

    Average reply time

Meta Pixel and Conversions API FAQs

  • It's strongly worth it. The Pixel alone misses events blocked in the browser. The Conversions API sends them from your server, so Meta sees more of your real conversions.

  • Not if you send the same event name and event ID from both. Meta uses them to keep one and drop the duplicate.

  • On Shopify, WooCommerce and many other platforms, there's a built-in integration that takes minutes. Custom sites need a server-side set-up or the Conversions API Gateway.

  • Yes. The Conversions API can send sales closed by phone or in person, from your CRM or a file, so Meta learns which ads led to real customers.

  • Higher is better, and Events Manager shows suggestions for improving it. Sending more permitted customer details, hashed, usually raises it.

  • It adds a small script. Loading it through a tag manager or your platform's integration keeps it tidy. Moving some events to the Conversions API reduces what runs in the browser.

Want tracking you can trust? Get moving.

Tell us what you need. We'll reply within the hour (working hours), and most websites go live about 5 days after kick-off.

We'll reply within the hour (working hours).

Or email hello@foundryagency.co.uk

Analytics cookies are off until you accept. We use them to see which pages help. Cookie notice