homepage Welcome to WebmasterWorld Guest from 184.72.82.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
how statcounter script works
abhishekkaushik




msg:3960054
 6:02 am on Jul 27, 2009 (gmt 0)

Hi,

I was wondering how popular statcounter script captures the referral links, i mean in target page we have Statcounter Javascript loaded and once the referral page is vanishes target page opens up and Statcounter script is executed in this situation how it remember this previous page

 

cgrantski




msg:3960241
 1:12 pm on Jul 27, 2009 (gmt 0)

It's the programming in the browser itself. Most browsers are programmed to keep the previous file's (page's) address, in most circumstances. However there are many exceptions when the previous page is NOT kept by the browser when it requests a new file. Do a search on "direct traffic empty referrer" or something like that to get a lot of information about this. For info on standards about how browsers are supposed to act, see a site like W3C's.

Statcounter itself doesn't have much intelligence.

unilytics




msg:3960448
 6:01 pm on Jul 27, 2009 (gmt 0)

"Statcounter itself doesn't have much intelligence." Agreed, it's low on the list of free providers.

The javascript used to get the referring page is simply:

document.referrer

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved