Inserting a script on every page in your site at one go - XSitePro Website Design

Home Previous  Next

icon_xsp

Brought to you by XSitePro Website Design Software

professional website design made easy      

 

 

 

To insert a script automatically into a particular place on all your Web pages click on the Global Scripts button on the Other tab.

 

button_global_scripts

 

 

The Global Scripts button provides you with a way of automatically inserting scripts into the header of all of your Web pages, immediately after the opening body tag or immediately before the closing body tag.

 

This feature is useful if you want to include such things as counters to monitor how many times pages are viewed or for ad-tracking code to monitor where your traffic is coming from and what happens to it when it arrives at your Web site.

 

window_global_scripts

 

 

Extra text to go before anything else in the file - Enter any text that you would like to include at the very start of every page on your Web site, before the header section. Just type it in here once and XSitePro will do the rest whenever you publish the site to the Internet.

 

Once you have entered the necessary text click on the button_application_ok button to save the changes.

 

 

Extra text to go in the header of each page - Enter any text that you would like to include in the header section of every page on your Web site. Just type it in here once and XSitePro will do the rest whenever you publish the site to the Internet.

 

Once you have entered the necessary text click on the button_application_ok button to save the changes.

 

 

Text to go immediately after the body tag - All Web pages have several sections and these are marked in the HTML code by tags. One of the most important tags is the body tag, which is represented in HTML by the characters <BODY>. Sometimes, scripts need to have a piece of code appear immediately after the body tag on each of the pages on your site, this is quite common with counter codes for example.

 

Enter any text in this box that you would like to be include immediately after the <BODY> text on each of your pages.

 

Once you have entered the necessary text click on the button_application_ok button to save the changes.

 

 

 

Text to go immediately before the closing body tag - Some scripts such as page counters and advertising monitors suggest that you insert the necessary code immediately before the closing body tag, i.e. prior to the </BODY> tag.

 

Enter any text in this box that you would like to be include immediately before the </BODY> text on each of your pages.

 

Once you have entered the necessary text click on the button_application_ok button to save the changes.

Home  Previous  Next