Articles on: Integrations

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>


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



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


  1. Next, select the Javascript/Css option;



  1. Click on "Adicionar código";



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



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

Updated on: 08/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!