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
-
Is the meta referrer tag still used
Is the meta meta referrer tag still used and is it affective. I have an issue with traffic going from one of my sites to a client site and our referral is going into their direct traffic (in Googel Analytics) instead of being seen as a referral from our site. I saw that people were using the meta referral tag, but I can't find any MOZ info about it other than a blog article from 2015.
Reporting & Analytics | | dpsoftware1 -
Referrals - How is it possible I have 5 new users and 100 sessions over a 2 week period?
I have a referral from an email (2), android search(1) and another website(2) but my sessions is 100 over a two week period? I have NO returning visitors (still session data though?) Seems unlikely that just these 5 users have generated 100 sessions!! Any ideas?
Reporting & Analytics | | darrenbooy0 -
UA Codes on Multiple Sites
Someone came in and set up Google Analytics code on one of our clients' sites before we got there and it is showing data from an outside website that the code is also on. Does anyone know the best way to find out what that other site is so we can remove this code from both sites? Thanks as always MOZ friends!
Reporting & Analytics | | ReunionMarketing0 -
How do I find links on my site
I'm looking to find a certain type of link on my site. A link that we're directing out of the site. We have a lot of subdomains though and I was wondering if there was a way to find all the links on each subdomain without screaming frog them all?
Reporting & Analytics | | mattdinbrooklyn0 -
Google Analytics Page Metrics and Redirects
Hi All- Context: A site has been redesigned. Pages were renamed in the process. Problem: It's very hard to compare before and after metrics because the page URLs are not the same. Question: Anyone know how to do this in Google Analytics? I'm hoping there's some simple trick I just don't know about. D
Reporting & Analytics | | DonnaDuncan0 -
Links From Public Info
Hi guys, I'm conducting a link analysis for one of my websites and I have found a few potentially damaging links. However, there are some people who I have contacted about removing links who have said that they will not remove my link because they are using data that is publicly available. Is there anything I can do to get those links removed rather than diavow? Thanks.
Reporting & Analytics | | AAttias0 -
Is there a problem with using same gmail account for multiple site analytics and GWMT?
Hi, Is there a problem or a general recommendation about using the same gmail account for two different sites (both in Google Analytics and Webmaster tools)? Thanks
Reporting & Analytics | | BeytzNet0 -
Free Online XMl Site Map Creators up sites over 1000 pages
Does anybody know of a XML site map creator that is free for websites over 1000 pages?
Reporting & Analytics | | AppleCapitalGroup0