Method 1: Copy the Tag to Each Page

Copy the tag to your website pages. To avoid logging hits to pages that do not load completely, and to ensure best performance, place the tag as the last script in the <head> section.

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>

        <Insert Webtrends JavaScript>

    </head>
    
    <body>

        Page Content

    </body>
</html>

And this is how it might look on the page:

</div>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    
    <title>My Mobile Site</title>
    
<!-- START OF SmartSource Data Collector TAG v10.1.0 -->
<!-- Copyright (c) 2011 Webtrends Inc.  All rights reserved. -->
<script>
window.webtrendsAsyncInit = function(){
    var dcs=new Webtrends.dcs().init({
        dcsid:"xxxxxxxxxxxxxxxxxx_xxxx",
        domain:"statse.webtrendslive.com",
        timezone:-8
        }).track();
};
(function(){
    var s=document.createElement("script"); s.async=true; 
        s.src="/js/webtrends.lite.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/dcsxxxxxxxxxxxxxxxxxx_xxxx/njs.gif?
dcsuri=/nojavascript&WT.js=No&WT.tv=10.1.0&dcssip=www.mymobilesite.com"/>
</noscript>

<!-- END OF SmartSource Data Collector TAG v10.1.0 -->

</head>

<body>

        Page Content

</body>

</html>