Losing referrer data on http link that redirects to an https site when on an https site. Is this typical or is something else going on here?
-
I am trying to resolve a referral data issue. Our client noticed that their referrals from one of their sites to another had dropped to almost nothing from being their top referrer. The referring site SiteA which is an HTTPs site, held a link to SiteB, which is also an HTTPs site, so there should be no loss, however the link to SiteB on SiteA had the HTTP protocol. When we changed the link to the HTTPs protocol, the referrals started flowing in.
Is this typical? If the 301 redirect is properly in place for SiteB, why would we lose the referral data?
-
Thanks! That's exactly what I was looking to confirm. And thanks for the tip on HSTS, I'll look into that!
-
Referrer data is stripped when the referral is coming from HTTPS to HTTP. That's a security measure that Google has had in place for some time. Because the link is hitting the HTTP first, it is negotiating its initial connection over an unsecure channel, so the referrer is being stripped. (The incoming connection is being initiated over HTTP before it is ever able to detect and process the redirect.)
So yea, expected behavior. One way around the issue that I'm pretty sure would work is if you implement HSTS for the receiving site. That forces the initial connection over HTTPS regardless of the incoming request's protocol.
Hope that helps?
Paul
-
I mean the automatic referrer data that gets us information like what website someone was referred from/clicked from which in GA would show up under the acquisition referrals report. We are not using UTM parameters to designate this traffic. In this case I think the server and browser should be able to communicate that data without dropping it because of the redirect (I know it would get dropped if we were actually going from https to http, but because of the redirect we are going from https to https), but that's not what's happening. The data gets dropped unless we change the link (which redirects to https) from http to https. It's an easy fix obviously, but I'm interested to know why this is happening so we can advise clients on how these issues can be avoided in the future.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Link juice am i getting it or not?
We have a newspaper source that links to a domain that forwards to a page on our website. Do we get link juice from that? Go here: https://dailygazette.com/ click on "Classifieds" then "CapRegion Homes" the button goes to the website www.capregionhomes.com which forwards to our main website, a page we built for them. My question is: Because the link from this site first goes to another site that auto-forwards to us are we actually getting any link juice from the daily gazette on this or is that first site getting all the juice & we technically are getting link juice from capregionhomes.com ?
Reporting & Analytics | | Cfarcher0 -
Redirecting all URLs appended with index.htm or index.html
It has come to my attention with one of my clients (WordPress website) that for some time they have within their Landing Page report (of GA - Google Analytics) URLs that should all be pointing to the one page, example: domain.com/about-us, also has a listing in GA as domain.com/about-us/index.htm Is this some kind of indication of a subdirectory issue? Has anyone had experience with this in such wordpress plugins as Yoast SEO, or other SEO plugin? My thoughts here are to simply redirect any of these non-existent files with a redirect in .htaccess - but what I'm using isn't working. I will insert the redirect here - - and any help would be greatly appreciated. RewriteEngine onRewriteCond %{THE_REQUEST} ^./index.html?
Reporting & Analytics | | cceebar
RewriteRule ^(.)index.html?$ http://www.dupontservicecenter.com/$1 [R=301,L] and this rewrite doesn't work: RewriteEngine on
RewriteRule ^(.+).htm$ http://dupontservicecenter.com/$1.php [R,NC] _Cindy0 -
Domain Authority and Links drastically decreased in less than a month
I'm fairly new to SEO, and am left completely perplexed about why our two SEO client's links and DA decreased so drastically in so little time. Looking at their stats on Moz, between May and June, their DA's went down by 3-5 (which, they were fairly low to begin with), and external links were halved! This is rather concerning to me as building their external links has been my focus for the past few months for both of them. There are a number of tweaks that I could make to site structure in terms of meta descriptions and page title length (though I can't fix that as the clients want to keep the titles as is), however there are no critical errors. I have also placed a lot of filters on both of their Google Analytics pages as they were getting what I just now realized was a ton of spam, though I don't see how that would affect anything. I just can't imagine what lead to all of those external link suddenly dropping. I imagine the drastic drop in those lead to the DA decrease, but again, I'm very new, so I'm not certain. Any help at all would be greatly appreciated. I have been panicking quite a bit since I've seen this!
Reporting & Analytics | | everestagency0 -
Types of Links
I am not sure what the difference is between the different types of links...my competitors exceed my site in certain types, and lag behind in other types...I'm trying to figure out which are more important maybe? Followed Linking Root Domains External "Followed" Links vs External links Linking C-Blocks Just trying to understand the general differences...
Reporting & Analytics | | sdwellers0 -
Google Analytics Data
What tools can one use to audit a site to ensure that Google Analytics is capturing all the visits that we are getting? TIA Asif
Reporting & Analytics | | prsntsnh0 -
Anyone else having webmaster tools delays?
My errors just stopped updating on April 25. Everything else is updating normal, did something change/
Reporting & Analytics | | EcommerceSite0 -
Google Webmaster Tools is showing wrong data - help?
Hey all, I'm seeing some weird problems with Webmaster Tools. Specifically: We've submitted a sitemap with 174k URLs. According to the WMT dashboard, only 21 are indexed, though if you search our site via site:sitename.com blah blah, there are thousands of pages returned. Why is WMT only showing 21 indexed pages? Yet if I go to Health -> Index Status, it's showing nearly 199k URLs indexed. This seems consistent with searching Google site:sitename.com blah blah. Under "Search Queries", it's showing "no data available". Not sure why as it's linked to the proper Google Analytics account, which has keyword data. Any ideas what I'm doing wrong here? Thanks.
Reporting & Analytics | | chimptech0 -
Traffic Down for Most Referrers - not just Google
Our traffic has taken a severe hit, over the past 3 weeks - down about 60%, which I had assumed was caused by the Penguin update. However on closer inspection of our analytics, our traffic is is down by between 30 and 50% for nearly all our referrers - including Bing and other search engines, referring sites, and even direct traffic! Google provides the vast majority of our traffic, so in terms of the absolute visitor count, the drop in Google traffic has the biggest effect - by some distance. But the fact that traffic is down by similar percentages suggest that Penguin isn't the cause of our troubles at all. We sell garden products in the UK, and it's just coming into peak season. Last year, May was one of our top months, External conditions - such as the very wet weather over the past month, economic gloom and doom - don't begin to explain this sudden and dramatic drop in traffic. We are very perplexed. If anyone has any bright ideas, I'd be interested to hear them. Ben
Reporting & Analytics | | atticus70