> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://ajuda.greatsoftwares.com.br/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to track BUTTON CLICKS through the FACEBOOK PIXEL CONVERSION EVENT

To track **BUTTON CLICKS through the FACEBOOK PIXEL CONVERSION EVENT** on your page's buttons, just follow the steps below:

1. The first step is to install the pixel on the page. Yes, the pixel must be installed for the conversion event to be received by Facebook. To do this, click the **gear icon** in the top right corner of the screen;

![](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/settings_cl73v3.png)

2. After clicking the gear icon, select the **"Integrations"** option in the menu, and on the right side, under **"Facebook API integration",** click **"Activate"**;

![](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_13j8o3a.png)

3. Next, enable the Facebook Pixel integration, install the **tracking ID** in the indicated field, and click **"Save"**;

![](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_f71c04.png)

4. Then you need to install the conversion event code in the **button's Javascript**. Go to your button, click on it once, and then select the **"Edit"** option;

![](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/editbutton_kdt304.png)

5. Next, in the menu that opens on the right side of the screen, scroll until you see the **"Code"** option and paste the Facebook event code into the "**Button JavaScript** " area;

![](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_5usk60.png)

That's it! From now on, whenever a visitor clicks a button on your page where you installed the event, the conversion will be sent to Facebook. :)  

| At this link, you'll find the Facebook Pixel events -> https://pt-br.facebook.com/business/help/402791146561655?id=1205376682832142

||| We don't recommend using the conversion event on the **FORM** button, to avoid duplicate events.