diff --git a/_includes/analytics.html b/_includes/analytics.html index e70d8bf..c5a3bd0 100644 --- a/_includes/analytics.html +++ b/_includes/analytics.html @@ -7,7 +7,10 @@ })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '{{ site.google_analytics }}', 'auto'); - ga('send', 'pageview'); + ga('send', 'pageview', { + 'page': '{{ page.url }}', + 'title': '{{ page.title | replace: "'", "\\'" }}' + }); {% endif %}