> ## 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 insert the event SNIPPET (Conversion event) from GOOGLE ADS

The **Google ADS event SNIPPET** is used to record conversions on a page.

To install it in a way that it is triggered when a specific button is clicked, as is the case with the conversion event, follow the tutorial below:

1. Access your page editor;

2. Click on the button where you want to insert the event and then click on **"Edit"**;

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

3. In the "**Code"** tab, find the **"Button Javascript"** field and insert the code below exactly as shwn into the "Button JavaScript" field;

```
gtag('event', 'conversion', {
  'send_to': 'AW-0000000000/yuKJCLmigoMYEMSXt_wo'
});
```

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

4. The only change required is to replace `AW-0000000000` with your Google Tag ID;![](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/image_7vxamu.png)



5. Next, click  **Save** and refresh your page.

Still have questions? Reach out to our support team. We're always available to help! :-)  

||| IMPORTANT: For the Google conversion event to trigger correctly, the Google ADS Global Tag must be installed on the page. 