How to track Http and Https visits in Google analytics?
How to track https visits in analytics?
More and more sites are moving towards https in the past months. Google claimed it can be used as an SEO ranking signal and privacy organizations advice it so you give your visitors more privacy.
It’s a protocol independent URL that will fetch the analytics.js file from HTTP or HTTPS based on the site’s protocol where the script is loaded. But Google Analytics offers an extra option to do the tracking in HTTPS also. Take your basic tracking code and add the forceSSL line:
ga('set', 'anonymizeIp', true);
ga('set', 'forceSSL', true);
If the site redirect/default to the https version of the domain name, then you need to change the website URL in the Property Settings page and the View page from HTTP to https and then adjust the link to webmaster search console so that it is linking to the https version in search console.
You have one site is that correct? It should redirect to https
Change the website URL in the Property Setting and View Setting page
so it is https instead of HTTP – click where it says HTTP, it’s a drop down, change it
by selecting https instead
Google has been encouraging site owners to move from HTTP to https and dangling search engine ranking boost as a perk. As a result, a lot of sites have moved. Most sites have also understandably put in place redirects to ensure users visiting the nonsecure version get redirected to the new https version of the site. So far so good.
If you are looking for a trustworthy search engine optimization company to manage your project? Morbitstech is the best solution for your business. We can help you attract the right customers, convert leads and grow your business.
February 22, 2018
February 22, 2018
February 21, 2018