# Facebook Pixel

### 🔧 How to Connect Meta Pixel to Your Type.link Site

#### 1. Get Your Pixel ID

1. Go to [Meta Events Manager](https://www.facebook.com/events_manager).
2. Create a new Pixel or select an existing one.
3. Copy your **Pixel ID**.

#### 2. Add the Pixel ID in Type.link

1. Log in to your Type.link account.
2. Open the site or page where you want to add the Pixel.
3. Go to **Settings → Facebook pixel**.
4. Paste your Pixel ID into the field.
5. Save the changes.

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

#### 3. Automatic Lead Event Tracking

Once the Pixel ID is added:

* We’ll automatically add the event **`fbq('track', 'Lead')`** to all buttons and links on your page.
* This lets Meta track user actions related to interest or potential leads.


---

# Agent Instructions: 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://help.type.link/type.link/site-settings/facebook-pixel.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.
