Skip to main content

Pixels & tracking

Pixels are tiny scripts that fire events when customers interact with your store. They power retargeting ads, conversion tracking, and attribution.

🎬 Video — pixels setup

What we support

TrackerEvents fired
Facebook PixelPageView, ViewContent, AddToCart, InitiateCheckout, Purchase, Lead
TikTok PixelSame six events
Google Tag ManagerAll events as dataLayer pushes
Conversions API (CAPI)Same events, server-side, with user-data hashed

Setup — Facebook Pixel

  1. In Facebook Events Manager, create a Pixel and copy the ID.
  2. Dashboard → Marketing → Pixels → Facebook, paste Pixel ID.
  3. (Recommended) Generate a Conversions API access token in Events Manager → paste it too.
  4. Save → events fire instantly on the storefront.

Setup — TikTok Pixel

  1. In TikTok Ads Manager → Assets → Events → Pixel → create one.
  2. Copy the Pixel ID.
  3. Dashboard → Marketing → Pixels → TikTok, paste, save.

Setup — Google Tag Manager

  1. Create a GTM container at tagmanager.google.com.
  2. Copy the GTM ID (GTM-XXXX).
  3. Dashboard → Marketing → Pixels → GTM, paste, save.
  4. In GTM, install Google Analytics, Google Ads tags, etc., using the dataLayer events we push.

Conversions API (CAPI)

CAPI is server-side event sending — bypasses iOS 14 / browser blockers / ad blockers. Highly recommended for Algerian merchants since iOS share is significant + tech-savvy users use ad blockers.

We auto-hash the customer's email and phone (per Facebook's spec) and send events server-side in addition to browser-side. Improves your event-match-quality (EMQ) score from ~5 to ~9 typically.

Per-landing-page overrides

Each landing page can have its own Pixel, separate from the store-level Pixel. Useful when running multiple campaigns to different pixels.

Verifying it works

Use the Facebook Pixel Helper browser extension. Visit your storefront — you should see PageView and ViewContent fire.

For Conversions API verification, go to Events Manager → Test Events tab → place a test order → events appear within seconds.

Best practices

  • Always install a Pixel before running paid ads. Without it, the algorithm has no signal to optimize.
  • Add CAPI for any store running Facebook ads — the EMQ lift compounds over weeks.
  • Don't fire fake events to trick the algorithm. It costs you in ad delivery quality long-term.
  • Single source of truth — pick FB or TikTok or both, but don't run conflicting tracking from external scripts.

Frequently asked

Q: My Pixel fires but Facebook says "low event-match quality." A: Add the Conversions API. Hashed email + phone server-side bumps EMQ significantly.

Q: Can I use both browser-side and CAPI for the same Pixel? A: Yes — Facebook deduplicates by event_id. We send both with matching IDs, so events count once.

Q: What about Google Ads conversion tracking? A: Use GTM → install the Google Ads conversion tag. We push purchase to dataLayer; GTM forwards to Google Ads.