2 Replies Latest reply on Jun 1, 2012 6:38 AM by justin_at_adobe

    Is the includion of <cq:include script="stats.jsp"/> required

    katrienj Level 1

      Hi, I'd like to understand if the inclusion of the component <cq:include script="stats.jsp"/> is required for every page. I vaguely understand it is related to page tracking. It adds the following snippet in the page:

       

      <script type="text/javascript">

          {
              window.setTimeout(function() {
                  $CQ.getScript("http://localhost:4502/libs/wcm/stats/tracker.js?path=/content/website/en");
              }, 1);
          }
         
      </script>

       

      I understand I can set the URL localhost to our public domain name, but I really prefer to just delete the component.

       

      Can someone explain to me what the above function does. Can anyone post the file "/libs/wcm/stats/tracker.js" I cannot see it in CRXDE. I am using CQ 5.5.

       

      Thanks in advance.

      Katrien