From 76de76e0cc57182ef9c0e43a666c0c8c9b399b4a Mon Sep 17 00:00:00 2001 From: Arthur Verschaeve Date: Sun, 12 Apr 2015 18:28:52 +0200 Subject: [PATCH] fix(app): use `https://` in the Analytics script Ref https://github.com/yeoman/generator-webapp/pull/530 h5bp/html5-boilerplate@eee759b https://developers.google.com/speed/libraries/?csw=1#libraries https://github.com/konklone/cdns-to-https#conclusion-cdns-should-redirect-to-https --- templates/common/app/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/common/app/index.html b/templates/common/app/index.html index 3c1c32d47..1d69c2a65 100644 --- a/templates/common/app/index.html +++ b/templates/common/app/index.html @@ -69,7 +69,7 @@ !function(A,n,g,u,l,a,r){A.GoogleAnalyticsObject=l,A[l]=A[l]||function(){ (A[l].q=A[l].q||[]).push(arguments)},A[l].l=+new Date,a=n.createElement(g), r=n.getElementsByTagName(g)[0],a.src=u,r.parentNode.insertBefore(a,r) - }(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + }(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-XXXXX-X'); ga('send', 'pageview');