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
|
@ -5,9 +5,12 @@
|
|||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(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 %}
|
||||
|
|
Loading…
Reference in a new issue