# Facebook Pixel

In this article, we show you how to set up the Facebook Pixel App inside a funnel so you can start tracking events that are important to your company!

{% embed url="<https://www.youtube.com/watch?ab_channel=Funnelish&v=JLbYiDIq0BE>" %}

{% hint style="success" %}
The Facebook Pixel App automatically fires and tracks all relevant events within your funnels.
{% endhint %}

### Facebook Pixel App Features

Funnelish **Facebook Pixel App** tracks all events on auto-pilot without any coding:

* **Page View** and **View Content**<br>
* **Lead** and **AddToCart**\
  Triggered when a customer opts into your funnel, or when a new lead is detected.<br>
* **AddPaymentInfo** and **InitiateCheckout**\
  Triggered when a customer attempts to make a purchase by entering payment details (fires just before processing a charge). Can retarget failed payments and high quality customers.<br>
* **Purchase**\
  Triggered for all purchases with accurate purchase value and currency, it tracks order form sales, order bumps, upsells, and downsells.<br>
* **CompleteRegistration**\
  Triggered when a customer goes through an entire funnel and lands on the **Thank You Page.**<br>
* **Pixel lazy loading**\
  The Facebook Pixel app enables the pixel to lazy load on your pages to reduce fake bot data.<br>
* Supports **two-step order forms** and **standard order forms** automatically.

  .
* Supports OTOs (**Upsells** and **Down-sells**) automatically.<br>
* Supports **order bumps**.<br>
* **Facebook Conversion API fully supported**\
  Funnelish triggers all the events (except **PageView**/**ViewContent**) on the server-side in real-time as customers go through your funnel.<br>
* **Multi-Pixel support**\
  Funnelish can trigger up to five pixels on a funnel simultaneously, so it is possible to track data on multiple Facebook business managers at the same time.<br>

### Get Your FB Pixel ID

The first step is to copy the pixel ID from your Meta Business Suite (formerly known as Facebook Manager) account.

1. Go to the [Meta Business Suite](https://business.facebook.com/) and log in to your account.
2. On the left menu, click **All tools**.
3. Scroll down and click **Events Manager**. A new browser tab opens.
4. Locate the pixel you want to add to your funnel and copy the ID.

![](https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FcuGc8ew6Bgsy7uI14Wru%2Fa-1a.png?alt=media\&token=72dedcd4-e188-431c-a6d2-dfe0734cff70)

#### *Create a new pixel*

Don't have a pixel? It is easy to create. On the [Meta Business Suite](https://business.facebook.com/):

1. Click the green plus (+) button on the side menu.
2. In the pop-up window, check the **Web** box.
3. Click **Connect**.
4. Enter a unique name in the next window.
5. Click **Create Pixel**.
6. In the next window, enter a website URL.
7. Click **Check**.
8. After Facebook verifies your site, click **Next**.
9. Choose the **Conversions API** **and Meta Pixel** option.
10. Click **Next**.
11. Read the slides.
12. Choose the **Set up with partner integration** option.
13. Click **Next**.
14. Click **Close**.

{% hint style="success" %}
Don't close this browser tab. You might need it for the **Conversions API** option. (see below)
{% endhint %}

### **Paste the pixel ID into Funnelish**

After copying the Facebook pixel ID number, go back to the main Funnelish page.

1. Make sure **Facebook Pixel is enabled inside** [**Global Apps.**](https://docs.funnelish.com/apps-overview#id-1.-global-apps-account-wide)
2. Go to [**Funnel Apps**](https://docs.funnelish.com/apps-overview#id-2.-funnel-apps-per-funnel) **> Facebook Pixel > enable the app.**

<figure><img src="https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FkP8dNBJdjCypWlYf1PEQ%2FScreenshot%202025-09-19%20at%2013.46.06.png?alt=media&#x26;token=c9a5b6ab-7810-4464-abd2-dafddd3050d9" alt="" width="563"><figcaption><p>Funnel Apps > Facebook Pixel.</p></figcaption></figure>

&#x20; 3\. Paste the Facebook pixel ID number into the field.

&#x20; 4\. Click **Save changes**.

### Conversions API option

You could stop here, but we suggest that you complete one more step. This step helps you collect better data results.<br>

Go back to the [Meta Business Suite](https://business.facebook.com/) page:

1. Click the name of your pixel in the side menu.
2. Click the **Settings** menu tab.
3. Scroll down to the **Conversions API** heading and click the **Generate access token link.**&#x20;

![](https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FvNZzpaDlDxWTfdE3eL4V%2Fa-5a.png?alt=media\&token=0b017ba2-8802-4b96-8385-aba035b667a2)

&#x20; 4\. Click to copy the access token.

![Copy access token](https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FFYyeaDmxSQLVNArzIq1Z%2Fa-6a.png?alt=media\&token=64a2df30-76e7-4a1c-bb2b-06e0525ae11c)

#### Paste the access token

1. Go back to the Funnelish.
2. Make sure that **Facebook Pixel app is enabled inside your funnel.**
3. **Paste the access token into the field.**
4. Uncheck events you don't want to track. *(optional)*

<figure><img src="https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FWb6sLEb3wxERPqEaE2pE%2FScreenshot%202025-09-19%20at%2013.47.55.png?alt=media&#x26;token=27dae81c-5b61-4e3b-b8db-600120c7e583" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you have the [Facebook Pixel Helper Chrome extension](https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en), you can test your pixel and events! You can also test it inside Facebook's Event Manager.
{% endhint %}

### De-duplicate Pixel and Server Events

For optimal accuracy, Funnelish will send your critical events from server-side and pixel-side with proper tracking data to avoid any duplication.

{% hint style="danger" %}
If you notice any duplications or inaccuracies, please report them to our team through our support channels or [community forum](https://community.funnelish.com/).
{% endhint %}

### Installing Custom Events *(not recommended)*

{% hint style="info" %}
We encourage users to avoid custom events and use default event tracking. Custom events are subject to recent iOS14 limitations and could lead to inaccurate tracking data.
{% endhint %}

If you want to track a custom event, add some code to your head tracking code.

For example, the Facebook Pixel app does not track **Initiate Cart** events. Accurate data collection for that event relies heavily on your own business logic and can usually be replaced by **Leads** or **Add to Carts**.

To track this custom event, add code to your head tracking code box. You can trigger the event with a button click or page visit.&#x20;

We recommend the button click option because it delivers more accurate results.

Copy one of the snippets below and add it to the head tracking code box inside your funnel. This method can be used for any Facebook event or custom event.

#### On button click

```
<script>
$('a[href="#submit-form-2step"], a[href="#submit-form"]').on("click", function() {
    ​fbq('track', 'InitiateCheckout');
});
</script>
```

#### On page load

```
<script>
setTimeout(function(){
  ​fbq('track', 'InitiateCheckout');
}, 6000);
​</script>
```

{% hint style="danger" %}
Traditional ad blockers block the Facebook Pixel or cause performance issues. We strongly recommend disabling ad blockers when testing your Facebook Pixel.
{% endhint %}
