In this article
- What the Pixel and Conversions API are
- The events worth tracking
- Deduplication: the mistake that inflates your numbers
- Setup steps
- If your customers order on WhatsApp
- Installing through Google Tag Manager
- Improving Event Match Quality
- Common tracking problems and fixes
- Orders completed off-site
- Privacy
- 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
| Pixel | Conversions API | |
|---|---|---|
| Runs from | The visitor’s browser | Your website’s server |
| Affected by | Ad blockers and privacy settings | Less affected, as it does not rely on the browser |
| Best practice | Use 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.
We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.
The events worth tracking
When someone opens a product or service page.
Adding to cart, key for retargeting.
Starting checkout, showing where people drop off.
The actual sale with value and currency. The most important event.
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.
We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.
Setup steps
- Create the pixel in Events Manager inside your own business account (not the agency’s).
- Install the pixel on every page, directly or through Google Tag Manager.
- Connect Conversions API from your server or your platform’s integration.
- Use one shared event_id for both.
- Verify with the Test Events tool and place a test purchase.
- 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.
We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.
Installing through Google Tag Manager
- Install GTM once on every page.
- Add the base Meta Pixel tag to all pages.
- Create events (ViewContent, AddToCart, Purchase) triggered from page data.
- Send an event_id with every event to match the server.
- 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.
We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.
Common tracking problems and fixes
| Problem | Usual cause | Fix |
|---|---|---|
| Purchases counted twice | No shared event_id | Use one ID for pixel and server |
| No purchases at all | Event not firing on the thank-you page | Check the GTM trigger |
| Value is zero | Value missing or wrong format | Send value and currency correctly |
| Numbers lower than reality | Blockers and browsers | Add 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.
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.
We set up the pixel, tracking, audiences and creatives, with a monthly report on your real cost per customer.
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.