improve the quality of anaytics

Improve the quality of Google Analytics as found in:
http://veithen.github.io/2015/01/05/jekyll-improving-ga-data-quality.html

Reduce and eliminate referrer spam in Google Analytics as found in:
http://veithen.github.io/2015/01/21/referrer-spam.htmlimprove the quality of analytics http://veithen.github.io/2015/01/05/jekyll-improving-ga-data-quality.html
This commit is contained in:
Clayton Errington 2015-02-23 15:36:40 -06:00
parent e29df684bd
commit 9f23e44cbe
1 changed files with 5 additions and 2 deletions

View File

@ -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: "'", "\\'" }}'
});
</script>
<!-- End Google Analytics -->
{% endif %}