# Meta Pixel

The Meta Pixel integration allows you to track visits and actions on your zcal scheduling pages.

### Adding the Meta Pixel integration

To get started, you'll need a Meta Business account and a Meta Pixel ID.

1. Open the [Account Integrations page](https://zcal.co/account/integrations) and click the **Connect** button next to Meta Pixel.
2. A dialog will open. Enter your **Meta Pixel ID** in the dialog text field and submit.
3. To confirm your integration is working, open your zcal invite page and complete a test booking. You should see the events appear in Meta Event Manager after a few minutes.
4. In Meta Event Manager click the **Verify** button for each of the zcal events sent to your Meta Pixel.<br>

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

You may also need to

* Add zcal.co in the domain allow list in the Meta Event Manager
* Confirm in the dataset page that the events are "from your business"

###

### Events sent by zcal

zcal sends the following events to Meta Pixel along with the data parameters **event\_category** and **event\_label**, which represent the invite id for an invite page and the custom slug associated with an invite or profile page, respectively.

| Event name                        | Invitee user action             |
| --------------------------------- | ------------------------------- |
| **zcal\_profile\_view**           | Views the profile page          |
| **zcal\_invite\_view**            | Views the invite page           |
| **zcal\_invite\_submit**          | Submits the invite page form    |
| **zcal\_invite\_schedule\_event** | Successfully scheduled an event |

### Removing the Meta Pixel integration

1. Open the [Account Integrations page](https://zcal.co/account/integrations) and click the menu button to the right of the Meta Pixel integration.
2. Click the **Disconnect** menu option.


---

# 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.zcal.co/integrations/meta-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.
