Method 1: Copy the Tag to Each Page

This method for tagging your website pages involves copying the tag to each of your website pages. To minimize the impact on your site, place the tag as close as possible to the </body> tag.

Example

This is a general overview of how your Webtrends JavaScript Tag and <meta> tags should be inserted on your page:

<html>
    <head>

    <meta tag information>

    </head>
    <body>

        Page Content

        <Insert Webtrends JavaScript>

    </body>
</html>

And this is how it might look on the page:

</div>

<!-- START OF SmartSource Data Collector TAG v10.2.0 -->
<!-- Copyright (c) 2012 Webtrends Inc.  All rights reserved. -->
<script>
window.webtrendsAsyncInit=function(){
    var dcs=new Webtrends.dcs().init({
        dcsid:"dcsxxxxxxxxxxxxxxxxxxxxxx_xxxx"
        ,domain:"statse.webtrendslive.com"
        ,timezone:-8
        ,plugins:{
            //hm:{src:"//s.webtrends.com/js/webtrends.hm.js"}
        }
        }).track();
};
(function(){
 var s=document.createElement("script"); s.async=true; s.src="/scripts/webtrends.min.js";    
 var s2=document.getElementsByTagName("script")[0]; s2.parentNode.insertBefore(s,s2);
}());
</script>
<noscript>
<img 
alt="dcsimg" 
id="dcsimg" 
width="1" 
height="1" 
src="//statse.webtrendslive.com/dcsxxxxxxxxxxxxxxxxxxxxxx_xxxx/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=10.2.0&amp;dcssip=www.example.com"/>
</noscript>
<!-- END OF SmartSource Data Collector TAG v10.2.0 -->

</body>

</html>