How does switching to HTTPS effect Google Analytics?
-
We are looking at making our site HTTPS. We have been using the same Google Analytics account for years and I like having the historical data. All of our pages will be the same, we are just going to redirect from the http to https. Does anything need to be done with Google Analytics? What about other addons such as Optimizely, Crazy Egg, or Share this?
-
I'm not a netsec expert or a technical SEO expert, but I'm running SEO for my company and have been looking into this for a while now. The tips I can give you are: add rel="canonical" tags to all the http:// versions of your site pointing to the https:// version. Once you get an SSL certificate, make sure to claim all 4 variations of your URL (http://, http://www., https://, https://www.) in webmaster tools and designate which is canonical (this will just make sure the Googlebot knows which is canonical, you'll still want to add the tag to your site pages). Finally, make sure that if you do decide to switch to HTTPS:// (which I highly recommend - some people, myself included, now instinctively use https:// over http:// and if someone points a link at https:// when you aren't using it, Chrome will display a yellow warning interstitial and a red X over the https:// in the address bar), get an SHA-2 certificate, rather than SHA-1, as Google is sunsetting it in the next year. To the comment on page load speed - Https:// slows page load down, but generally not by a substantial amount (also, there are plenty of other ways to address page load time that can offset the hit, and if you've already done all that, the page load hit won't hurt you, since you're in better shape than everyone else). Also, while Google's incorporation of https:// as a signal so far has not seemed to impact results much, it's a near certainty that, based on Google's current behavior, it will become less of a signal and more of a necessity, and as more websites adopt it, the less the slight page load hit will matter. Websites are essentially required to adopt it sometime in their lifecycle, as growth makes security much more of a concern.
Further reading on SHA-1 and SHA-2:
https://konklone.com/post/why-google-is-hurrying-the-web-to-kill-sha-1
http://googleonlinesecurity.blogspot.com/2014/09/gradually-sunsetting-sha-1.html
-
We know that:
- Site Speed is a Google ranking signal
- https is now a ranking signal also
2a) https slows down a site - Is it worth going https?
-
Yeah Microsoft, for some reason, likes to make things a little more complex than it needs to be. Here are a couple of links I found that might help:
http://www.iis.net/configreference/system.webserver/httpredirect
http://forums.iis.net/t/1190228.aspx?Specific+url+301+redirection
-
We are using an IIS 7.5 server so I am looking into the best way to do 301 redirects in that. Seems like it would be much easier on a Linux based system.
-
Pay particular attention to load speed. HTTPS encrypts everything and sends it to the client browser where it is then decrypted. If certain pages are loading much slower or if you are using the same images/resources on multiple pages you will want to look at caching various resources.
As Highland mentioned, you'll want to make sure the code is using relative URLs and not hard coded "http" URLs because that will not only impact load time but it may give the visitor an undesirable experience if the site is all messed up. If you are on linux make sure that your .htaccess file does a 301 from http requests to https for obvious reasons.
I hope that helps!
-
I am using HTTP Watch right now and that seems to give a pretty good list of all my HTTP requests. Any other things to look for? I have been researching as much as I can find and want to make sure I get this all right on the first run.
-
The main thing you'll want to make sure is that all your JavaScript libraries and images are loading from HTTPS and not HTTP. If you don't, the browser may not load those resources or may show your site as not secured. The default Analytics code will do this for you, but make sure your other libraries are doing so. A great tool for finding any you've missed is Firebug, a Firefox addon. You open it up, load your website and on the Net tab you can see the URL of every resource loaded and even break them down by type (image, JS, etc).
Analytics itself is not affected by HTTPS. Your metrics will continue to load just fine.
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
-
Query on google analytic benchmarking report
Hi All, First I select My Industry Vertical - ABCD then I select Region - US ( all region) then size by daily session - 10000-99999 finally reports appears "Blank" but when I decrease daily session from 10000-99999 to 1000-4999 or less then report is perfect. So what does it mean? My Avg daily session is 70k to 80k. So how to analysis benchmarking in this case? Thanks!
Reporting & Analytics | | pragnesh96390 -
Google Analytics Tutorials
Hi, I'm trying to beef up my knowledge of google analytics. Can you pelase tell me where I can find some good Google analytics tutorials?
Reporting & Analytics | | corn20150 -
Universal Google analytics e-commerce tracking code?
Hi Mozzers, I have never setup a universal google analytics e-commerce tracking code before and my concern is what exactly do I need to add on the cart thank you page? Can someone send me a sample of code I need to be adding? What kind of customization does it require? The more details you can provide the better! Thanks!
Reporting & Analytics | | Ideas-Money-Art0 -
Is there a way to apply the same google analytics filter to multiple properties?
I manage WordPress multiple sites for my clients. Some of these clients are SEO customers. One issue I have with the analytics reports is the occurrence of spam and ghost spam. I know how to create filters to block however there are always more and more. Is there away to export the filter and import it to all the other properties i manage? Or do they just have to be done manually every time i need to block spam?
Reporting & Analytics | | donsilvernail1 -
Mobile Text message about Intelligence Alerts (Google Analytics)
Mobile text message service for Custom Alerts that set up under Analytics Intelligence is available in all countries worldwide? Is it True or False? Can you please explain me..i am confuse about this answer.
Reporting & Analytics | | CommercePundit0 -
Google Analytics Content Experiments
Has anyone else found that Google Analytics Content Experiments seems to quite quickly favor the best performing variant in an experiment, and then show that variant many times more often than other/s - not split the traffic evenly? What is Google's thinking behind 'optimizing' during an experiment? It seems odd to me.
Reporting & Analytics | | David_ODonnell0 -
Comparing % Change, Google Analytics
Hey Mozzers, Is there a simple way to compare the "% Change" in traffic when comparing two separate time periods in a single Google Analytics report? When comparing data from two separate time periods, an exported CSV doesn't include the % Change (booo!), and there's no option to sort by % Change within the GA report, essentially forcing you to scroll through all the results to pinpoint the major movers and shakers. I'm not averse to using spreadsheets to sort this data, but I'm thinking that I'd likely need a macro to make this work, something like this. However, none of the macros on that page are working (possibly because they were designed for a previous version of Analytics). All suggestions are appreciated. Thanks!
Reporting & Analytics | | dangaul0 -
Weird info from google analytics?
Hi Could anyone explain what these visits are in Google Analytics? Under traffic sources and organic I am seeing lots of entries with data like below. Any ideas what kind of traffic this is? Is it a bot and if so what is their purpose of it and is it recommended that you block it? Pages/Visit 1.00 Avg. Time on Site 00:00:00 % New Visits : 100% Bounce Rate: 100.00% Many Thanks
Reporting & Analytics | | ocelot0