Meta Ads · Tracking & measurement

Meta Pixel and Conversions API: tracking sales properly

Without accurate tracking, Facebook and Instagram ads run blind. The pixel and Conversions API tell Meta who clicked and who bought, so it can find more people like them.

Nibras Media teamPublished: 6 November 2026Updated: 6 November 20265 min read
In this article
  1. What the Pixel and Conversions API are
  2. The events worth tracking
  3. Deduplication: the mistake that inflates your numbers
  4. Setup steps
  5. If your customers order on WhatsApp
  6. Installing through Google Tag Manager
  7. Improving Event Match Quality
  8. Common tracking problems and fixes
  9. Orders completed off-site
  10. Privacy
  11. Frequently asked questions

If you run Meta ads for sales or leads, the most important ingredient is not the creative or the budget. It is Meta knowing who actually converted. That happens through signals (events) sent from your website to Meta.

What the Pixel and Conversions API are

PixelConversions API
Runs fromThe visitor’s browserYour website’s server
Affected byAd blockers and privacy settingsLess affected, as it does not rely on the browser
Best practiceUse both together, with deduplication

The pixel is a small snippet on your site. Conversions API (CAPI) sends the same events from the server. Running both gives Meta more complete data, which improves ad delivery.

Want a website that brings customers? Start with best e-commerce development company in Egypt or web design company in Egypt.
Make your Facebook and Instagram ads sell

We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.

The events worth tracking

ViewContent

When someone opens a product or service page.

AddToCart

Adding to cart, key for retargeting.

InitiateCheckout

Starting checkout, showing where people drop off.

Purchase

The actual sale with value and currency. The most important event.

Lead / Contact

For service businesses: a form or a WhatsApp click.

Deduplication: the mistake that inflates your numbers

When the pixel and the server both report the same purchase, Meta needs to know they are one event. Each event must carry the same unique event_id from both sides. Without it, a sale can be counted twice and results look better than they are.

Make your Facebook and Instagram ads sell

We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.

+20 100 032 2169

Setup steps

  1. Create the pixel in Events Manager inside your own business account (not the agency’s).
  2. Install the pixel on every page, directly or through Google Tag Manager.
  3. Connect Conversions API from your server or your platform’s integration.
  4. Use one shared event_id for both.
  5. Verify with the Test Events tool and place a test purchase.
  6. Monitor Event Match Quality and improve it over time.

If your customers order on WhatsApp

Many Egyptian customers order on WhatsApp rather than through the site. In that case, track WhatsApp button clicks as a Contact event and record confirmed orders separately, so you know the real cost per customer rather than the cost per click. See also WhatsApp marketing.

Make your Facebook and Instagram ads sell

We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.

Installing through Google Tag Manager

  1. Install GTM once on every page.
  2. Add the base Meta Pixel tag to all pages.
  3. Create events (ViewContent, AddToCart, Purchase) triggered from page data.
  4. Send an event_id with every event to match the server.
  5. Test with Preview mode and Test Events before publishing.

Improving Event Match Quality

The more often Meta can match an event to a person on Facebook or Instagram, the better ads learn. Send hashed email and phone where available with customer consent, plus the browser identifiers the pixel collects.

Make your Facebook and Instagram ads sell

We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.

+20 100 032 2169

Common tracking problems and fixes

ProblemUsual causeFix
Purchases counted twiceNo shared event_idUse one ID for pixel and server
No purchases at allEvent not firing on the thank-you pageCheck the GTM trigger
Value is zeroValue missing or wrong formatSend value and currency correctly
Numbers lower than realityBlockers and browsersAdd Conversions API

Orders completed off-site

If much of your selling happens on WhatsApp or by phone, send confirmed orders to Meta as offline or server events after confirmation, so ads learn from real sales rather than messages.

Make your Facebook and Instagram ads sell

We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.

Privacy

State in your privacy policy that the site uses measurement and advertising tools, and never send sensitive data. Customer details such as email and phone are sent hashed, in line with Meta’s terms.

Frequently asked questions

Is the pixel alone enough?

It works, but newer privacy settings cause some events to be lost. Adding Conversions API recovers much of that.

Do I need a developer for CAPI?

Shopify and WooCommerce have ready integrations. For custom stores we connect it on the server.

Why do Meta’s numbers differ from my sales?

Attribution windows, duplicates and refused orders. Always reconcile with the real sales in your own system.

Whose account should the pixel live in?

Your own business account. We work with granted access.

Make your Facebook and Instagram ads sell

We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.

+20 100 032 2169

Nibras Media team — we build websites, online stores, mobile apps, ERP and POS systems and run marketing campaigns for clients in Egypt and the Gulf, with 10+ years of experience. This article is written from our real client work.

Got a new project or want to grow? Let us start today

Send us your idea on WhatsApp and we will reply with a plan, a fixed written quote and a clear delivery time.

CallWhatsApp