Let's back up a step. For those that don't know how the web works, this is a quick lesson. When you click on a link on a site, your browser connects to that new site to get the page. Part of that communication is to tell the site you are going to what site the user was on when they clicked on your URL. This is a good thing. There is never any information passed between Google and your site. Its all between your browser on your computer and the site you are asking your compter to load. It helps site owners know who is linking to them. In the case of search engines, the referring URLs often contain the search terms someone typed in to find their site. This is also helpful for lots of reasons. None of them involve a user's security.
Ok, so, Google claims they are going to remove your search terms. But, my tests show they are removing the whole referring URL. Yes, you will not know what users are coming from Google. Let me show you. This is what I did.
- I typed http://www.google.com/ into my browser
- I searched for dealnews
- I clicked on the first link, which is the dealnews.com front page.
- http://www.google.com/ with no referring URL
- http://www.google.com/#hl=en&sugexp=kjrmc&cp=5&gs_id=j&xhr=t&q=dealnews&qe=ZGVhbG4&qesig=YtB_HodN2qCOIiqwx_wetA&pkc=AFgZ2tlle01GJ99f38Ol-HvrY0sbiq4vzJfAPDSXGQ2js5QqyHGJ9-5HIgoFXbUujrU81pfyhEVO8jpmFouC09MG1fRbqd0GVA&pf=p&sclient=psy-ab&site=&source=hp&pbx=1&oq=dealn&aq=0&aqi=g4&aql=f&gs_sm=&gs_upl=&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=7b65204da701ddb7&biw=1295&bih=1406 with no referring URL because Google use javascript to load the search results.
- http://www.google.com/url?sa=t&source=web&cd=1&sqi=2&ved=0CCwQFjAA&url=http%3A%2F%2Fdealnews.com%2F&rct=j&q=dealnews&ei=EPOdTtaUN4XOiAKZlIntCQ&usg=AFQjCNEN2YJ8XgSAJm6FOUqK2PuBUOkfxA&sig2=N2jBSsJb8sgPsrTkGgFCfw&cad=rja with a referrring URL of http://www.google.com/
- http://dealnews.com/ with a referring URL of http://www.google.com/url?sa=t&source=web&cd=1&sqi=2&ved=0CCwQFjAA&url=http%3A%2F%2Fdealnews.com%2F&rct=j&q=dealnews&ei=EPOdTtaUN4XOiAKZlIntCQ&usg=AFQjCNEN2YJ8XgSAJm6FOUqK2PuBUOkfxA&sig2=N2jBSsJb8sgPsrTkGgFCfw
- https://www.google.com/ with no referring URL
- Redirected to https://encrypted.google.com/ with no referring URL
- https://encrypted.google.com/#hl=en&sugexp=kjrmc&cp=8&gs_id=f&xhr=t&q=dealnews&tok=wzChADhZTTjwPuXR1iOwSA&pf=p&sclient=psy-ab&site=&source=hp&pbx=1&oq=dealnews&aq=0&aqi=g4&aql=f&gs_sm=&gs_upl=&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=47f2f62d0e6da959&biw=1295&bih=1406 with no referring URL because Google use javascript to load the search results.
- https://encrypted.google.com/url?sa=t&source=web&cd=1&sqi=2&ved=0CCsQFjAA&url=http%3A%2F%2Fdealnews.com%2F&rct=j&q=dealnews&ei=x_edTvjlGeKviQKzmdHqCQ&usg=AFQjCNEN2YJ8XgSAJm6FOUqK2PuBUOkfxA&sig2=OEhW8Z_BhHcCboIzu_Z2zQ with a referring URL of https://encrypted.google.com/
- http://dealnews.com/ with no referring URL.
When you search from https://www.google.com, websites you visit from our organic search listings will still know that you came from Google, but won't receive information about each individual query.I ask you how the site will know that if there is no referring URL? Referring URLs are a fundamental part of the web. If Google wants to strip data off the URL, that is one thing. It is not great IMO, but whatever. But, not sending referrers at all is just wrong and should be changed.
If you care, please share this post. Tweet it, +1 it, whatever. This is just bad news for the web.
Edit: I wanted to make sure everyone knew, I observed the same behavior in both Firefox 7 and latest Google Chrome
Edit 2: I have also confirmed with the Apache access logs that no referring URL was sent.
14 comments
Forum Software Reviews Says:
Hi Brian,
From what I remember, it's part of the HTTPS rules: you are not supposed to transmit the refer(r)er using SSL, I would say for security reasons (even if everything is actually crypted...)
Brian Moon Says:
As of yesterday, I had https://encrypted.google.com/ referrers in my Apache access logs.
Craig Says:
I'm pretty sure this is the expected behavior. Perhaps the better question would be why/how you were getting it before. I'm pretty sure the http referrer is stripped at the client/browser level when coming over SSL.
http://stackoverflow.com/questions/1361705/is-http-header-referer-sent-when-going-to-a-http-page-from-a-https-page
Gerd Riesselmann Says:
It has been said above: It's part of the HTTP spec to not send referer when going from https to http as in this case. Sending referers is the job of the browser, and there's nothing Google could do about it.
So, actually no: Google is not breaking the web. Unless you think that https itself is breaking the web.
Brian Moon Says:
Ok, I learned something. I like learning something. But how do we interpret Google's claim that you will still know the link came from google?
Simon King Says:
It looks like Google is providing some of this missing data via the Webmaster tools. Not exactly the same, but it's something. More info here: http://googlewebmastercentral.blogspot.com/2011/10/accessing-search-query-data-for-your.html
Forum Software Reviews Says:
After some searches, I finally found where I read this absence of Referrer when using HTTPS: http://tools.ietf.org/html/rfc2616#section-15.1.3
Gennady Lager Says:
That Google Webmaster Tools data is very much inaccurate and useless to the point of needing to be ignored:
http://www.distilled.net/blog/seo/new-google-webmaster-tools-keyphrase-data-is-70-useless/
http://www.seroundtable.com/google-webmaster-tools-accuracy-12768.html
Suter Says:
Hmm, I can see Referrer header in request from search results page even though it's served from https page.
The header is missing in requests from encrypted.google.com.
Destrey Says:
Knowldgee wants to be free, just like these articles!
Nick the 2nd grade math tutor Says:
Google is making it more complicated to use its own search for ordinary users such as many tutors at our learning center still don't understand html and but to care about their online privacy. I think the general public even don't get aware of when these changes take place and they got replaced by some new ones.
XProCreative Says:
What I want to know is... Is Google or any other search engine for that matter able to see what sites are referring users to your site? For example: Site A links to site B... someone clicks on the link from site A and ends up on site B ... Are the search engines able to view your web logs and see that someone was referred from Site A?
Brian Moon Says:
@XProCreative well, there are at least 3 ways they can know that.
1. Google Toolbar. Anyone that has that installed communicates with Google about what sites they visit by default.
2. Google Analytics. Have you ever wondered why Google would give this away for free? Adobe's Omniture product costs lots of money. Google gives it away for free for the data it gives them
3. Google AdSense. Anyone that uses Google ads is providing data to Google on behalf of their users. So, any two sites that are linked that are using Google AdSense would give Google information about what sites users visit.
XProCreative Says:
@Brian ... Thanks for you answer, I agree with that. I've had someone people say that google can just see it somehow. I figured without analytics they wouldn't know for sure what referrers you have.
With that said, do you then think that Google uses that data to raise or lower your search ranking? I would think they would.. they have a huge piece of information right in front of them... why wouldn't they use it. Therefore, i believe Anyaltics could very well be using that data to benefit and hurt websites in google results.
Comments are disabled for this post.