Without working tracking, a Meta campaign is blind. The algorithm learns from conversions; if none arrive, it optimises toward nothing. This guide covers how to set up the Meta Pixel, which events you actually need, and why the Conversions API stopped being optional.
What the pixel does — and doesn’t
The Meta Pixel is a snippet of code on your website. It reports visitor behaviour back to Meta: page views, cart events, purchases. Three things depend on it:
- Optimisation. Without conversion signals, Meta can’t optimise for purchases.
- Audiences. Remarketing and lookalikes need pixel data.
- Measurement. No pixel, no meaningful ROAS.
What it doesn’t do: rescue bad ads. It’s infrastructure, not strategy.
Step 1 — create the pixel in Events Manager
Everything starts in Events Manager, not Ads Manager. The old pixel screen there has been retired.
- Open Events Manager → Data sources → Connect data source → Web
- Name it — use the domain, not “Pixel 1”
- Enter the domain and note the pixel ID
An ad account normally needs exactly one pixel per website. Multiple pixels on the same domain split the data and weaken both.
Step 2 — install the code
Three routes, depending on your setup:
Google Tag Manager. The cleanest option if GTM is already running. One Custom HTML tag with the base code, trigger on All Pages. Conversion events go in as separate tags.
Directly in the theme. Base code before the closing </head>. It works, but every theme update puts it at risk.
Platform integration. Shopify, WooCommerce and BigCommerce ship their own Meta connections. Convenient — but verify that every event actually arrives rather than assuming it does.
Step 3 — the right events
This is where the common mistake happens: too many events, none of them clean. For a store, five usually suffice:
| Event | When | Why |
|---|---|---|
PageView | every page | baseline, audiences |
ViewContent | product page | upper-funnel signal |
AddToCart | cart | intermediate signal |
InitiateCheckout | checkout started | purchase intent |
Purchase | order completed | optimisation target |
Purchase must send value and currency. Without those parameters Meta can’t optimise for revenue, and the ROAS column in your account stays empty.
For service businesses, Lead replaces Purchase. Count only qualified enquiries as a lead — not every submitted form. Otherwise the algorithm learns to find form-fillers rather than customers.
Step 4 — add the Conversions API
The pixel runs in the browser. Ad blockers, iOS settings and cookie rejections cut off a substantial share of signals. The Conversions API (CAPI) sends the same events from your server as well — where no blocker intervenes.
CAPI does not replace the pixel. Both run in parallel, which raises the next question.
Step 5 — prevent double counting
When pixel and CAPI both report the same event, Meta needs to recognise it as one event. That’s what the event ID is for:
- Generate a unique ID when the event fires
- Send the same ID from both pixel and CAPI
- Meta matches them and counts once
Without the ID, purchases double in your reports — and your ROAS looks twice as good as it is. The deduplication column in Events Manager shows whether matching is working.
Step 6 — verify, don’t assume
Three checks before you spend budget:
- Test events in Events Manager: place a real order and watch it appear in real time.
- Event match quality: Meta scores how complete the parameters are. Anything below “good” costs you optimisation performance.
- Reconcile: orders in your store system against
Purchaseevents in Events Manager. A gap above ten percent means something is wrong.
Common mistakes
- Multiple pixels on one domain. Data fragments and both pixels learn worse.
Purchasewithout value. Revenue optimisation silently fails.- Every form counted as a lead. The algorithm optimises for volume, not quality.
- CAPI without event IDs. Doubled numbers, wrong decisions.
- Unverified domain. Without domain verification in Business Manager you lose configuration rights.
The short version
Create the pixel, define five events properly, add CAPI, set event IDs, reconcile against your store system. That’s the complete list — everything else is detail work.
If you’d like your tracking checked from the outside, get in touch. One mis-set event costs more over a few months than the setup does.
Ready to grow your brand?
On a free strategy call we look at where you stand, together.
Free strategy call →