rosa-build/app/views/layouts/_counters.html.erb

43 lines
1.5 KiB
Plaintext
Raw Normal View History

<script type="text/javascript">
 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-29164163-1']);
 _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);
 })();
2012-04-24 10:57:03 +01:00
</script>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
2015-05-28 11:02:25 +01:00
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter30597847 = new Ya.Metrika({id:30597847,
webvisor:true,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
} catch(e) { }
});
2014-05-12 22:29:57 +01:00
2015-05-28 11:02:25 +01:00
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
2014-05-12 22:29:57 +01:00
2015-05-28 11:02:25 +01:00
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
2012-04-24 10:57:03 +01:00
</script>
2015-05-28 11:02:25 +01:00
<noscript><div><img src="//mc.yandex.ru/watch/30597847" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
2012-04-24 10:57:03 +01:00
<!-- /Yandex.Metrika counter -->
2015-05-28 11:02:25 +01:00