# Implement the Meta Pixel and verify a lead event
Install the base once, fire Lead only after the form confirms success, and check the event in Test Events and Pixel Helper.
- Canonical: https://satracking.net/guides/implementar-meta-pixel/
- Language: en
- Category: platforms
- Level: intermediate
- Published: 2026-11-10
- Updated: 2026-11-10
---
## Before you start
Install the base once, fire Lead only after the form confirms success, and check the event in Test Events and Pixel Helper. Use a test data source and a form with a real success state. Keep the Pixel away from pages containing sensitive information.
## 1. Install Meta's base code once
The Meta base loads fbevents.js, initializes the Pixel, and sends PageView. Replace both YOUR_PIXEL_ID placeholders with your account ID. Compare the sample with the current code generated in Events Manager before publishing.
~~~html
~~~
Install the account code on eligible pages or use a supported partner/tag-manager method, not both. See Meta's [technical implementation training](https://www.facebookblueprint.com/student/path/219710-technical-implementation-meta-pixel) and [Pixel Helper guide](https://developers.facebook.com/docs/meta-pixel/support/pixel-helper).
**Verification note:** Meta's official training and Pixel Helper materials support the installation flow and event checks, but the exact account-generated base block was not independently verifiable from an accessible Meta developer code page during this review. Treat the snippet above as a pattern, compare it with the current code from Events Manager, and use that generated code if they differ.
## 2. Send the Lead event after success
Call the standard Meta event when the form is confirmed, after the base is initialized:
~~~js
fbq('track', 'Lead');
~~~
Lead is a Meta event, not the generic generate_lead event. Do not fire it for every submit click or attach form contents. A GTM setup needs a Meta tag, trigger, and variable mapping; a generic data-layer push alone sends no event to Meta.
## 3. Test
Use Test Events and Meta Pixel Helper to confirm the intended Pixel and one Lead. If Conversions API also sends that lead, use Meta's deduplication design. A browser call does not prove provider processing.
Gate the base and event on consent. A wrong data source, duplicate installation, premature trigger, or sensitive page can undermine the test. Use the [dashboard](/audit/) to inspect browser activity; check Meta Test Events and Pixel Helper to verify the event.
## Official references
- Meta Pixel technical implementation training — https://www.facebookblueprint.com/student/path/219710-technical-implementation-meta-pixel (verified 2026-11-10)
- Meta Pixel Helper — https://developers.facebook.com/docs/meta-pixel/support/pixel-helper (verified 2026-11-10)