# Add the Meta pixel and check it fires

Make a pixel (dataset) in Events Manager, put it on your site or connect your store, and check a test event arrives

Topic: Set up ad accounts and tracking
Updated: 25 Nov 2026
Source: https://www.mora-marketer.com/help/ad-setup/add-meta-pixel

The Meta pixel (once called the Facebook pixel) is a short piece of code on your website that tells Meta when someone visits a page or buys. You make it in Events Manager, put it on every page, connect it to your ad account and check a test visit arrives. Meta now calls a pixel a dataset in some screens; the ID is the same. Why it comes before spending is in [How to tell if your ads are working](https://www.mora-marketer.com/help/ad-basics/how-to-tell-if-your-ads-are-working).

## Before you start

- A Meta business portfolio and an ad account in it. See [Create a Meta ad account](https://www.mora-marketer.com/help/ad-setup/create-meta-ad-account).
- Access to your website's code, a tag manager, or your store's admin.
- Full control of the business portfolio, to connect the pixel to the ad account.

## Make the pixel

1. Open Meta Events Manager.
2. Select **Connect data**.
3. Choose **Web**, then select **Connect**.
4. Name the pixel and select **Create pixel**.
5. Enter your website address and select **Check**.
6. Select **Next**. If Meta offers a partner integration for your platform, follow it.
7. Choose **Get guidance** to follow Meta's own setup steps, or **Do it yourself**.
8. With **Do it yourself**, choose **Meta Pixel only**, or **Conversions API and Meta Pixel** (see below), and select **Next**.
9. For **Meta Pixel only**, choose **Install code manually**, **Check for partner**, or **Email instructions** to send the code to whoever runs your site.

If a label differs, follow Meta's setup page under Sources.

## Put it on your website

- On your own site, paste the base code between the opening and closing `<head>` tags of every page, usually in the site's shared header, and only once per page. It sends a PageView by itself.
- On Shopify, Meta's route is the **Facebook and Instagram** sales channel. Add it from **Sales channels**, select **Login with Facebook** and follow the prompts for the pixel. Do not also add the pixel in your theme, another app or Google Tag Manager: Meta says that can send purchases twice.

Event names are case sensitive. `Purchase` is Meta's standard event; `purchase` creates a separate custom event.

## Send the Lead event for leads

If your ads should bring sign-ups or enquiries, the pixel must send Meta's standard **Lead** event when someone sends your form. Do this before you run a Leads campaign: Mora's Meta Leads campaigns count this event, and without it Meta has no lead to report. Without code, Meta's event setup tool can add it:

1. In Events Manager, select **Datasets** and your pixel.
2. Open the **Settings** tab and, under **Event setup**, select **Open event setup tool**.
3. Enter your website address and select **Open website**.
4. Go to your form's thank-you page and select **Track a URL**, or select **Track new button** on the form's send button.
5. Choose **Lead** as the event and select **Finish setup**.

The tool needs the pixel already on the site, and a button event applies to every button with the same text. A thank-you page is safer, because it loads only after the form is sent. Your developer can also add the Lead event in code.

## Connect the pixel to your ad account

Mora reads only the pixels connected to the [ad accounts you ticked](https://www.mora-marketer.com/help/connections/choose-ad-accounts) in Mora. The ad account must already be in your business portfolio.

1. In Meta Business Suite, open **Settings**, then **Data sources**, then **Datasets**.
2. Select **Add assets**.
3. Select your ad account and select **Add**.

## Check it fires

1. Install **Meta Ads Data Advisor** (formerly Meta Pixel Helper) in Chrome or Edge, and turn off your ad blocker for your site.
2. Open your site and select the extension. It should find your pixel and show PageView.
3. For a closer look, open Events Manager, select **Data sources**, select the pixel and open **Test events**. Enter your site address and select **Open website**, then make a test purchase and watch it arrive.
4. For leads, do the same and send your form once. **Lead** should arrive in **Test events**. Activity shows only while the Test events page stays open.

Mora's **Check** button in **Set up lead tracking** on Insights looks for the pixel ID in your page source. It cannot see the Lead event fire, so this test is the proof ([Why Leads says Not tracked yet in Insights](https://www.mora-marketer.com/help/ad-setup/count-leads-in-insights)).

Once it sends a PageView, the pixel shows **Active**. Data can take 30 minutes or more to appear.

## The Conversions API

The Conversions API sends events from your server or store, so ad blockers affect it less than the pixel. Meta recommends using both. On Shopify, Meta says to choose **Enhanced** or **Maximum** in the channel's data sharing settings. Mora does not set up or send Conversions API events.

## What Mora checks

Mora reads when Meta says each pixel on the ad account last fired. If none fired in the 7 days before Mora's reading, the tracking check fails and **Turn on** is withheld. If the ad account has no pixel, the check reads as not checked, but **Turn on** still waits: Mora says Meta cannot count purchases for the campaign yet and asks you to add the pixel. A pass shows only that the pixel is active, so make a test purchase yourself to see Purchase arrive.

> [!NOTE]
> If **Turn on** is missing from your board, [Why is Turn on missing or blocked?](https://www.mora-marketer.com/help/campaigns/turn-on-not-offered) lists each reason Mora gives and its fix.

## Sources

Checked 25 Nov 2026.

- [How to set up a Meta Pixel and events on your website](https://www.facebook.com/business/help/952192354843755)
- [How to add an ad account to a dataset](https://www.facebook.com/business/help/1556728331732865)
- [Test your Meta Pixel events with Meta Ads Data Advisor](https://www.facebook.com/business/help/1536596431576045)
- [How to connect Shopify to Facebook and Instagram](https://www.facebook.com/business/help/646757258759189)
- [How to fix Meta Pixel duplication when using Shopify](https://www.facebook.com/business/help/1190564818451304)
- [Best practices for Meta Pixel setup](https://www.facebook.com/business/help/218844828315224)
- [Test events tool](https://www.facebook.com/business/help/2040882565969969)
- [Use the Meta event setup tool for web](https://www.facebook.com/business/help/777099232674791) (checked 25 Nov 2026)
- [About standard and custom website events](https://www.facebook.com/business/help/964258670337005) (checked 25 Nov 2026)
- [Meta Pixel reference: standard events](https://developers.facebook.com/docs/meta-pixel/reference) (checked 25 Nov 2026)
- [About Meta Ads Data Advisor](https://www.facebook.com/business/help/198406697184603)
- [Get started with the Meta Pixel](https://developers.facebook.com/documentation/meta-pixel/get-started)

## Related

- [Check your tracking works before you spend](https://www.mora-marketer.com/help/ad-setup/check-tracking-before-you-spend): the checklist for every channel before a campaign spends.
- [Save a campaign to your ad account](https://www.mora-marketer.com/help/campaigns/save-to-ad-account): the next step in Mora once the pixel fires.
- [Turn on a campaign](https://www.mora-marketer.com/help/campaigns/turn-on-a-campaign): the last step, after the campaign is saved.
- [How to run Meta ads on Facebook and Instagram](https://www.mora-marketer.com/help/ad-basics/how-to-run-meta-ads): where the pixel fits in a Meta campaign.

If the test event arrives but Mora's check still fails, [Contact a person at Mora](https://www.mora-marketer.com/help/get-started/contact-support).
