How to use the Meta Pixel Code Generator
- Tick your platform and enter your ID.
- Choose where you’ll install it and when it should load.
- Copy the code and add it to your site.
- Open your site, then confirm that Meta Pixel is firing with the Tracking & Pixel Checker.
What does the base code do?
It loads the platform’s script on your pages and records page views. Everything else, such as leads and purchases, builds on it, so add it to every page first. Then use the Ad Pixel Event Code Generator for your conversions.
Need step-by-step help? Read how to install a tracking pixel.
Also searched as: meta pixel code, facebook pixel code, meta pixel generator, install facebook pixel, facebook pixel base code.
Tools that pair well with the Meta Pixel Code Generator
- Pixel Code Generator — Enter your IDs and get one tracking pixel install snippet for Meta, TikTok, LinkedIn, Pinterest, X, Snap, Reddit, Microsoft Ads and Google Ads.
- Cookie Consent Banner Generator — Add a cookie consent banner to any site — Webflow, WordPress, Shopify or plain HTML — without a paid plugin.
- A/B Test Significance Calculator — Did version B really win, or was it luck?
- A/B Test Sample Size Calculator — Plan your test before you start.