From a36257a7c7d00792cd45530740de0c5491664de5 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Thu, 27 Mar 2014 22:14:13 +0100 Subject: [PATCH] Fix GA tracking --- _includes/scripts.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/_includes/scripts.html b/_includes/scripts.html index d3a84c4..e967c84 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -10,18 +10,9 @@ })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); (function() { - var linkerOptions = {{ site.google_analytics_linker | jsonify }}; var host = window.location.host; - if (linkerOptions !== null) { - ga('create', '{{ site.google_analytics }}', host, 'auto', { - 'allowLinker': true - }); - ga('require', 'linker'); - ga('linker:autoLink', linkerOptions[host]); - } else { - ga('create', '{{ site.google_analytics }}', host); - } + ga('create', '{{ site.google_analytics }}', host); ga('send', 'pageview'); })();