From 2cf5b9710a528c9227058912ace26c5f41088b45 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Thu, 7 Apr 2016 15:15:26 +0100 Subject: [PATCH] Serve analytics over https --- resources/views/partials/analytics.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/partials/analytics.blade.php b/resources/views/partials/analytics.blade.php index 6d400bdd..f68c74a0 100644 --- a/resources/views/partials/analytics.blade.php +++ b/resources/views/partials/analytics.blade.php @@ -3,7 +3,7 @@ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', '{{ $app_analytics }}', '{{ $_SERVER['SERVER_NAME'] or '' }}'); ga('send', 'pageview'); @@ -12,7 +12,7 @@ - + @endif