always load analytics.js over HTTPS (#6807)

Merge pull request 6807
This commit is contained in:
Christian Oliff 2018-02-26 18:53:02 +09:00 committed by jekyllbot
parent dc8a0ee15f
commit a9a77ee7e5
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<script>
!function(j,e,k,y,l,L){j.GoogleAnalyticsObject=y,j[y]||(j[y]=function(){
(j[y].q=j[y].q||[]).push(arguments)}),j[y].l=+new Date,l=e.createElement(k),
L=e.getElementsByTagName(k)[0],l.src='//www.google-analytics.com/analytics.js',
L=e.getElementsByTagName(k)[0],l.src='https://www.google-analytics.com/analytics.js',
L.parentNode.insertBefore(l,L)}(window,document,'script','ga');
ga('create', '{{ site.google_analytics_id }}', 'jekyllrb.com');