Add analytics
This commit is contained in:
parent
c48ae93998
commit
c0ed065400
|
@ -86,3 +86,13 @@
|
||||||
%span ariejan.net © 1999 - #{Time.now.year} Ariejan de Vroom
|
%span ariejan.net © 1999 - #{Time.now.year} Ariejan de Vroom
|
||||||
/ __________________________________________________ Finish Footer
|
/ __________________________________________________ Finish Footer
|
||||||
%script{:src => "/js/plugins.js", :type => "text/javascript"}
|
%script{:src => "/js/plugins.js", :type => "text/javascript"}
|
||||||
|
:javascript
|
||||||
|
var _gaq = _gaq || [];
|
||||||
|
_gaq.push(['_setAccount', 'UA-60089-16']);
|
||||||
|
_gaq.push(['_trackPageview']);
|
||||||
|
|
||||||
|
(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);
|
||||||
|
})();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user