Analytics
2.3K members online now
2.3K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

GA and HTTPS Migration

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello All,

 

What are the changes required normally in GA when you migrate your site from HTTP to HTTPS? Should I just update the 'default URL' to include HTTPS or is there anything else? 

 

 

Thanks,

Amjath

1 Expert replyverified_user

GA and HTTPS Migration

Top Contributor
# 2
Top Contributor

Hi,

 

That's right, you only need to change to https in the GA settings. The GA tracking code will continue tracking your site.

Make sure you 301 redirect http to https and that all resources are loading from HTTPS not HTTP to avoid insecure content warnings and missing elements on the site. Let me know if you have more questions.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

GA and HTTPS Migration

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi, Google recommends adding a new profile to GSC for the https. So I presume we also need to re-associate the GA account to the new GCS profile. Does this mean all historic GSC info in GA is lost from the point of change?

GA and HTTPS Migration

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Hello Duncan,

 

Interesting question. There's actually no (GSC) historical data available within GA. All you get is the last 3 months traffic data imported from GSC under the 'search console' tab on GA. So, even in the case of losing some data, you can still get it by combining both your HTTP and HTTPS sites data from your GSC account.

 

Now coming to the original question, I believe you don't need to re-associate the new HTTPS GSC profile as long as you have the GSC verficiation file/meta tag intact on the new HTTPS site. We moved to HTTPS and noticed the profile being updated automatically on GA. But it only shows data from the day Google captured the redirect which you can even update manually by going through admin->property settings->search console. As I said, you can still get the lost data (within the last 90 days period) from the GSC instead.


Hope that helps.


Thanks,
Amjath