> For the complete documentation index, see [llms.txt](https://docs.shopone.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shopone.io/english/tracking-and-measuring-the-landing-page/tracking-and-conversion-code/instructions-for-installing-facebook-pixel-on-a-landing-page.md).

# 2.1. Instructions for installing Facebook Pixel on a Landing Page

Facebook Pixel is a JavaScript snippet provided by Facebook for advertisers. When you insert this code into your landing page, Facebook will help track and measure events on the landing page.

To set up Facebook Pixel, follow these steps:

#### Step 1: Log in to Ads Manager: <https://adsmanager.facebook.com/adsmanager/manage/campaigns>

#### Step 2: Click on the Ads Manager toolbar, select All Tools -> Business Settings.

<figure><img src="/files/ibU1It5lTl3GwgqhwycU" alt=""><figcaption></figcaption></figure>

#### **Step 3: Set up the pixel, select Data Sources** → **Pixels**.

<figure><img src="/files/o7wNnHzEHGu2HCPqaI3z" alt=""><figcaption></figcaption></figure>

#### **Step 4: Click Add** → **Enter a name** → **Click Create to add a neu dataset.**

<figure><img src="/files/MRqNex4ralteatfzL0S7" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kmKHy7wTKbCeCPsTm1q0" alt=""><figcaption></figcaption></figure>

In the **Datasets** section, select the dataset you just created → **Open in Events Manager.**

<figure><img src="/files/eStlVbLs1lzWbf4Plni8" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/41HUVJBaNdbccmIYGXGc" alt=""><figcaption></figcaption></figure>

#### **Step 5: Select Set up Meta Pixel** → I**nstall code manually**.

<figure><img src="/files/fRrWjplY3gAXPLQu6RF5" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6M4iTmFlafiYg8MD9neP" alt=""><figcaption></figcaption></figure>

#### **Step 6:** Copy code in the dialog box.

<figure><img src="/files/P4IjDI8dlxHBh8fdgftF" alt=""><figcaption></figcaption></figure>

#### Step 7: Add the code to your landing page.

To add the code to your landing page: Go to the **Editor** (Edit) page of your landing page → Select the **Settings** icon → **Code JavaScript/CSS** → Paste the code into the **"End of \<head> tag"** field and save it.

<figure><img src="/files/8moQaP6IplHrFZbtPoqD" alt=""><figcaption></figcaption></figure>

Alternatively, you can take the **Facebook Pixel ID** from the Datasets section to add to your landing page. To do this: Go to the **Editor** (Edit) page of your landing page → Select the **Settings** icon → **Tracking Code** → Paste the **Facebook Pixel ID** into the **Facebook Pixel ID** field and save it.

<figure><img src="/files/KLUaOBgAC3KzqxUKlZZ7" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shopone.io/english/tracking-and-measuring-the-landing-page/tracking-and-conversion-code/instructions-for-installing-facebook-pixel-on-a-landing-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
