Front-end functions (Javascript)

Using Javascript on a page

How to create a front-end function

Access the Developer Area and click on Front End Functions / Javascript, then +Create new javascript. Name your new script and press Create.

After the script is created, you'll be able to customize it on the console. You'll be able to call on this script on customized pages.

Calling a Javascript on a page

You can use the following format to call a Javascript on the front-end console of a customized page:

{{ Jestor.addJs("api_name_of_the_script") }}