1
0
Fork 0

Google Analytics + Updated about.md

This commit is contained in:
Daniel Kempkens 2014-03-23 21:51:06 +01:00
parent bf3b61e91f
commit 39aa668fdd
3 changed files with 13 additions and 13 deletions

View file

@ -26,7 +26,8 @@ owner:
background:
# Analytics and webmaster tools stuff goes here
google_analytics:
google_analytics: UA-28082386-3
google_analytics_site: blog.kempkens.io
google_verify:
# https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here
bing_verify:

View file

@ -4,18 +4,13 @@
{% if site.google_analytics %}
<!-- Asynchronous Google Analytics snippet -->
<script>
var _gaq = _gaq || [];
var pluginUrl =
'//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
_gaq.push(['_setAccount', '{{ site.google_analytics }}']);
_gaq.push(['_trackPageview']);
(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');
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
ga('create', '{{ site.google_analytics }}', '{{ site.google_analytics_site }}');
ga('send', 'pageview');
</script>
{% endif %}
{% if page.comments %}{% include disqus_comments.html %}{% endif %}
{% if page.comments %}{% include disqus_comments.html %}{% endif %}

View file

@ -16,3 +16,7 @@ image:
Daniel Kempkens
Kugelsberger Weg 6
41849 Wassenberg
## Domains
* blog.kempkens.io