Skip to content

Commit 2e2c1f1

Browse files
committed
Update analytics snippet to use baseurl
1 parent 0b7e2f5 commit 2e2c1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/analytics.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
ga('create', '{{ site.google_analytics }}', 'auto');
1010
ga('send', 'pageview', {
11-
'page': '{{ page.url }}',
11+
'page': '{{ site.baseurl }}{{ page.url }}',
1212
'title': '{{ page.title | replace: "'", "\\'" }}'
1313
});
1414
</script>

0 commit comments

Comments
 (0)