More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Blog › PPC and Paid Ads › Meta Pixel and Conversions API (CAPI): How to Set Up Tracking Meta Can Learn From

Meta Pixel and Conversions API (CAPI): How to Set Up Tracking Meta Can Learn From

Helium SEO blog

By Paul DeMott, CTO, Helium SEO

Short answer: The Meta Pixel reports what people do on your website from their browser. The Conversions API (CAPI) sends the same events from your server or CRM. Run both, give each event the same event ID so Meta counts it once, and send Meta which leads turned into customers. That is the data Meta’s delivery system learns from.

What is the Meta Pixel?

The Meta Pixel is a piece of JavaScript on your website that tells Meta when someone who saw or clicked your ad visits a page or fills in a form. It was called the Facebook Pixel until Meta renamed it in 2022, and it is the same code. In Events Manager, Meta now shows the Pixel and the Conversions API together as one dataset.

The Pixel sends standard events such as Lead, Schedule and Purchase. Standard events matter because Meta can aim campaigns at them and match them to people more easily than custom event names. When you need something narrower, such as a lead from one service page, build a custom conversion on top of a standard event with a URL rule that says “contains”, not “equals”.

What is the Conversions API?

The Conversions API (often shortened to CAPI) is a direct connection from your server or CRM to Meta. Instead of relying on the visitor’s browser to send the event, your system sends it. Ad blockers and browser privacy settings lose fewer events this way.

There are three common ways to set it up:

  • A platform integration. Shopify and many CRMs have a built-in Meta connection that sends server events for you.
  • Server-side Google Tag Manager. A server container receives your site’s events and forwards them to Meta. This suits sites that already run GTM.
  • Conversions API Gateway. Meta’s own option, which runs in your cloud account and sends events without custom code.

Why you need both

Run the Pixel and the Conversions API side by side. The Pixel catches browser signals the server can’t see, and the server catches events the browser drops. Meta removes the duplicates when both send an event with the same event name and the same event ID. Without a matching event ID, every lead gets counted twice and your cost per lead looks half what it is.

It counts for more than it used to. Since Meta’s Andromeda update, the delivery system picks who sees each ad from the ad itself and from your conversion data. If half your leads never reach Meta, it learns from half the picture. Our Meta Andromeda guide explains that change and the campaign setup that goes with it.

How to set up the Meta Pixel and Conversions API

  1. Create or find the dataset in Meta Events Manager, under the Business Manager that owns your ad account.
  2. Install the Pixel on every page, through your site platform or Google Tag Manager.
  3. Fire the lead event on the real conversion, the form submit or the thank-you page, not the button click.
  4. Connect the Conversions API through one of the three routes above, sending the same events.
  5. Pass the same event ID from the browser and the server for each event so Meta can deduplicate.
  6. Send customer details, hashed. Email and phone number, hashed with SHA-256 before they leave your server, plus the click ID and browser ID Meta sets.
  7. Test before you spend. Use the Test Events tab in Events Manager and the Meta Pixel Helper Chrome extension to confirm each event fires once from each source.
  8. Point the ad set at the right event. Open each ad set and check which conversion event it is set to. We have found live budgets aimed at events that had not fired in weeks.

Which conversion event should the campaign aim at?

Start with the plain lead or call event that fires reliably, with no values attached. For most service businesses that is the website Lead event from the form on your landing page. A phone call counts as a conversion too: if a call-tracking tool sends Meta a call event, that event can be what the campaign aims at.

A deeper event, such as a call over 60 seconds or a booked appointment, teaches Meta more about who buys. It only works with volume. Below about 15 of those events a week, we keep the campaign on the plain lead event and use the deeper events to judge the ads.

In reports, name the event: cost per lead, cost per booked call or cost per purchase. “Results” and “cost per result” change meaning when campaigns aim at different events, and they break automated rules.

What is Event Match Quality?

Event Match Quality is a score out of 10 that Meta gives each server event in Events Manager. It measures how well the customer details you send let Meta match the event to a person on Facebook or Instagram. Email, phone number, the Meta click ID and an external ID from your CRM raise it the most. We aim for 7 or higher on the lead or purchase event. A low score usually means the form data isn’t being passed to the server event, or it is being sent unhashed and rejected.

Sending lead quality back from your CRM

A form fill tells Meta who will fill in a form. It doesn’t tell Meta who will buy. The cheaper a lead is, the less likely it usually is to close, and Meta finds more of whatever you count as a win. So once leads come in steadily, send what happened next back through the Conversions API: qualified, booked, sold, or junk.

You can send these as separate events, or as a lead event with a value based on job size. We set up one custom conversion per lead tier (for example bad, good and great) so the ads can be read by lead quality next to cost per lead. Once qualified leads arrive steadily, sending them back with a value and testing a value-based campaign on about 10 to 15% of the budget is the next step.

Tracking mistakes we find in audits

  • The lead event fires on the thank-you page and again on an upsell page, so one lead counts twice.
  • The Pixel and the Conversions API both send leads with no shared event ID.
  • Custom event names used where a standard Lead or Purchase event would do, which weakens matching.
  • Ad sets aimed at an event that stopped firing after a site or form change.
  • Instant-form leads and website leads mixed in one report, with no way to tell which closed.

If you want a second pair of eyes on your setup, our Meta ads agency team checks tracking first in every free audit.

Not sure Meta is seeing your leads?

We’ll check your Pixel, Conversions API and event setup, and show you what Meta is missing. The audit is free (a $1,500 value), and we work month to month.

Get your free audit

FAQ

Is the Meta Pixel the same as the Facebook Pixel?

Yes. Meta renamed the Facebook Pixel to the Meta Pixel in 2022. It is the same code and works the same way, and an old Facebook Pixel install keeps working.

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

Yes. Meta recommends running both, and so do we. The Pixel catches browser signals the server can’t see, and the Conversions API catches events the browser loses. Shared event IDs stop double counting.

What is a good Event Match Quality score?

Meta scores Event Match Quality out of 10. We aim for 7 or higher on the main conversion event. Sending a hashed email and phone number with every lead is usually the fastest way to raise it.

What is the Conversions API Gateway?

It is Meta’s own way to set up the Conversions API without writing code. It runs in your cloud account and sends the events your Pixel sees from the server as well.

How do I check if my Meta Pixel is working?

Install the Meta Pixel Helper extension in Chrome and load your site, or open Test Events in Events Manager and submit a test lead. Each event should appear once from the browser and once from the server, with the same event ID.

Sources

Picture of Paul DeMott
Paul DeMott
Paul DeMott is the co-founder and CTO of Helium SEO. He has spent the last fifteen years working across SEO, software development and PPC, and has built many of the custom tools Helium runs client campaigns on. He is a featured author at Search Engine Land, where he writes on entity-based SEO, AI in search and knowledge graphs. Outside work he plays board games and card games with his wife and friends. You can read all of his Search Engine Land articles, republished here, on our publications page.

Article Contents:

Share This Article:

Get monthly insights on SEO, SEM, and CRO that drive results:

Discover Strategies We Use to Increase Client Traffic 9,000%

Get monthly insights on SEO, SEM, and CRO that drive results.

Get monthly articles on SEO, SEM, and CRO tips and insights from our team.

PPC and Paid Ads articles

Shopping Basket

Download the Free - Entity SEO: The Definitive Guide - Ebook Now

Please complete the form below and a copy of the Ebook will be emailed to you right away.