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

# How to Configure Facebook (Meta) Ads Pixel Destination in Upstack Data

> Configure the Facebook (Meta) Ads destination in Upstack Data with your Pixel ID and Conversion API key to enable dual tracking via browser pixel and server-side CAPI.

<Tip>
  * In the Upstack dashboard, go to **Event Destinations** and click **+ New Destination**.
  * Select **Facebook Advertising**.
  * Enter your **Meta Pixel ID** (15–16 digit number, no prefix).
  * Enable the **Conversions API** checkbox and paste your **CAPI token** (starts with `EAA`).
  * Click **Create Configuration** and verify the destination shows **Healthy**.
</Tip>

<Note>
  **What this setup enables**

  Setting up the Meta Ads Pixel destination in Upstack Data enables dual tracking via browser pixel and server-side Conversions API (CAPI), ensuring accurate conversion data despite iOS restrictions and ad blockers.
</Note>

## Prerequisites

Before you start, you need:

* An active Upstack Data account ([sign up](https://app.upstackdata.com))
* Admin access to a **Meta Business Manager** account
* A configured **Meta Pixel** in [Meta Events Manager](https://business.facebook.com/events_manager) — see [How to find your Meta Pixel ID](/guides/facebook-ads/how-do-i-find-my-facebook-ads-pixel-dataset-id)
* A **Conversions API access token** — see [How to generate your CAPI token](/guides/facebook-ads/how-to-generate-my-facebook-conversion-api-key)

## Configuration steps

<Steps>
  <Step title="Sign in to Upstack Data">
    Sign in to Upstack Data at [app.upstackdata.com](https://app.upstackdata.com/pixel/event-destinations).
  </Step>

  <Step title="Open the destination configuration">
    In the Upstack dashboard, navigate to **Event Destinations**.

    Click **+ New Destination** in the top-right of the page.

    <img src="https://mintcdn.com/upstackdata-afbed50d/a7q81tQDxtvowAUn/images/intercom/61d340843fe9b2ed.png?fit=max&auto=format&n=a7q81tQDxtvowAUn&q=85&s=4d76813cfa44c01234eb982ab600ab70" alt="Add New Destination" width="1600" height="648" data-path="images/intercom/61d340843fe9b2ed.png" />

    In the **Select a Destination** popup, click **Facebook Advertising**, then click **Next**.

    <img src="https://mintcdn.com/upstackdata-afbed50d/a7q81tQDxtvowAUn/images/intercom/662fbee88a5c05ee.png?fit=max&auto=format&n=a7q81tQDxtvowAUn&q=85&s=987ff220bdbdcaeeac6d60b3a2616291" alt="Facebook Pixel Configuration" width="1600" height="632" data-path="images/intercom/662fbee88a5c05ee.png" />
  </Step>

  <Step title="Enter your Pixel ID and CAPI token">
    Fill in the form:

    1. **Meta Pixel ID** — the 15–16 digit number, no prefix (e.g., `123456789012345`). Meta Pixel IDs do **not** have an `AW-` prefix; that prefix belongs to Google Ads.

    2. Check the box **Check to enable sending events via Facebook Conversions API**.

    3. **CAPI token** — starts with `EAA`, approximately 190 characters long.

    <Warning>
      The Conversions API checkbox **must be selected** for server-side tracking to work.
    </Warning>

    <img src="https://mintcdn.com/upstackdata-afbed50d/r7kPU9Z0Ocj96UFU/images/intercom/81c72a4d7fe3c1a8.png?fit=max&auto=format&n=r7kPU9Z0Ocj96UFU&q=85&s=825c83dd5caa8e688bb65c151f3fd679" alt="" width="4025" height="1691" data-path="images/intercom/81c72a4d7fe3c1a8.png" />

    <Note>
      **Need help finding these?**

      * [How to find your Meta Pixel ID](/guides/facebook-ads/how-do-i-find-my-facebook-ads-pixel-dataset-id)
      * [How to generate your CAPI token](/guides/facebook-ads/how-to-generate-my-facebook-conversion-api-key)
    </Note>
  </Step>

  <Step title="Create the configuration">
    Click the **Create Configuration** button.

    <img src="https://mintcdn.com/upstackdata-afbed50d/r7kPU9Z0Ocj96UFU/images/intercom/b52090a078455754.png?fit=max&auto=format&n=r7kPU9Z0Ocj96UFU&q=85&s=b2fe1f777cfb57cc249e1d67e6f00490" alt="" width="4025" height="1691" data-path="images/intercom/b52090a078455754.png" />

    You should see a confirmation message and the Meta destination will appear in your **Event Destinations** list.

    <img src="https://mintcdn.com/upstackdata-afbed50d/40dgTTn1PLjePhJa/images/intercom/e72b993ea1956b8d.png?fit=max&auto=format&n=40dgTTn1PLjePhJa&q=85&s=2557cacc5bb0222c041a8e5186d93a67" alt="" width="4025" height="1691" data-path="images/intercom/e72b993ea1956b8d.png" />
  </Step>

  <Step title="Verify the destination is healthy">
    In the Upstack dashboard, the Meta destination card should display **Healthy** with a green status indicator within 5 minutes.

    If the status shows **Unhealthy**:

    * Confirm your **Pixel ID** is correct (15–16 digits, no leading/trailing spaces, no prefix).
    * Confirm your **CAPI token** is the full string starting with `EAA`.
    * Confirm the **Conversions API** checkbox was selected.
    * See [How to update your CAPI token](/guides/facebook-ads/how-to-update-facebook-meta-conversion-api-key) if your token may have expired.
  </Step>
</Steps>
