Create a Meta dataset (pixel) for AdPilot
Contents
AdPilot’s “Create campaign” screen calls the pixel a dataset (pixel); this article just says pixel. A pixel is where Meta collects the events from your website, for example a page view or a purchase. AdPilot reads that pixel to tell you whether your account is tracking conversions. AdPilot creates it for you through a proposal: you type a pixel name, click “Create pixel”, and the pixel is created when the proposal is approved and applied; you can also create a pixel in Meta’s Business Settings. This article covers four things: open the right place (AdPilot’s “Conversion tracking” screen or Meta’s Business Settings), create the pixel, put the code on your page, then check in AdPilot.
Before you start
- There are two ways to create a pixel. The main way is the “Create pixel” button on AdPilot’s “Conversion tracking” screen; the other is Meta’s Business Settings (Data sources › Datasets and pixels), which is also where AdPilot points you.
- AdPilot uses the words “dataset (pixel)” on the “Create campaign” screen; this article just says pixel.
- Creating a pixel with AdPilot goes through the approval gate. Type a name and click “Create pixel”: AdPilot builds a proposal, and the pixel is created once the proposal is approved and applied. Meta doesn’t let you delete a pixel once it’s created; you can only rename it.
- Button names in Meta may differ slightly by language and when Meta changes its interface.
What you see in AdPilot when there is no pixel
- The “Conversion tracking” screen (Meta): the “Not tracking” badge and the block “Set up a pixel in three steps” with three cards, each marked “Done” or “Not done”. Card ① “Name and create the pixel” has a “Pixel name” box with a “Create pixel” button, the sentence “Type a name and click “Create pixel”: AdPilot builds a proposal, and the pixel is created once the proposal is approved and applied. Meta doesn’t let you delete a pixel once it’s created; you can only rename it.”, and the reminder “Just created the pixel? Click “Reload” to read it from Meta again.” with a “Reload” link. Card ② “Add the code to your site” and card ③ “Check a landing page” can’t be used until the account has a pixel. When the organisation can’t build proposals, card ① has no box and no button; a sentence giving the reason takes their place. The other way is Meta’s Business Settings; if AdPilot doesn’t know yet which business owns the account, the screen says “AdPilot doesn’t know yet which business owns this ad account.” with a sentence with the route: open Meta’s Business Settings (business.facebook.com), choose the business that owns the account, then go to Data sources › Datasets and pixels.
- The “Create campaign” screen: “This account has no dataset (pixel) yet. Create one in Meta’s Business Settings (Data sources › Datasets and pixels › Add), then come back and choose it.” with the link “Open Datasets and pixels in Business Settings (opens in a new tab).” If AdPilot doesn’t know yet which business owns the account, the screen only says “This account has no dataset (pixel) yet.” followed by a sentence with the route: open Meta’s Business Settings (business.facebook.com), choose the business that owns the account, then go to Data sources › Datasets and pixels.
- The “Conversion tracking” screen (Meta) once there is a pixel: card ① says “Done” and shows only the pixel’s name and ID, with no creation box. Card ② “Add the code to your site” has the sentence “Copy the code from “Pixel code” and add it to the pages you want to measure, either straight into the page or through a tag manager (such as Google Tag Manager). AdPilot doesn’t add the code to your site for you.”, the two options “Paste into the page” and “Through Google Tag Manager”, the “Pixel code” part and a copy button. Card ③ “Check a landing page” has the sentence “Paste a landing page link so AdPilot can check whether this pixel’s code is on the page. AdPilot only reads the page’s code, so a pixel added through a tag manager won’t show up here; check it with Meta’s tools instead.”, the “Page link (https)” box and the “Check” button. If the check finds the code, cards ② and ③ both say “Done”; if the check runs and doesn’t find this pixel’s code (even if the page has another pixel’s code), card ③ says “Code not found”.
Steps
The main way: create it in AdPilot. Open AdPilot’s “Conversion tracking” screen for Meta Ads, choose an account that has no pixel, and in card ① “Name and create the pixel” type the “Pixel name” and click “Create pixel”. AdPilot builds a proposal; the pixel is created when the proposal is approved and applied (approving proposals in AdPilot). Meta doesn’t let you delete a pixel once it’s created; you can only rename it. Once it’s created, go on to steps 3 and 4 (cards ② and ③ on the same screen). If you’d rather create it in Meta, do steps 1 and 2 below.
1. Open “Datasets and pixels” in Business Settings
Open Meta’s Business Settings, then go to “Data sources” › “Datasets and pixels”.
Shortcut: https://business.facebook.com/latest/settings/events_dataset_and_pixel?business_id=… (your business number; AdPilot’s button opens it with the business number when AdPilot knows it; if it doesn’t, the screen has no button, only a sentence with the route). If you open the link without the business number and Meta says the content isn’t available, try opening business.facebook.com first, choose the business that runs ads for this account, then go back to “Datasets and pixels” from Settings. AdPilot says: “If Meta asks, choose this account’s business.”
2. Add the dataset (pixel)
Go to “Data sources” › “Datasets and pixels”, click the blue “Add” button (the one with a + sign) at the top right of the screen, name the dataset, then create it. The add button opens a dialog for creating a new dataset straight away, with:
- a name box: give the dataset a name you will recognise, for example the website or the client;
- a checkbox about connecting to the Conversions API, ticked when the dialog opens;
- two buttons, one to cancel and one to create.
There is no step for choosing “Pixel” as a type. In the dialog Meta uses only the words “dataset”, with no separate word “pixel”.
These steps follow Meta’s interface at the time of this update; a business with different permissions, or a new one, may see something slightly different.
3. Put the code on your website
If you created it in AdPilot, copy the code from “Pixel code” in card ② “Add the code to your site” on the Conversion tracking screen. Put the pixel code on the pages you want to measure (the ad’s landing page, the checkout page), directly in the page or through the tag manager the page already uses (such as Google Tag Manager). AdPilot doesn’t add the code to your site for you.
4. Come back to AdPilot and check
Open AdPilot’s “Conversion tracking” screen for Meta Ads and pick the right account, then click “Reload”.
Once the account has a pixel, card ③ “Check a landing page” becomes usable: paste the landing page link into the “Page link (https)” box and click “Check” to check the code on your page. AdPilot only reads the page’s code, so a pixel added through a tag manager won’t show up here; check it with Meta’s tools instead. For the states of the “Conversion tracking” screen see Conversion tracking in AdPilot: tracking or not.
What AdPilot does not do
- It doesn’t delete a pixel: Meta doesn’t let you delete a pixel once it’s created.
- It doesn’t put the code on your website.
Checklist
- You opened the right business in Meta’s Business Settings
- You created the dataset (pixel)
- You put the code on the ad’s landing page
- You clicked “Reload” on “Conversion tracking” and card ③ “Check a landing page” became usable
- You looked at the status strip on “Conversion tracking”
Sources
- ALFA Software, AdPilot for Meta Ads: alfasoftwares.com/en/adpilot-meta