# Meta Ads Tracking













## 1. Get your Meta Pixel ID [#1-get-your-meta-pixel-id]

1. Log into [Meta Ads Manager](https://business.facebook.com/) and click on **Events Manager** from left sidebar

<Frame>
    <img alt="Open Events Manager" src="__img0" />
</Frame>

2. In **Datasets**, find your Pixel and copy the **ID**.

<Frame>
    <img alt="Copy Pixel ID" src="__img1" />
</Frame>

## 2. Add meta pixel id to your Surface Form [#2-add-meta-pixel-id-to-your-surface-form]

**Steps:**

1. In your Surface Form, go to **Settings** -> **Ads / Tracking** -> **Meta Ads**
2. Add your Meta Pixel ID to the **Meta Pixel** field
3. Click **Save**

<Frame>
    <img alt="Add Meta Pixel ID to Surface Form" src="__img2" />
</Frame>

## 3. Test the tracking in Events Manager [#3-test-the-tracking-in-events-manager]

**Steps:**

1. In Events Manager, open your dataset and go to **Test events**
2. Under **Confirm your website's events are set up correctly**, enter your website URL and click **Test Events**
3. In a new tab, submit a Surface Form
4. Confirm you see a **Lead** event appear in **Test events**

<Frame>
    <img alt="Enter website URL in Test events" src="__img3" />
</Frame>

<Frame>
    <img alt="Lead event received" src="__img4" />
</Frame>
