From b54806bb7db22b33f2f4b3d7747513f1e170be76 Mon Sep 17 00:00:00 2001 From: Duarte Henriques Date: Tue, 26 Nov 2013 19:16:24 +0000 Subject: [PATCH] Support Display Advertiser --- lib/analytical/modules/google.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/analytical/modules/google.rb b/lib/analytical/modules/google.rb index a36b752..e1df160 100644 --- a/lib/analytical/modules/google.rb +++ b/lib/analytical/modules/google.rb @@ -20,7 +20,7 @@ def init_javascript(location) _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();