Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
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?
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
I guess "notoriously unreliable" was a bit too strong :).
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.