Test Events & Verification
How to verify Pixel + CAPI work using Test Event Code and Events Manager.
Test Events & Verification
Before going live, verify Pixel + CAPI flow correctly into Meta. Use Test Event Code to filter test events without touching production data.
Enable Test Event Code
- Open Events Manager → your Pixel → Test Events tab
- Copy the Test Event Code (e.g.
TEST12345) - In Alusio dashboard → Settings > Integrations > Meta Ads
- Paste into Test Event Code → Save
Trigger test events
| Event | How to trigger |
|---|---|
| ViewContent | Open any product detail URL |
| AddToCart | Click "Add to Cart" on a product page |
| InitiateCheckout | Open /checkout with at least 1 item in cart |
| Purchase | Place a dummy order via Midtrans Sandbox (test card 4811 1111 1111 1114) |
| Subscribe | Subscribe to a membership tier via Midtrans Sandbox |
Check results in Events Manager
- Return to Events Manager → Test Events tab
- Events should appear within < 30 seconds
- Verify each event has 2 sources: Browser (Pixel) + Server (CAPI) for Purchase/Subscribe — if only 1, dedup isn't working
- Click an event → inspect payload, ensure
value,currency,contentsmatch
Dedup success indicators
On the Purchase event Overview, check Event Match Quality and Deduplication Rate. Targets:
- Event Match Quality ≥ 6.0/10 — higher with more matched PII (email, phone, name)
- Deduplication ~50% — means Pixel + CAPI both fire and Meta dedups → good
- 0% dedup: check
event_idmatches between Pixel and CAPI — must be identical (order.id) - 100% dedup: one source is dead. Check logs or ad blockers
After successful verification
Remove the Test Event Code from Settings, click Save. Subsequent events flow into production data (Overview tab) and become usable for audiences + campaign optimization.