> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sellagent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect a Meta Pixel to your Sell Page

> Measure the people your Facebook and Instagram ads send to your Sell Page, and count every lead. No coding needed.

A **Meta Pixel** tells Facebook and Instagram who visited your Sell Page from your ads. Once it is connected:

* Every visit is counted as a **PageView**.
* Every time someone fills in your lead form, it is counted as a **Lead**.

Meta uses this to show you which ads bring customers, and to find more people like them.

<Info>
  **You need:** a Facebook account that can open **Meta Business** (the same one you use for ads). It takes about **5 minutes**.
</Info>

## Part 1: Get your Pixel ID from Meta

<Steps>
  <Step title="Open Events Manager">
    Go to **[Meta Events Manager](https://business.facebook.com/events_manager2/list)** and log in with your Facebook account.

    <Tip>
      You can also get there from Ads Manager: click **All tools** (the ☰ menu) and choose **Events Manager**.
    </Tip>
  </Step>

  <Step title="Create your business account (first time only)">
    If Meta asks you to **create a business portfolio** first, fill in:

    | Field | What to type |
    | - | - |
    | **Business portfolio name** | Your business name, for example `SellAgent` |
    | **Your name** | Your first and last name |
    | **Business email** | An email you check — Meta sends a confirmation link |

    Click **Submit**, then open the email from Meta and click **Confirm**. Come back to Events Manager.

    <Note>
      Already run Facebook ads? You already have a business account — skip this step.
    </Note>
  </Step>

  <Step title="Click “Connect data” and choose Web">
    1. Click the green **⊕** button (**Connect data**) at the top of the left menu.
    2. Choose **Web**.
    3. Click **Next**.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/meta-connect-data.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=31aae736581e97d82a3bc7c7c3acdd98" alt="Connect a new data source window in Meta with Web selected" width="1240" height="1154" data-path="images/sell-pages/meta-connect-data.png" />
    </Frame>

    <Warning>
      If Meta says **“You can only create one dataset per account”**, you already have a pixel. Close the window and go to the **Copy your Pixel ID** step below.
    </Warning>
  </Step>

  <Step title="Name your pixel">
    Type a name you will recognise, for example:

    ```text theme={null}
    SellAgent Sell Page
    ```

    Click **Create**. If Meta asks for your website address, you can skip it or enter your Sell Page address — it doesn't change anything.
  </Step>

  <Step title="Close the “install code” window">
    Meta now asks how you want to add the pixel code to your website (**Install code manually** or **Check for partner**).

    **You don't need either** — SellAgent adds the code for you. Click the **X** in the top-right corner to close the window.
  </Step>

  <Step title="Copy your Pixel ID">
    Your pixel now shows under **Datasets**. The **ID** is the long number right under the pixel's name (inside the red box below). It has **15 or 16 digits**.

    Select the number and copy it.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/meta-pixel-id.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=8b68de115a17d1628de0ea62183b2262" alt="The Pixel ID shown under the pixel name in Events Manager" width="1486" height="790" data-path="images/sell-pages/meta-pixel-id.png" />
    </Frame>

    <Warning>
      Don't copy the number in the **top-right corner** of the page. That is your **ad account** number, not your pixel.
    </Warning>
  </Step>
</Steps>

## Part 2: Add the Pixel ID to your Sell Page

<Steps>
  <Step title="Open Integrations">
    In SellAgent, open your Sell Page. Click **Insights** at the top, then **Integrations** on the left.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/sellagent-open-integrations.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=5b0a7293c2db96328e640fcd554b9b83" alt="Insights and Integrations in the Sell Page builder" width="1600" height="1328" data-path="images/sell-pages/sellagent-open-integrations.png" />
    </Frame>
  </Step>

  <Step title="Paste the Pixel ID and save">
    In the **Meta Pixel** card:

    1. Paste your number into **Pixel ID**.
    2. Leave **Send Lead events** switched on, so form sign-ups count as leads.
    3. Click **Save pixel**.

    <Frame>
      <img src="https://mintcdn.com/sellagent-f6a60d80/VhQQ2K1S4-dYPRQZ/images/sell-pages/sellagent-meta-pixel-card.png?fit=max&auto=format&n=VhQQ2K1S4-dYPRQZ&q=85&s=78a9c661325d2a07978f3a5023d1b58a" alt="The Meta Pixel card in SellAgent with the Pixel ID field and Save pixel button" width="1142" height="500" data-path="images/sell-pages/sellagent-meta-pixel-card.png" />
    </Frame>

    The card now shows a green **Connected** label.
  </Step>

  <Step title="Publish your page">
    Click **Publish** (or **Republish**) at the top right. The pixel only starts working on your live page after you publish.
  </Step>
</Steps>

## Part 3: Check that it works

<Steps>
  <Step title="Open your live page">
    Open your published Sell Page in Google Chrome. Turn off any **ad blocker** first — ad blockers stop pixels from working.
  </Step>

  <Step title="See the events arrive">
    In Events Manager, click your pixel and open the **Test events** tab. Within a few seconds you should see:

    * **PageView** — when the page opens.
    * **Lead** — after you fill in and send your page's lead form.

    <Tip>
      You can also install the free **[Meta Pixel Helper](https://chromewebstore.google.com/detail/meta-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc)** Chrome extension. Its icon shows the events on any page you visit.
    </Tip>
  </Step>
</Steps>

<Note>
  The **Overview** page in Events Manager can take from **20 minutes to a few hours** to show your first events. The **Test events** tab shows them straight away.
</Note>

## Common questions

<AccordionGroup>
  <Accordion title="SellAgent says “The Pixel ID is the 15–16 digit number”">
    You copied something else. Go back to Events Manager and copy only the number under your pixel's name — digits only, no spaces or letters.
  </Accordion>

  <Accordion title="Events Manager still shows 0 events">
    * Make sure you clicked **Publish** after saving the Pixel ID.
    * Turn off ad blockers and open your live page again.
    * Wait a while — the Overview page is slow. Check the **Test events** tab instead.
  </Accordion>

  <Accordion title="Lead events are not showing">
    * Check that **Send Lead events** is switched on in the Meta Pixel card.
    * Your page needs a lead form. Add one in **Insights → Form**.
    * A Lead is only sent after the form is sent successfully (you see the “Thank you!” message).
  </Accordion>

  <Accordion title="Can I add more than one pixel?">
    The Meta Pixel card holds one pixel. To add more pixels or other tags, use [Google Tag Manager](/pages/google-tag-manager).
  </Accordion>

  <Accordion title="How do I remove the pixel?">
    In the Meta Pixel card click **Remove**, then publish your page again.
  </Accordion>
</AccordionGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.