Options in the Statistics, SEO and Code section

Step 1 - Settings > The Advanced section > Statistics, SEO and Code >

Options in the Statistics, SEO and Code section

Previous pageReturn to chapter overviewNext page

Use the commands in this section to add custom code in specific parts of the page:

Custom Code: indicate where custom code is to be added in the page's HTML code: Before opening the HTML tag, After opening the HEAD tag, Before closing the HEAD tag, BODY tag property (ie style, onload, etc.) (that is, as part of the <BODY> tag, for example <BODY onload="alert('Hello!')">), After opening the BODY tag, Before closing the BODY tag. When you have decided where to add your custom code, type in or paste the section of code in the field.

You can use the [CURPAGE] string to write custom code: the program will automatically replace it with the name of the file that corresponds to the current page.

This is particularly useful for adding entries like those for the link rel="alternate" and link rel="canonical" tags (used to tell Google when you have different URLs for desktop and mobile versions of your website), or the link rel="alternate" hreflang="x"  tag (used to tell Google when you have localized versions of the same website).

Files linked to HTML code: you can create the list of files you need to link so that the custom code that has been added to the page works correctly. All the linked files are displayed in a summary table, which gives the filename and the Pathname on Server.

You can use the following commands to create a list of files linked to the Custom Code:

Add...: you can add a new file to the list, in the Upload linked file window.
Edit...: this opens the Upload linked file window, where you can change the settings for the file selected from the linked file table.
Remove: you can delete the selected file from the linked file table.

The custom code written in this section is not applied to one specific page, but to all the pages in the website.