Skip to the lesson
0%

The Meta Pixel and Standard Events

Intermediate 12 min read Lesson 4 of 15

The Meta Pixel is code on your website that tells Meta when someone views a page, adds to cart, submits a lead or buys. Those events are what Meta optimises toward and how it reports results.

Install the base code

Install the Pixel base code on every page, through a platform integration (Shopify, WordPress, Wix), Google Tag Manager or directly. The base code records PageView automatically.

Standard events

Use Meta’s standard event names so optimisation works out of the box: Lead, CompleteRegistration, Contact, Schedule, ViewContent, AddToCart, InitiateCheckout, Purchase. Send parameters such as value and currency with Purchase and Lead.

Test it

Use the Meta Pixel Helper browser extension and the Test events tab in Events Manager to confirm each event fires once, at the right moment, with the right parameters.

Privacy

Show a privacy notice, get consent where required, and do not send sensitive data such as health conditions or financial details in event parameters. Meta restricts certain data for health and financial businesses.

Firing a Lead event with value
// After a successful form submission
fbq('track', 'Lead', {
  value: 2000,
  currency: 'INR'
});

Fire it on success, not on button click, so failed submissions are not counted.

Pro tips

  • Fire Lead on the thank-you page or after a confirmed submission.
  • Send value and currency with every Purchase.
  • Check Events Manager weekly for errors and warnings.

Common mistakes

  • Firing Purchase on the cart page.
  • Installing the Pixel twice and doubling every event.
  • Sending customer health or financial details as parameters.
Summary

Install the Pixel on every page, use standard events with value and currency, test with Pixel Helper and Test events, and keep sensitive data out.

Quick quiz

1. Which event name should a form submission use?
2. When should Lead fire?
3. Where can you test events?

Stuck on something in this lesson? Ask our team on WhatsApp. We answer course questions for free.

Ask on WhatsApp