Meta: datasets for your conversions
Which Meta dataset each kind of lead needs (Instant Forms, your website, chat ads, phone or store), how to create it and share it in Meta step by step, and how to pick it in AdManager.
In plain words: before AdManager can tell Meta which of your leads became customers, Meta needs a place to receive that news. That place is a dataset: a container in Meta's Events Manager that collects your events (the actions people take, such as becoming a lead or buying). What used to be called a Meta pixel is now a dataset too. This page shows which dataset each kind of lead needs, how to create and share it in Meta, and how to pick it in AdManager. New to ad terms? See Ads basics.
Where to find it: in Meta, Events Manager and Business Suite > Settings. In AdManager, left sidebar > Conversions > Pixels (your datasets), then Set up conversions on the Overview.
Why the dataset matters
A conversion is a result you care about, such as a qualified lead or a sale. AdManager sends each conversion to a dataset you tick when you set up conversions. Meta then uses it to find more people like your best customers.
Meta checks that the dataset fits the kind of lead. Pick the wrong one and Meta refuses the event, or accepts it but cannot use it to improve your ads. For example, a conversion from a WhatsApp chat ad must go to the dataset linked to that WhatsApp Business account. Anywhere else, Meta rejects it.
Most setups need only one or two datasets. The table below shows which ones.
Which dataset for which leads
Find where your leads come from, then follow that row.
Your leads come from | What Meta needs | In AdManager, Where it happened | Set it up |
|---|---|---|---|
Meta Instant Forms (lead ads with a form inside Facebook or Instagram) | A dataset connected as a CRM. A CRM is the tool where you track leads and sales, here Rework. | Based on the lead's source (form leads always go as CRM) | |
Your own website (a form on your landing page) | Your Meta Pixel's dataset, the one installed on that website | Based on the lead's source | |
Chat ads (Messenger, Instagram or WhatsApp) | The dataset linked to the Page, Instagram account or WhatsApp Business account the chat came from | In a chat from a Meta ad | |
Phone calls or a shop | Any dataset that collects offline events | Over the phone or In a store |
Where it happened is a field in each conversion event's settings (Edit settings). It tells Meta where the conversion took place. The default, Based on the lead's source, is right for most leads. See Where it happened (Meta).
Example: you run Instant Form ads and WhatsApp chat ads. You need two datasets: one for the form leads and one linked to your WhatsApp Business account. In AdManager, you tick the form and website dataset for your form leads, and pick the WhatsApp dataset for your Page under click-to-message ads.
Before you start
Full control of the business portfolio. A business portfolio (formerly Business Manager) is the Meta account that owns your Pages, ad accounts and datasets. Creating and sharing datasets needs full control of it. If you do not have it, ask someone who does. Meta help: Create a dataset.
The Meta ad account is connected in AdManager. See Connecting ad accounts.
The Lead app is connected, so there are leads to send. See Connecting to the Lead app.
Open Events Manager
Events Manager is the part of Meta where datasets live.
Open Meta Business Suite at business.facebook.com.
Open Events Manager from the tools menu. You can also go straight to business.facebook.com/events_manager2.
Click Datasets in the left menu, then click a dataset to see the events it received.
To create a new dataset, use the green plus sign and choose Connect Data Sources. Meta asks which kind of data you want to connect.
Meta help: Navigate Events Manager, About datasets.
A dataset for Instant Form leads
Meta calls this Conversion Leads: you tell Meta which form leads became good customers, and Meta learns to find more of them.
In Events Manager, choose Connect data. The Connect a new data source window opens.
Select CRM and click Next.
Meta shows Connect your CRM for conversion leads. Read it and click Next.
Search for and select an existing dataset, or click Create new dataset, type a name (for example "Rework CRM") and click Create.
Meta asks how to connect. Choose Connect manually, select Do the code manually yourself and click Next. Meta shows setup instructions for a developer. You can stop there: AdManager sends the events, so there is no code to write.
Share the dataset with AdManager's connection. See Share the dataset.
AdManager sends form leads the way Meta asks for CRM events. You do not need to change Where it happened.
Meta help: Connect your CRM to Meta using Conversions API for CRM.
A dataset for website leads
If your website already has a Meta Pixel, you already have a dataset: its ID is the pixel ID. Use it.
If not, create a Meta Pixel and install it on your site first. Meta help: Set up and install the Meta Pixel.
A website conversion needs the page address and the visitor's browser. Rework web forms save both. See Where it happened (Meta).
A dataset for chat ad leads
A chat ad (also called click-to-message) is an ad whose button opens a conversation instead of a form. Meta links each chat channel to one dataset:
Channel | The dataset belongs to |
|---|---|
Messenger | The Facebook Page that receives the messages. One Page links to one dataset. |
The Instagram account that receives the messages. | |
The WhatsApp Business account. All phone numbers in that account share its one dataset. |
To create it:
Make sure the Facebook Page (or Instagram or WhatsApp account) belongs to your business portfolio.
In Events Manager, use the green plus sign and choose Connect Data Sources.
Select Messaging and click Connect.
Search for the Page by its name or Page ID, select it and click Next. If your chats run on WhatsApp or Instagram, select that account instead when Meta lists it.
Choose whether to log messaging events with existing data (an existing dataset) or create a new set of data. If you have no dataset yet, Meta offers only the new one. Click Next.
Meta asks how to connect: Partner integration or Direct integration. Choose Direct integration and click Next. Meta opens setup instructions for a developer. You can stop there: AdManager sends the events, so there is no code to write.
Share the dataset with AdManager's connection. See Share the dataset.
One dataset per channel account. Meta keeps only one dataset per Page and per WhatsApp Business account. If one already exists, use it instead of creating another.
Several Pages or WhatsApp numbers. Example: one WhatsApp Business account with 4 phone numbers, 4 Facebook Pages and 4 Instagram accounts.
The 4 WhatsApp numbers share one dataset, because the dataset belongs to the WhatsApp Business account, not to each number.
Each Page and each Instagram account links to its own dataset. When step 5 offers existing data, you can choose the same dataset for all of them.
In AdManager, you pick one dataset for each Page that runs click-to-message ads. Meta refuses a chat sent to a dataset that is not connected to the chat's channel. So link all your Pages, Instagram accounts and your WhatsApp Business account to the same dataset, then pick that dataset for every Page.
What else a chat conversion needs (the lead's chat IDs, Meta's chat event names, testing): see Conversions from chat ads (Meta).
Meta help: Create a dataset during messaging event set creation, About messaging events in business chats.
A dataset for phone and store sales
For sales that happen on the phone or in a shop, Meta uses an offline dataset. You can also send these to a dataset you already use.
In Events Manager, use the green plus sign and choose Connect Data Sources.
Select Offline and click Connect.
Type a name you will recognise later, for example "Store sales", and click OK.
Share the dataset with AdManager's connection (next section).
In AdManager, after you set up conversions, open Customize on that dataset and set Where it happened to Over the phone or In a store. You can also change it on one event with Edit settings.
Meta help: Create a dataset to connect offline events.
Share the dataset so AdManager can see it
AdManager lists the datasets that the Meta user who connected the ad account can see. A new dataset is often not shared yet. Do one of these in Meta Business Suite (both need full control of the business portfolio):
Option A: give that person access to the dataset.
Open Settings and select your business portfolio.
Click Data sources, then Datasets.
Select the dataset.
Click Add people.
Select the person who connected Meta in AdManager.
Switch on the access level. Meta offers Partial access (use the dataset) and Full control (manage it). Full control is the safe choice.
Click Assign.
Option B: add your ad account to the dataset.
Open Settings, then Data sources, then Datasets.
Select the dataset and click Add assets.
Select the ad account you connected in AdManager and click Add.
Meta help: Add people to your dataset, Add ad accounts to your dataset, Permissions for datasets.
Use the dataset in AdManager
In AdManager, open Conversions in the left sidebar, then Pixels in the Conversions menu.
Click Sync. The new dataset appears in the list. AdManager calls it a pixel.
Go back to the Overview and choose Set up conversions. Under Which platform? pick Meta Ads, under Which lead service? pick the Lead service, then choose Continue. A Lead service is one pipeline of leads in the Lead app.
In step 1, tick the moments Meta should hear about. In step 2, check the names Meta will see.
In step 3, under Leads from forms and your website, tick the datasets to use. Each lead goes to the dataset its ad account uses. If a dataset you expect is missing, share it, then choose Check again in the setup window.
If you run chat ads, answer the question below (Do you run click-to-message ads?).
Choose Save (Turn on the first time).
To change Where it happened for a dataset, choose Customize next to it. For one event, open the event and choose Edit settings.
If you run click-to-message ads
Under Do you run click-to-message ads? choose Yes. These are ads whose button starts a chat in Messenger, Instagram or WhatsApp. A lead form ad that opens a chat after the form is not one: its leads count as form leads.
Read the yellow box Each dataset must be connected to its Page in Meta. Meta only accepts a chat in the dataset connected to the Page the ad runs on, and AdManager cannot check that link. If you pick the wrong dataset, Meta refuses every chat from that Page. The box links to How to connect a dataset to a Page.
Under Add each Page that runs click-to-message ads., open + Add a Page and pick a Page.
For that Page, open Pick a dataset and choose the dataset you connected to it in Meta. To remove a Page, choose the × at the end of its row.
A Page without a dataset shows "Pick the dataset connected to this Page." Save stays off until you pick one or remove the Page.

