Merge pull request #344 from praseodym/patch-1
Update analytics snippet to use baseurl
This commit is contained in:
commit
da5c21a55b
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue