> ## 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 install a Google Ads EVENT on the WHATSAPP FLOATING BUTTON

To install a **Google Ads event** on the WhatsApp floating button, you'll need to follow the tutorial below:

1. Log in to GreatPages and go to the page editor;

2. Then click the **gear icon** in the top right corner of the screen;

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

3. When you do that, a menu will open with the **"Javascript & CSS"** option. Click it;

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

4. After that, click **"Add code"**

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

5. On the screen that opens, add a name for the code, select the code type **"Marketing"** and then remove the example code and paste the code below into the text field.

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

<script>
$(document).on('click','.float',function(){
    gtag('event', 'conversion', {
'send\_to': 'AW-000000000/000000000\_00000-0000', });
});
</script>

In this code you only need to **change the lines that contain the event to be fired**, replacing them with the information from your event snippet (as in the example below):

![](https://storage.crisp.chat/users/helpdesk/website/a6ab90d8350d6000/capturarpng_rnyrx7.png)

And finally click **"Add"**! :)  

Still have questions? Reach out to our team on Chat! We're always happy to help. 😊