This screenshot shows the same choice in the event's own settings window (More settings from a place's Customize, or Edit settings on an event): the dataset under Pixel, and Where it happened set to In a chat from a Meta ad. In the setup window you do not set this, because chats always go as chat events.
To move an event that is already sending to another dataset, switch the old place off in Change setup on the Meta Ads page, then tick or pick the new one. Leads already sent are not sent again.
Check that Meta receives the events
Send a test (not for chat events): in Events Manager, open the dataset, then the Test events tab, and copy the test code. In AdManager, open the event, choose More, then Send test, and paste the code into Test code. The event appears in Test events within about 30 seconds. See Test it: Send a test.
Real events: in Events Manager, open the dataset. Real events show in its activity chart once Meta has processed them.
In AdManager: the event's delivery log shows each lead as sent, skipped, To fix or Refused. See The delivery log.
Meta help: Test your server events.
Troubleshooting
Problem | Why it happens | What to do |
|---|---|---|
The new dataset is not in AdManager's Pixel list or in step 3 of the setup | It is not shared with the person who connected Meta, or Sync has not run since. | Share the dataset, then click Sync on the Pixels page. |
"This WhatsApp chat event went to a dataset that is not linked to the WhatsApp Business account the chat came from." | The chat event sends to a dataset that is not the WhatsApp Business account's own. | Create or find the dataset for that WhatsApp Business account (A dataset for chat ad leads), share it, Sync, then choose Change setup on the Meta Ads page and pick it for that Page under Pick a dataset. |
Chat events fail for some channels and work for others | The dataset picked for a Page is not connected to every channel that Page's chats come from. | Link the Page, Instagram account and WhatsApp account to the same dataset, then pick it for the Page. See A dataset for chat ad leads. |
Website events arrive as CRM ("Sent as CRM: the lead has no page URL.") | The lead has no page address or browser. | |
Events show in AdManager as sent, but not in Events Manager | You are looking at another dataset, or Meta is still processing the events. | On AdManager's Pixels page, note the dataset's ID. Open the dataset with the same ID in Events Manager, and check again later. |
"The connection lacks permission to send conversions." | The person who connected Meta lost access to the dataset or the ad account. | Give them access again (Share the dataset), or reconnect Meta with someone who has it. |
More help: Common errors and Fix it by symptom.