Note: The steps for installing Visual Visitor on dotnetnuke websites differs from website to website. The installation procedure varies, depending on how your website is built.
The best way of putting the tracking code into your website is by putting the code directly into the skin of your website. This will add the code automatically on all the DNN pages. This means that you will only have to add the code to each skin that you use and then the code will be placed in all the pages on your website. You can do this by putting the code at the end of a skin. The html code in a skin does not include the html and body tags, so all you do is paste this code at the end of the skin.
The traditional Visual Visitor code looks like this:
<script type="text/javascript">
var vv_account_id = 'abcde12345';
var vv_BaseURL = (("https:" == document.location.protocol) ? "https://frontend.id-visitors.com/FrontEndWeb/%22 : "http://frontend.id-visitors.com/FrontEndWeb/");
(function () {
var va = document.createElement('script'); va.type = 'text/javascript'; va.async = true;
va.src = vv_BaseURL + 'Scripts/liveVisitAsync.js';
var sv = document.getElementsByTagName('script')[0]; sv.parentNode.insertBefore(va, sv);
})();
</script>
Note: Whenever you update your dotnetnuke site, always remember updating the file SiteAnalytics.config as well. Otherwise, it will be updated to its default version.