SiteApps – Tag Installation

SiteApps in partnership with Arvixe

The SiteApps Javascript tag must be installed correctly on your website in order for the application to work correctly. We’ve put together the following article to help you with the installation.

You can retrieve your site’s tag from the “tags” section of the SiteApps user interface. The javascript tag should look like this:

<script type="text/javascript">
var sa = document.createElement("script"); sa.type = "text/javascript"; sa.async = true;
sa.src = ("https:" == document.location.protocol ? "https://" + $SA.s + ".sa" : "http://" + $SA.s + ".a") + "" + $SA.s + ".js";
var t = document.getElementsByTagName("script")[0]; t.parentNode.insertBefore(sa, t);

Because many of the apps available on SiteApps could offer a better user experience if the tag is loaded in the beginning of the page, we recommend to implement it in the section of your HTML code, right before closing the tag. Some apps may use information from the webpage (such as the Head Title or Meta Description), so make sure the SiteApps tag is placed after these.
But the tag can be implemented anywhere on the site, and some may prefer to install it at the end of the HTML code, right before the tag.

If you have any problems/questions with the TAG installation, please contact Arvixe support.
More information on tag implementation can be found here.

Posted under cPanel/Linux Hosting, DotNet/Windows Hosting, SiteApps | RSS 2.0

Leave a Reply

Your email address will not be published. Required fields are marked *