Skip to content

Commit

Permalink
Merge pull request barryclark#344 from praseodym/patch-1
Browse files Browse the repository at this point in the history
Update analytics snippet to use baseurl
  • Loading branch information
barryclark committed Dec 6, 2015
2 parents e9d91bc + 2e2c1f1 commit da5c21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit da5c21a

Please sign in to comment.