# 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="https://2681443910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZYxh1gg0I6xlNTBANe%2Fuploads%2F2JmDcZRrz7ssnSGfdYfD%2Fimage.png?alt=media&#x26;token=45aa6386-070b-4b0d-bed1-912e7bf630cf" 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.
