Advertising · 9 min read · Updated

Facebook pixel and Conversions API: a clear guide for sellers

Without a pixel, Facebook runs your ads almost blindly. With a badly configured pixel, it learns to find the wrong customers. The Meta pixel and Conversions API are the two tools that tell Meta what happens on your sales page. This guide explains, without jargon, what they do, which events to send, how to avoid duplicates and how to check that everything works.

Facebook pixel and Conversions API: a clear guide for sellers

What is the Meta pixel?

The Meta pixel is a small piece of code added to your site. When a visitor lands on your page, starts ordering or completes an order, the pixel sends that information to Meta from the visitor’s browser. Meta uses it for three things: measuring ad results, showing your ads to people most likely to order, and building audiences (for example visitors who did not order).

What is the Conversions API?

The Conversions API sends the same information, but from your server (or your platform’s) instead of the browser. Why it helps: browsers, ad blockers and unstable connections cause some pixel signals to get lost. The server sends the event more reliably. Meta presents the Conversions API as a complement to the pixel and recommends using both together.

Which events to send

Meta defines a list of standard events. For a COD store, a few are enough.

EventWhenWhat it is for
PageViewEvery page viewedVisitor audiences
ViewContentProduct page viewedKnow which products interest people
InitiateCheckoutOrder form startedRetarget the undecided, optimize early on
PurchaseOrder submitted, with value and currencyOptimize sales campaigns

Deduplication: avoid counting twice

If both the pixel and the Conversions API send the same order, Meta may count it twice. To avoid this, each event sent through both channels must carry the same event name and the same event ID (event_id). Meta then recognizes it as a single event and deduplicates it. This is the most important technical part: bad deduplication inflates results and skews optimization.

In pictures

Two signals, one purchase counted

The same event ID (event_id) lets Meta or TikTok merge both signals.

Setting up the pixel and Conversions API

  1. In Meta Events Manager, create a dataset (pixel) linked to your business portfolio.
  2. Copy the pixel ID.
  3. For the Conversions API, generate an access token in the dataset settings.
  4. Paste the ID and token into your platform. On Zuri you just enter them in your store settings: the pixel and Conversions API send events with deduplication.
  5. Verify your domain in the business portfolio if Meta asks you to.

Test before running ads

Meta provides a test events tool in Events Manager. Open the test tab, visit your sales page, fill the form with a test order, and check that events appear: PageView, ViewContent, InitiateCheckout, then Purchase with the right value. Also check that Purchase arrives through both browser and server, and that it is deduplicated. Remember to cancel your test order afterward.

The special case of cash on delivery

With cash on delivery, a Purchase event fires when the customer submits the form, while the money only comes at delivery, and sometimes never. That creates a problem: if many orders are fake, Meta learns to find people who order without buying. Three ways to limit this:

  • Reduce fake orders at the source: a form asking for the neighborhood, an honest page, a clear price.
  • Send clean data: real value, no Purchase event sent several times for the same order.
  • Measure campaigns on delivered orders in your own dashboard, not just on purchases shown by Meta.
Try it

100 orders received, how many turn into cash?

Received100
Confirmed
Delivered

never confirmed · refused at the door

Move the sliders: every point gained on confirmation or delivery is extra cash collected.

Common mistakes

  • Installing the pixel twice (in the theme and an app), doubling events.
  • Forgetting deduplication between pixel and Conversions API.
  • Firing Purchase on the thank you page on every reload.
  • Wrong currency or zero value.
  • Using the pixel from an old blocked ad account.
Recommended video How to Correctly Install Facebook / Meta Conversions API + Event Deduplication, Stape (YouTube)

What about TikTok?

TikTok works the same way with its own pixel and Events API. If you advertise on both platforms, install both pixels. Zuri has the Facebook pixel, Conversions API and TikTok pixel built in.

Advanced matching parameters

For an event to be useful, Meta has to link it to a person who saw your ad. The pixel relies on browser cookies, but you can also send customer information such as the phone number, which is hashed (turned into an unreadable code) before being matched against Meta users. With COD, the phone number is the most reliable piece of data you have: properly formatted with the country code, it improves event matching. Tell customers about this use in your privacy policy and follow your country’s personal data law.

Reading Events Manager

  • Overview: the number of events received per day, from browser and server. A sudden drop signals a setup problem.
  • Match quality: a score per event showing whether Meta can link events to people. The higher it is, the better your campaigns can learn.
  • Diagnostics: alerts about duplicate events, missing parameters or wrong values. Read and fix them.

The 5 minute checklist

Try it

Tick as you go

Using your data for audiences

A well installed pixel is not just for measuring. It lets you build custom audiences (page visitors, people who started the form, buyers) and lookalike audiences, which Meta builds from people similar to your buyers. The cleaner your Purchase events, the closer those audiences are to real customers. That is one more reason to limit fake orders: every fake purchase sent to Meta also lowers the quality of your audiences. Review your audiences every few months and rebuild them from your most recent buyers.

Key takeaways

  1. The pixel sends events from the browser, the Conversions API from the server: use both.
  2. Send PageView, ViewContent, InitiateCheckout and Purchase with the right value and currency.
  3. Use the same event name and event ID for deduplication.
  4. Test with Meta’s tool before launching, then measure results on delivered orders.

Also remember that the pixel does not replace your judgment. Meta’s numbers are an estimate based on what it can measure, with its own attribution rules (for example, an order may be credited to an ad viewed or clicked a few days earlier). They are very useful for comparing ads with each other and letting the algorithm learn. But to decide whether a campaign is profitable, your own dashboard remains the reference: how many delivered orders, how much cash collected, for how much spend. If the two sources diverge a lot, look first for a setup or deduplication problem before drawing conclusions about your ads. Finally, keep your access secure: only give Events Manager access to people who need it, store your Conversions API token somewhere safe, and remove access for anyone who leaves your team. A leaked token or a former partner with access can quietly break your tracking and your results.

Pixel and Conversions API ready in two minutes

On Zuri, paste your pixel ID and token: events go out from browser and server, deduplicated. Free during launch, 0% commission.

Create my store for free

Frequently asked questions

What is the difference between the pixel and the Conversions API?

The pixel sends events from the visitor’s browser, the Conversions API from the server. Meta recommends using both, with deduplication.

What is deduplication?

The mechanism that lets Meta recognize that an event received from both pixel and Conversions API is the same one, using the same event name and event ID.

How do I know my pixel works?

Use the test events tool in Events Manager: visit your page, place a test order and check each event appears with the right values.

Which event should I optimize for with COD?

Purchase once you have enough of them. At the very start, InitiateCheckout can help, then switch to Purchase when volume allows.

Do I need a developer for the Conversions API?

Not necessarily. Many platforms, including Zuri, have it built in: you paste the pixel ID and an access token, and the platform handles sending and deduplication.

Sources

Go further

Read next

Create your online store for free

Cash on delivery, Mobile Money, closers and real numbers. 0% commission, no credit card.