> ## 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 integrate with GOOGLE OPTIMIZE

To integrate **Google Optimize** and run A/B tests on your pages, follow the step-by-step guide below:

1. The first step is to generate the code inside **Google Optimize**.

To do this, follow this tutorial from the Google Help Center -> https://support.google.com/optimize/answer/9692472?hl=pt-BR

The code will look exactly like the format below.

```
<script src="https://www.googleoptimize.com/optimize.js?id=OPT_CONTAINER_ID"></script>
```

2. With the code in hand, access your page editor in **GreatPages**;

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

3. Click on the **gear icon** located in the top right corner of your screen;

![](https://storage.crisp.chat/users/helpdesk/website/-/a/6/a/b/a6ab90d8350d6000/ingrenagem-click_1g598sn.png)
4. Next, select the **Javascript/Css** option;

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

5. Click on **"Add code"**;

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

6. Give your code a name, classify it as Operation, and in the field below remove the sample code and enter the code generated in Google Optimize;

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

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