Articles on: Page Editor

How to access the JAVASCRIPT field of a BUTTON

The "Javascript do Botão" function is a field used exclusively to add codes that will only be triggered when this button is clicked.


An example of a function generally installed in the button's Javascript field are the conversion tags from Google Ads or Facebook Ads.


To access this function, follow the step by step below:


  1. Access the page editor in GreatPages;



  1. Click the button element and click on "Editar";



  1. Inside the *"Código" tab you will find the "Javascript do botão" field.



If your page freezes while loading after you insert a code in this field, contact our support team, as it is very likely that the code inserted is wrong, or that it should not be inserted in this field exactly!


We hope this helped! If you have any questions, reach out to our support team. We're always happy to help!

Updated on: 08/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!