Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

EPi Statistics

Vote:
 

Hi

One of my clients wanted a simple logging of visitors so I turned on logging/statistics in the EPiServer manager.

I also added the code for the log generator and this adds code on all pages. There is one small problem though. On the log tab in edit mode all hits are shown but I get no data in "URL" and "Number of References".

When I looked at the HTML i noticed that referrer is empty and I guess that this is the reason for the problem. I looked at several sites incuding episerver.com and all have the same issue, see below

 Anyone with any insight in this?

//Jerry

 <script type='text/javascript'>
<!--
    var r = Math.random();
    var t = new Date();
 var URL = '%2fEPiServer+2007%2fRoot%2fEPiServer++The+Leading+.NET+CMS%2fExperience+EPiServer+CMS+5%2f%5bNext+steps%5d%2fDownload+EPiServer';
 var pageId = 13281;
    var extra = '';
    var ref = escape(document.referrer);
  
 if ( ref.length >= 100 ) ref = ref.substring( 0, 100 ) + '...';
 document.write("<img width='1' height='1' alt='' src='/Util/PixelImg.aspx" +
   "?URL=" + URL +
   "&pageId=" + pageId +
   "&referrer=" + ref +
   "&extra=" + extra +
   "&t=" + t.getTime() + ";r=" + r + "'/>");
//-->
</script>
<noscript>
 <p><img width='1' height='1' alt='' src='/Util/PixelImg.aspx?js=0&amp;URL=%2fEPiServer+2007%2fRoot%2fEPiServer++The+Leading+.NET+CMS%2fExperience+EPiServer+CMS+5%2f%5bNext+steps%5d%2fDownload+EPiServer&amp;extra=&amp;pageId=13281&amp;referrer=' /></p>

</noscript>

#19925
May 14, 2008 16:48
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.