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

# Connect the Meta Pixel and Conversions API

> Track leads from Converic landing pages with the Meta Pixel and report leads and booked appointments to Meta from the server with an access token.

The Meta Pixel tells Meta which ad clicks turned into leads, so your Facebook and Instagram campaigns can optimize for inquiries. Converic supports the pixel in the browser and, with an access token, the Conversions API from the server. The server route also reports appointments that are booked later on the phone.

The Meta Pixel is available on landing pages.

## Connect

**1. Open the integration**

Open the landing page, switch to the **Integrations** tab and click **Connect** on the **Meta Pixel** card.

**2. Enter the Pixel ID**

Enter the numeric **Pixel ID** from the Meta Events Manager.

**3. Add an access token**

To report conversions from the server, paste an **Access token** for the Conversions API. You create it in the Events Manager in the settings of your pixel. The field is optional.

**4. Save**

Click **Save**.

## What is reported

| Event | When | Route |
| - | - | - |
| `PageView` | A visitor opens the page and allowed marketing cookies. | Browser |
| `Lead` | A visitor sends the form. | Browser, and server with access token |
| `Schedule` | An appointment is booked for the lead. | Server with access token |

The pixel loads in the browser only after the visitor allowed marketing cookies in the cookie banner.

## Test your setup

Enter a **Test event code** from the **Test events** tab of the Events Manager. Server events then appear in that tab, so you can check them without touching your real data. Remove the code when you are done.

## Check the result per lead

Open a lead and look at its source details. **Ad feedback** shows the state of each server event.

| State | Meaning |
| - | - |
| queued | The event is waiting to be sent. |
| sent | Meta accepted the event. |
| failed | Meta rejected the event. The reason is shown next to it. |

## Disconnect

Open the card with **Edit** and remove the Pixel ID, or switch the integration off on the card.


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