ADMISSIONS OPEN
🔥 Admissions Open • Book Your FREE Digital Marketing Demo Class • Limited Demo Slots Available • 🚀 Start Your Digital Marketing Career Today • 💼 Practical Training + Career Guidance • 🎯 Reserve Your Seat Before Today's Slots Fill
Book FREE Demo

Meta Pixel Event Code Generator

Generate Meta Pixel event code for standard events like Lead, Purchase, Contact and Schedule. Add value and currency, choose when it fires, and copy code you can paste on your site or in Google Tag Manager.

How to add a Meta Pixel event

  1. Choose the event that matches the action, such as Lead for a form.
  2. Add a value and currency if you know what a lead or sale is worth.
  3. Choose when it fires: on a thank-you page load, or on a button click such as a WhatsApp link.
  4. Paste the code on the page, or in Google Tag Manager as a Custom HTML tag with the right trigger.
  5. Test it in Events Manager, Test events.
meta pixel event code steps

Common standard events

EventUse for
LeadEnquiry or form submission
ContactCall, WhatsApp or email click
ScheduleBooking a visit, demo or appointment
CompleteRegistrationSigning up for a webinar or account
PurchaseA completed payment, with value
ViewContentViewing a key page, like a course page

Pixel plus Conversions API

Browser tracking alone misses some events because of ad blockers and privacy settings. Meta recommends adding the Conversions API, which sends events from your server. Many WordPress plugins and Google Tag Manager server setups support it.

Name your GA4 events consistently with the GA4 event name generator, plan audiences with the retargeting funnel planner, and add a cookie notice with the cookie consent banner generator.

More free tools and guides

More free tools like this meta pixel event code
Learn this hands-on

Practise tools like this on real projects in our digital marketing course in Faridabad, with weekday, weekend and online batches.

See the courseAll free toolsAsk on WhatsApp
meta pixel event code FAQ

Frequently Asked Questions

Is this Meta Pixel event code generator free?

Yes. It is free with no sign-up and works in your browser.

Where do I put the Meta Pixel event code?

On the page where the action is complete, such as a thank-you page, or in Google Tag Manager with a trigger for that page or click.

What is the difference between track and trackCustom?

track sends a standard event Meta can optimise for. trackCustom sends your own event name, mainly for audiences and custom conversions.

How do I check my pixel is working?

Use Test events in Meta Events Manager or the Meta Pixel Helper browser extension.

Scroll to Top