Commit 22e0d48f authored by Capi Etheriel's avatar Capi Etheriel

[layout] add google analytics

parent d4a4619e
Pipeline #5822181 passed with stage
in 3 minutes and 11 seconds
......@@ -25,8 +25,8 @@ github: barraponto
# Google Analytics (you may want to changes these with yours or even delete :)
# ga_domain: m3xm.github.io
# ga_tracking_id: UA-47727049-1
ga_domain: barraponto.blog.br
ga_tracking_id: UA-90326540-1
# Other (refer to http://jekyllrb.com/docs/home/ for further details on the below)
markdown: kramdown
......
......@@ -82,8 +82,7 @@
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(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');
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.ga_tracking_id }}', '{{ site.ga_domain }}');
ga('send', 'pageview');
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment