Skip to content

Commit da5c21a

Browse files
committed
Merge pull request #344 from praseodym/patch-1
Update analytics snippet to use baseurl
2 parents e9d91bc + 2e2c1f1 commit da5c21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/analytics.html

Lines changed: 1 addition & 1 deletion
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)