# 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.

Source: https://support.rework.com/article/ads-conversions-meta

> **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](https://support.rework.com/article/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)

 | 

[A dataset for Instant Form leads](#a-dataset-for-instant-form-leads)

 |
| 

**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**

 | 

[A dataset for website leads](#a-dataset-for-website-leads)

 |
| 

**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**

 | 

[A dataset for chat ad leads](#a-dataset-for-chat-ad-leads)

 |
| 

**Phone calls or a shop**

 | 

Any dataset that collects offline events

 | 

**Over the phone** or **In a store**

 | 

[A dataset for phone and store sales](#a-dataset-for-phone-and-store-sales)

 |

**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)](https://support.rework.com/article/ads-pixels-and-conversions#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](https://www.facebook.com/business/help/5818684664831465).
  
- **The Meta ad account is connected in AdManager.** See [Connecting ad accounts](https://support.rework.com/article/ads-connecting-ad-accounts).
  
- **The Lead app is connected,** so there are leads to send. See [Connecting to the Lead app](https://support.rework.com/article/ads-connecting-to-other-apps).
  

## Open Events Manager

**Events Manager** is the part of Meta where datasets live.

1. Open Meta Business Suite at business.facebook.com.
   
2. Open **Events Manager** from the tools menu. You can also go straight to business.facebook.com/events\_manager2.
   
3. 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](https://www.facebook.com/business/help/898185560232180), [About datasets](https://www.facebook.com/business/help/750785952855662).

## 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.

1. In Events Manager, choose **Connect data**. The **Connect a new data source** window opens.
   
2. Select **CRM** and click **Next**.
   
3. Meta shows **Connect your CRM for conversion leads**. Read it and click **Next**.
   
4. Search for and select an existing dataset, or click **Create new dataset**, type a name (for example "Rework CRM") and click **Create**.
   
5. 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.
   
6. Share the dataset with AdManager's connection. See [Share the dataset](#share-the-dataset-so-admanager-can-see-it).
   

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](https://www.facebook.com/business/help/571704773472628).

## 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](https://www.facebook.com/business/help/952192354843755).

A website conversion needs the page address and the visitor's browser. Rework web forms save both. See [Where it happened (Meta)](https://support.rework.com/article/ads-pixels-and-conversions#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.

 |
| 

**Instagram**

 | 

The Instagram account that receives the messages.

 |
| 

**WhatsApp**

 | 

The WhatsApp Business account. All phone numbers in that account share its one dataset.

 |

**To create it:**

1. Make sure the Facebook Page (or Instagram or WhatsApp account) belongs to your business portfolio.
   
2. In Events Manager, use the green plus sign and choose **Connect Data Sources**.
   
3. Select **Messaging** and click **Connect**.
   
4. 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.
   
5. 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**.
   
6. 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.
   
7. Share the dataset with AdManager's connection. See [Share the dataset](#share-the-dataset-so-admanager-can-see-it).
   

**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)](https://support.rework.com/article/ads-pixels-and-conversions#conversions-from-chat-ads-meta).

Meta help: [Create a dataset during messaging event set creation](https://www.facebook.com/business/help/5818684664831465), [About messaging events in business chats](https://www.facebook.com/business/help/610611921269482).

## 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.

1. In Events Manager, use the green plus sign and choose **Connect Data Sources**.
   
2. Select **Offline** and click **Connect**.
   
3. Type a name you will recognise later, for example "Store sales", and click **OK**.
   
4. 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](https://www.facebook.com/business/help/5818684664831465).

## 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.**

1. Open **Settings** and select your business portfolio.
   
2. Click **Data sources**, then **Datasets**.
   
3. Select the dataset.
   
4. Click **Add people**.
   
5. Select the person who connected Meta in AdManager.
   
6. Switch on the access level. Meta offers **Partial access** (use the dataset) and **Full control** (manage it). **Full control** is the safe choice.
   
7. Click **Assign**.
   

**Option B: add your ad account to the dataset.**

1. Open **Settings**, then **Data sources**, then **Datasets**.
   
2. Select the dataset and click **Add assets**.
   
3. Select the ad account you connected in AdManager and click **Add**.
   

Meta help: [Add people to your dataset](https://www.facebook.com/business/help/373196011829784), [Add ad accounts to your dataset](https://www.facebook.com/business/help/1556728331732865), [Permissions for datasets](https://www.facebook.com/business/help/1178675675606697).

## Use the dataset in AdManager

1. In AdManager, open **Conversions** in the left sidebar, then **Pixels** in the Conversions menu.
   
2. Click **Sync**. The new dataset appears in the list. AdManager calls it a pixel.
   
3. 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.
   
4. In step 1, tick the moments Meta should hear about. In step 2, check the names Meta will see.
   
5. 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](#share-the-dataset-so-admanager-can-see-it), then choose **Check again** in the setup window.
   
6. If you run chat ads, answer the question below (**Do you run click-to-message ads?**).
   
7. 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

1. 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.
   
2. 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**.
   
3. Under **Add each Page that runs click-to-message ads.**, open **\+ Add a Page** and pick a Page.
   
4. 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.
   
5. A Page without a dataset shows "Pick the dataset connected to this Page." **Save** stays off until you pick one or remove the Page.
   

![New conversion event dialog for a WhatsApp chat event](https://storage.googleapis.com/reworkv3-public/success/261014/adZJeXASdOoEDkfGQY7Fi3T23NgKMmIgEl6KPY16jVysD56jWDR7hakv54phBWEf/img.eFZRyFaKTViJY4NtnYyTWuLa3Sr9F1YXB3uQbVBsCgXESiPc4ehUZnla4gkIbZ1o.png)

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](https://support.rework.com/article/ads-pixels-and-conversions#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](https://support.rework.com/article/ads-pixels-and-conversions#the-delivery-log).
  

Meta help: [Test your server events](https://www.facebook.com/business/help/1624255387706033).

## 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](#share-the-dataset-so-admanager-can-see-it), 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](#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](#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.

 | 

See [Where it happened (Meta)](https://support.rework.com/article/ads-pixels-and-conversions#where-it-happened-meta).

 |
| 

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](#share-the-dataset-so-admanager-can-see-it)), or reconnect Meta with someone who has it.

 |

More help: [Common errors](https://support.rework.com/article/ads-common-errors#delivery-log-rows) and [Fix it by symptom](https://support.rework.com/article/ads-fix-by-symptom).
