From 4be8b276970f680ee0c2d6fd589087474bca2a78 Mon Sep 17 00:00:00 2001 From: bulzgkri Date: Mon, 15 Dec 2014 09:57:57 +0100 Subject: [PATCH] Merge remote-tracking branch 'origin/master' Invalid source URL for Google Analytics --- src/SlmGoogleAnalytics/View/Helper/Script/Gajs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SlmGoogleAnalytics/View/Helper/Script/Gajs.php b/src/SlmGoogleAnalytics/View/Helper/Script/Gajs.php index d9e4757..013669c 100644 --- a/src/SlmGoogleAnalytics/View/Helper/Script/Gajs.php +++ b/src/SlmGoogleAnalytics/View/Helper/Script/Gajs.php @@ -83,16 +83,16 @@ public function getCode() protected function getLoadScript() { $script = 'google-analytics.com/ga.js'; - $httpsOrHttp = "'https://ssl.' : 'http://www.'"; + $scheme = "'https://ssl.' : 'http://www.'"; if (true === $this->tracker->getEnableDisplayAdvertising()) { $script = 'stats.g.doubleclick.net/dc.js'; - $httpsOrHttp = "'https://' : 'http://'"; + $scheme = "'https://' : 'http://'"; } return <<