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:
parent
e29df684bd
commit
9f23e44cbe
|
@ -7,7 +7,10 @@
|
||||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', '{{ site.google_analytics }}', 'auto');
|
ga('create', '{{ site.google_analytics }}', 'auto');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview', {
|
||||||
|
'page': '{{ page.url }}',
|
||||||
|
'title': '{{ page.title | replace: "'", "\\'" }}'
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
<!-- End Google Analytics -->
|
<!-- End Google Analytics -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue