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
-
Combine Facebook referrals into one
Hello, I am a bit confused about the correct setting of filter to combine All facebook referrals into one.
Reporting & Analytics | | Johnroger
After going through different versions, not sure which one is correct and will work Some versions say that Search string should be - *^.facebook.com$ and Replace string should be - facebook.com While according to other Search string should be > *.facebook
and Replace string should be - facebook Please guide which one of this is correct and will work ? Thanks0 -
How to configure multilingual site in google analytic? Currently showing in Referral Traffic why?
Hello All, Currently my Multilingual site is showing in referral traffic is it because I have not added hreflang tag on site? If yes and if I add the hreflang tag on all sites when where it will show in google analytic traffic from international sites? And what type of configuration required in analytic? Thanks!
Reporting & Analytics | | pragnesh96390 -
Does referral exclusions remove the ecommerce value from Google Analytics?
Quick question on Referral exclusions. We have a client that just rebuilt their Magento website, referral data from Paypal was never an issue, the site properly attributed to source. New web devs finished the site and all purchases through Google Analytics from PayPal Is now showing as referral traffic. Doing research on the issue the suggestion was to create a referral exclusion in GA from PayPal. My question on that, will the ecommerce value default to the previous referral or will it delete the e-commerce value completely from what is gathered?
Reporting & Analytics | | BCutrer0 -
Search console Search Analytics devices not showing mobile and tablet data since July 29th, have anyone noticed that too?
If you filter for devices in the search analytics at search console you get that from July 29th all the data is tagged as desktop and mobile and tablet have no data from that date. I see that for all my websites I have search console for, any input on that?
Reporting & Analytics | | amirbt0 -
How can we stop Google analytics pulling in data from another site?
We have a few accounts under one Google login. They all have separate Google analytics codes but one of the sites is somehow pulling in some data from another site but the other site has not got the same analytics code on it. Not sure how this is happening and what we can do about this, is it a bug in the Google Analytics system? Any help would be appreciated.
Reporting & Analytics | | dentaldesign0 -
Subdomain and relative link paths cause crawl errors
I have a Wordpress blog on our subdomain and we use relative paths on our domain. It appears as though Google bot is crawling from the subdomain categories back to the domain relative paths. This of course results in hundreds of 404 pages. Any suggestions as to how to resolve this issue without changing the relative path structure of our domain? I can provide more information if need be. While I realize these issues are not that pressing, I'd obviously like to remove as many errors as possible. If anyone has encountered this problem, especially in Wordpress I'd really like to hear your solution or lack there of. Thank you in advance.
Reporting & Analytics | | BethA0 -
Will javascript generated links affect my bounce rate?
Hi all, I run a site called Applicable Jobs (http://www.applicablejobs.com) and from analyising my analytics I notice my bounce rate is unusually high at around 85%. I'm keen to get this right down as I've read recently that a high bounce rate is a metric Google uses in determining positioning in the SERPs. I honestly don't think it's the quality of my content because I feel it's genuinely useful to my target audience but I'm wondering if the way my jobs list is generated is causing an issue. At the moment I have my jobs listings generated through javascript so I can have nice effects and use a bit of ajax but if Google crawls it, it obviously won't be able to see the listings. So I'm wondering if when a user comes to the site and they click on one of the job listings, does the Google analytics code recognise that click because that link is generated through javascript? Thanks
Reporting & Analytics | | Benji870 -
Not displaying traffic data
Hello! For my site http://systemfarmer.hu i have connected GA accout.
Reporting & Analytics | | systemfarmer
But if I try to access traffic data, it just keeps loading. Any idea? Regards, Laszlo0