homepage Welcome to WebmasterWorld Guest from 54.227.67.175
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Google / Google News Archive
Forum Library, Charter, Moderator: open

Google News Archive Forum

    
How can I tell if vistor comes from Google or from off my site?
carlos123




msg:68535
 7:38 pm on Dec 28, 2002 (gmt 0)

Hi everyone,

For any given page on my site...

Given that a link to the page in the Google index can appear in the form: [somedomain.com...] (fictional) and given that a link from inside my web pages to the same page can also appear the same way....

Is there some way for me to tell when a visitor comes to a given page on my site from clicking on a Google search verses by clicking on one of the internal links on my site?

Without relying on the HTTP_REFERER variable which is notoriously unrealiable and not always set by all browsers? For example I have Opera set to never give out referrer info.

As far as my site is concerned a URL request from Google looks the same as a URL request initiated by clicking on one of the links on my site pages.

Does anyone know of a technique to differentiate them reliably?

Thanks.

Carlos

 

jomaxx




msg:68536
 11:24 pm on Dec 28, 2002 (gmt 0)

The referer field is not 100% accurate, but I wouldn't exactly call it "notoriously unreliable". If you throw out the effect of web robots, which don't usually populate this field, I'd say it's about 90-95% accurate, which is higher than any other method you're likely to come up with.

GeorgeGG




msg:68537
 12:16 am on Dec 29, 2002 (gmt 0)

Any visit from Google to my pages by way of a search, has "google and /search",
from groups has "groups." in the server "HTTP_REFERER" or "document.referrer"
if JavaScript is enabled and the referrer is set....

Sometimes you can get both, sometimes one of them and none a lot of times....

I agree with jomaxx and also wouldn't call it "notoriously unreliable".

BTW even if you set Opera 'NOT' to give out the referrer info you also need to disable
JavaScript, at least my copy of Opera 6.01 still gives out the JavaScript "document.referrer"

GeorgeGG

carlos123




msg:68538
 5:30 am on Dec 29, 2002 (gmt 0)

Thanks to you both for restoring some of my confidence in the HTTP_REFERER variable (though not much :)).

I guess "notoriously unreliable" was a bit too strong :).

Normally I develop and do most testing of my site pages using Opera and since I have both referrer logging AND Javascript routinely turned off I have tended to code with a view of not having the HTTP_REFERER variable available to me.

In this case I may have to settle for 90-95% certainty and rely on the HTTP_REFERRER variable to tell me whether a URL request is coming through Google or from inside my site. I'm not sure that this 90-95% is accurate in my case though. Over time it has seemed that the referer value has been set more like 75-80% of the time. But that may not be typical of most Internet surfers. My traffic tends to be more technolically savy and to have the setting of this variable off.

Though now that you mention it, it does seem to almost always be set by Google. Which makes it useful for detecting Google accesses.

Thanks again.

Carlos

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google News Archive
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