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
-
Google Analytics View Filters
Using the same GA property, I would like to set up three filtered views: 1. Tracking across one subdomain and one primary domain (example: shop.example.com & example.com) 2. Track only primary domain (example.com) 3. Track only subdomain (shop.example.com) Can this be achieved by using view filters? If so, how do they need to be set? Also, according to this article: https://moz.com/blog/cross-domain-subdomain-tracking-in-google-analytics, with cross domain tracking, I need to ignore self-referrals, which can only be done at the property level. If set up to ignore example.com referrals, will this cause problems with filter 2 and 3?
Reporting & Analytics | | Evan340 -
Which one should I use...Google Analytics or AFS Analytics
Hi There, I am about to implement analytics for a customer site and I am wondering if I should use Google Analytics or https://www.afsanalytics.com ? I am leaning towards Google since it's pretty mainstream but I would love some feedback on the AFS ! Thanks everyone! Gary
Reporting & Analytics | | gdavey0 -
Tracking Google places (7 pack listing) traffic in google analytics
Is there a way to see Google Places traffic (traffic from users clicking through the 7 pack listings) segmented in Google analytics ? Normally is it just lumped together with the organic traffic ? Can you see the search phrases used to find your site, or do they also show up under 'not provided' when from Google Places. Im aware i can see some limited data in the Google Places analytics, but these seem to be 2 days behind when ever i view them.
Reporting & Analytics | | Sam-P0 -
Google Analytics showing discrepancy in Geo data
My site is related to UAE and the Gulf region. An year ago, Google Analytics abruptly started showing high incoming traffic from USA (Visits grew from 50k/month to 500k/month) while the overall traffic was stagnant. An year down the line, this has now been reverted back to normal nos and the overall traffic is still maintained. What could be a possible explanation for this discrepancy? Since this reversal has also now boosted traffic nos for other countries, should we rely on this data? Or is it polluted?
Reporting & Analytics | | vivekrathore0 -
How do I set a filter in Google Analytics?
I want to filter out direct traffic from the service provider msn. For some reason they are crawling our traffic and its throwing off my data. So I want to exclude direct, but only from msn. Would I set my first filter for direct then msn or vice versa? Thanks
Reporting & Analytics | | EcommerceSite0 -
Uptick in not tracked conversions / anyone have a list of things that google analytics will not track
There seems to have been an uptick in users on our site not being tracked in Google Analytics cause I see a lot more un-tracked revenue in the last 6 months then I used to. I know analytics is still working as it has been tracking a normal amount of visits but I assumed there might be a reason less would be actually showing up in analytics (mabye a change is what is being reported as organic). I know a lot of stuff goes into "not provided" such as logged in search and stuff like that but is there a list of all of the ones that go into not provided and all that just do not get tracked (javascript not enabled, iOS?). If it could be something else as well let me know. Thanks for the help!
Reporting & Analytics | | Gordian0 -
Google Analytics Not Working
I added the code before tag but still google not showing it is installed. Status: Tracking Not Installed Last checked: Mar 15, 2013 10:38:10 PM PDT Can someone check my domain - www.plugnbuy.com
Reporting & Analytics | | chandubaba0 -
Setting up Google Analytic Goals to a 3rd Party Site
I recently received help on a question I asked on SEOmoz but need additional clarification. I am trying to set up goals in Google Analytics for people who click on a “purchase botton” which sends them to PayPal. I created a Thank You page and tried to get PayPal to redirect to it, however, our customers only get to our site’s 404 page. Here is what I’ve done so far: Went into my PayPal account and turned the “Auto Return” to ‘on’ Under website payment preferences, I added the following URL http://www.teecycle.org/thank-youutm_nooverride1. (I formatted the URL this way because the person who provided me with help recommended using the format ?UTM_nooverride=1. However, our CMS system won’t allow “?” or “=”)
Reporting & Analytics | | EricVallee340