Blog › Meta Ads

Meta Pixel and Conversions API: Tracking You Can Trust in Kenya

By Joseph Maina · · 4 min read

Developer at a laptop with lines of code on the screen in a dark room

Most Meta accounts I audit have the same problem hiding under the campaigns: nobody is sure the numbers are real. The Pixel was installed by someone who left, purchases fire twice, and WhatsApp sales are not counted at all. Meta's delivery system learns from the signals you send it, so bad tracking does not just spoil your report. It teaches the algorithm the wrong lesson.

What the Pixel and the Conversions API each do

The Pixel is code in the visitor's browser. It reports what they do on your site. It is quick to install, but browsers, ad blockers and privacy settings can stop it from firing.

The Conversions API, usually called CAPI, sends the same events from your server or your shop platform directly to Meta. It does not depend on the browser, so it catches events the Pixel misses. You want both running together, with the same event ID on each, so Meta can spot duplicates and count the sale once.

Pixel versus Conversions API

Pixel

  • Runs in the visitor's browser
  • Can be blocked by ad blockers
  • Quick to install

Conversions API

  • Sends events from your server or shop platform
  • Not affected by browser blockers
  • Use both, with matching event IDs
PixelConversions API
Runs fromThe visitor's browserYour server or shop platform
Affected by ad blockersYesNo
Setup effortLowLow on Shopify or WooCommerce plugins, higher on a custom site
Should you use itYesYes, once the Pixel works

Track fewer events, and track the right ones

You do not need twenty custom events. You need the steps that lead to money, firing once each, at the correct moment. Purchase must fire on the thank-you page after payment is confirmed, not when someone clicks the checkout button.

  • E-commerce: ViewContent, AddToCart, InitiateCheckout, Purchase with the real value and KES as the currency.
  • Service business: Lead on the form thank-you page, and Contact when someone taps call or WhatsApp.
  • Booking business: Schedule when the booking is confirmed, not when the calendar opens.

The setup order I follow

Do this in order. Most tracking mess comes from people adding a plugin on top of an old Pixel that is still hard-coded into the theme.

  • Open Events Manager and confirm which dataset belongs to your business. Make sure it sits in your own Business Manager, not a former freelancer's.
  • Search your site's theme and plugins for old Pixel code and remove anything you will not use.
  • Install through your platform's official integration if there is one. On Shopify and WooCommerce this can set up the Pixel and CAPI together.
  • Verify your domain in Business Settings.
  • Use the Test Events tool, then buy something real or submit a real form and watch each event arrive.
  • Check that Purchase shows the correct value and currency. A KES 3,500 order reported as USD 3,500 will ruin your return figures.

The Kenyan problem: sales that close on WhatsApp and M-Pesa

Plenty of Kenyan businesses close the sale in a chat and take payment by till number, so no thank-you page ever loads. To Meta, those sales do not exist, and your campaign looks like it is failing while your shop is busy.

There are two honest fixes. For click-to-WhatsApp campaigns, use Meta's messaging events if your setup supports them, so that purchases logged in the chat are tied back to the ad. Otherwise, keep a simple sheet that records which ad each customer came from and the order value, and compare it with Ads Manager every week. It is less elegant, but it is real money, which is better than a clean dashboard measuring nothing.

Read the numbers honestly

Meta's default attribution is 7-day click and 1-day view, which means it can claim a sale from someone who merely saw your ad yesterday. So its revenue figure usually runs higher than what lands in the bank. Treat it as a consistent yardstick for comparing campaigns, not as your accounts.

Every month, put Meta's reported revenue next to your actual sales. The gap matters less than whether it stays steady. If it suddenly widens, something has broken.

Rule of thumb: if you cannot say where your purchase number comes from, fix that before you spend another shilling on creative.

Related articles