Update analytics snippet to use baseurl

kramdown-and-rouge
Mark Janssen 2015-12-04 16:59:46 +01:00
parent 0b7e2f516b
commit 2e2c1f1509
1 changed files with 1 additions and 1 deletions

View File

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