How to use the Meta Pixel Event Generator
- Pick the standard event, or Custom event.
- Fill in value, currency and items.
- Add the order ID as event ID if you also use the Conversions API.
- Copy the code; check it in Events Manager → Test events.
Standard or custom?
Meta optimizes ad delivery for standard events, so use them whenever one fits — a contact form is Lead, a booking Schedule, an order Purchase. Custom events (trackCustom) work for reporting and custom conversions. Send the same event from your server with the Conversions API generator.
Also searched as: meta pixel event code, facebook pixel event code, fbq track, facebook pixel purchase event, meta pixel lead event, fbq trackcustom, meta pixel standard events.
Tools that pair well with the Meta Pixel Event Generator
- Ad Pixel Event Code Generator — Pick a platform — Meta Pixel, Meta Conversions API, TikTok Pixel, LinkedIn Insight Tag or Pinterest Tag — choose a standard event like Lead, Purchase or CompletePayment, fill in the value, currency and items, and copy code that fires right away or on a click or form submit.
- TikTok Pixel Event Generator — Create TikTok Pixel event code — ttq.track('CompletePayment', …) — for SubmitForm, CompleteRegistration, AddToCart, PlaceAnOrder, CompletePayment and more, with contents, value, currency and an event ID to match the Events API.
- Consent Mode Checker — Check a site’s cookie consent the way a regulator or an ad platform would.
- GA4 Event Code Generator — Pick a recommended GA4 event — generate_lead, sign_up, purchase, add_to_cart and more — or name your own, fill in the parameters and items, and copy the code as gtag(), a Tag Manager dataLayer.push() or a server-side Measurement Protocol request.