Update analytics snippet to use baseurl
parent
0b7e2f516b
commit
2e2c1f1509
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue