Head / Body
If you need to apply a metatag, a verification or monitoring script, css codes or anything else that affects the entire site, you will need to go to the Head / Body Management board that you find in Site Management (wheel icon) on the right.
From the panel you can insert JavaScript, HTML and CSS code in the Head area such as the Facebook Pixel, Google verification systems and much more.
If you want to insert a Javascript or HTML code that is replicated throughout the site, such as an advertising banner at the bottom of the page, in this case you will need to enter this code in the Body area.
1. Go to the Toolbar
2. Click on Settings
3. Click on Head / Body
4. Paste the code
5. Click Save
N.B: due to the susceptible nature of the programming codes, a script that is inserted inside the component or in the Head or Body area could compromise the correct and normal functionality of the site. We therefore always recommend that you pay close attention to the script you are going to insert, and if you have any doubts about it, it is best to contact us.
Script
If you need to insert JavaScript, HTML and CSS code within a specific section of the page where you are working, you can do so through the Script component.
This component is intended for programmers and users with experience in the IT field and is one of the exclusive features of the Professional version.
You can insert appearance customization codes, tracking scripts (like the Facebook Pixel), banner ads, external services and much more to make your site unique.
1. Click on Elements
2. Click on Utilities
3. Click on Codes
4. Drag the Script component to the workspace
5. Click on the Script component
6. Click Edit Script
7. Click on Switch widget / html
You will have access to a programming panel where you can write your code or paste one that has been provided to you, such as a Google AdSense banner ad.
Make sure you have entered all tags and variables correctly and that there are no compilation errors.
By clicking again on the eye icon, the system will execute the inserted script.
You can change the application type, between Script mode and HTML mode.
The Script mode allows you to process the code completely independent of the site, in order to avoid any interference with the components already present. This mode then generates an iframe.
HTML mode allows you to process code that intersects with everything that is p
present on the page, intervening both in the editor and in the online display of the site.
This mode is not recommended for those who are not used to programming as it could affect the code of the components present on the site, causing them to malfunction.
Good to know: the Script component operates exclusively on the page in which it was inserted, while both Head and Body affect the entire site and not a single page.