How to Set Up Meta Pixel (and the Conversions API): Step by Step
Create your pixel in Events Manager, install it, set up the right events, add the Conversions API, verify your domain and test it all. Step by step, in plain English.
The short answer: In Meta Events Manager, click Connect data, choose Web, name your pixel and pick “Conversions API and Meta Pixel”. Install it with a partner integration (Shopify, WordPress, Google Tag Manager) or by adding the base code to every page. Then set up your key events, verify your domain, test everything, and add the Conversions API so you don’t lose data to browser restrictions.
If you run Facebook or Instagram ads, the Meta Pixel is not optional. Without it, Meta can’t see who enquired or bought, so it can’t optimise your ads, build retargeting audiences or report your real results. Here’s how to set it up properly, step by step.
What the Meta Pixel does
The Meta Pixel is a small piece of code on your website that tells Meta when people do things like view a page, add to cart, submit a form or buy. In Events Manager, pixels now live under Datasets, which can also hold events sent from your server, app or CRM.
Meta uses this data to:
- show your ads to people most likely to convert
- build retargeting and lookalike audiences
- report which ads led to leads and sales
Before you start
- A Meta business portfolio (Business Manager) where you’re an admin
- Access to your website, or to someone who can edit it
- A privacy policy that explains you use tracking tools like the Meta Pixel. In Australia, the Privacy Act applies, so keep your policy clear and up to date.
Step 1: Create your pixel
- Go to Meta Events Manager.
- Click Connect data and select Web.
- Give your pixel a name, usually your business name.
- Enter your website URL to check for easy setup options.
- Choose Conversions API and Meta Pixel (recommended) or Meta Pixel only.
Step 2: Install the pixel on your website
Pick the method that suits your site:
- Partner integration (easiest): Platforms such as Shopify and WooCommerce, plus many WordPress plugins, connect in a few clicks and send standard events automatically.
- Google Tag Manager: Add the Meta Pixel through a tag, which keeps all your tracking in one place.
- Manual install: Copy the base code from Events Manager and paste it into the
<head>section of every page, usually via your theme’s header settings.
Step 3: Set up your events
The base code tracks page views. You also need events for the actions that matter to your business. Common standard events include:
| Event | When it fires | Best for |
|---|---|---|
| ViewContent | Someone views a key page or product | Retargeting and eCommerce |
| AddToCart | An item is added to the cart | eCommerce |
| InitiateCheckout | Checkout starts | eCommerce |
| Purchase | An order is completed | eCommerce (include value and currency) |
| Lead | A form is submitted | Service businesses |
| Contact | Someone calls, emails or chats | Service businesses |
| CompleteRegistration | A sign-up is completed | Memberships, events, software |
Partner integrations set most of these up for you. Otherwise, use Meta’s event setup tool in Events Manager, or add them through Google Tag Manager. For purchases, always send the value and currency, for example AUD.
Step 4: Add the Conversions API
Ad blockers, browser privacy features and cookie limits stop some pixel events from reaching Meta. The Conversions API fixes this by sending events from your server as well as the browser. Your options:
- Partner integration: Shopify and many WooCommerce setups include it.
- Meta-enabled Conversions API: A no-code option inside Events Manager for web events.
- Manual or server-side Tag Manager: Most flexible, but needs a developer.
If you send the same event from both the pixel and the Conversions API, use a matching event ID so Meta counts it once, not twice.
Step 5: Verify your domain
In your business portfolio settings, go to Brand safety > Domains, add your domain and verify it using the DNS, meta-tag or file method. This proves you own the website and gives you control over how events from it are used.
Step 6: Test everything
- Install the free Meta Pixel Helper Chrome extension and browse your site. It shows which events fire on each page.
- In Events Manager, open Test events, enter your URL and complete a test enquiry or purchase.
- Check Event Match Quality. Higher scores mean Meta can match more events to real people, which improves optimisation.
Step 7: Create custom conversions (optional)
Want to track a specific thank-you page or a particular product? Custom conversions let you build rules, such as “URL contains /thank-you/”, without extra code.
Common mistakes
- Installing the pixel twice (for example, a plugin and manual code), which doubles every event
- Firing the Lead event on page load instead of after a real submission
- Missing purchase values, so return on ad spend can’t be measured
- Skipping the Conversions API and losing a slice of your data
- Forgetting to update your privacy policy
Want it done properly the first time? Tracking set-up is part of every Meta ads engagement we run, and we do the same for conversion tracking in our Google Ads services in Perth. Or start with a free audit and we’ll check your pixel, events and Conversions API for you.
Find out where your growth is leaking.
A free, no-obligation audit of your SEO, AI search visibility, ads and website. Straight answers, no sales pitch.
Get your free auditKeep reading