Merge pull request #344 from praseodym/patch-1

Update analytics snippet to use baseurl
This commit is contained in:
Barry Clark 2015-12-06 15:00:58 -05:00
commit da5c21a55b

View file

@ -8,7 +8,7 @@
ga('create', '{{ site.google_analytics }}', 'auto'); ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview', { ga('send', 'pageview', {
'page': '{{ page.url }}', 'page': '{{ site.baseurl }}{{ page.url }}',
'title': '{{ page.title | replace: "'", "\\'" }}' 'title': '{{ page.title | replace: "'", "\\'" }}'
}); });
</script> </script>