Home › Paid Ads Calculators › Meta Pixel Event Code Generator

Meta Pixel Event Code Generator

Pick an event and get the code to fire it on your site.

How it works

Place the code after the Meta Pixel base code, on the page or action where the event happens.

Why use it

Everything runs in your browser: nothing you type is sent to a server, so it is safe for client and unpublished work.

Frequently asked questions

Where does a Purchase event go?

On the order confirmation page, with the real order value and currency.

Do I still need the Conversions API?

Yes, ideally both. Browser events are increasingly blocked, and server events fill the gaps.

Last reviewed 2026-11-25 · How we build and check our tools