Skip to content
New: pay your plan online with bKash — and every package starts with a 7-day free trial. Learn more
Sign in Get started
  1. Home
  2. Blog
  3. Marketing
  4. Know which ads bring orders: Facebook Pixel, Conversions API and GA4
Marketing

Know which ads bring orders: Facebook Pixel, Conversions API and GA4

If you can’t see which ad brought a sale, you are guessing with your budget. Set up tracking in ten minutes, without touching code.

Know which ads bring orders: Facebook Pixel, Conversions API and GA4

Boosting posts without tracking is like selling with your eyes closed. Tracking tells you which ad, post or link brought each order, so you can spend more on what works.

What to connect

Tool What it tells you
Facebook (Meta) Pixel Which Facebook and Instagram ads lead to views, add-to-carts and purchases.
Conversions API Sends purchases from the server too, so sales are counted even when a browser blocks the pixel.
Google Analytics 4 Where all your visitors come from and what they do on your store.
Google Tag Manager Add other tags later without asking a developer.

TikTok Pixel and Google Ads conversion tracking are available too.

Set it up

  1. Open Settings → Tracking in your store admin.
  2. Paste your Meta Pixel ID. For the Conversions API, paste the access token from Meta Events Manager and switch it on.
  3. Paste your GA4 Measurement ID (it starts with G-). Add the API secret too, so purchases are recorded reliably.
  4. If Meta asks you to verify your domain, paste the verification code in the same page.
  5. Place a test order and check that a Purchase event appears in Meta Events Manager and in GA4 Realtime.

Read the numbers every week

  • Cost per purchase for each ad — stop ads that cost more than your profit per order.
  • Add-to-cart but no purchase — a sign that the price, delivery charge or checkout needs work.
  • Top traffic sources — post more where your buyers already are.

Privacy

Only add tracking you actually use, and mention it in your privacy policy page.

Spend on the ads that sell. Tracking is how you find them.

Share

Keep reading