Sha256: 0aa80d379d4910895ea9aff31be732d9fb70be566f355e2a9b9a248730cfdcd8

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

/! Yandex.Metrika counter
javascript:
  (function (d, w, c) {
      (w[c] = w[c] || []).push(function() {
          try {
              w.yaCounter#{counter_id} = new Ya.Metrika({
                  id:#{counter_id},
                  clickmap:true,
                  trackLinks:true,
                  accurateTrackBounce:true,
                  webvisor:true,
                  trackHash:true
              });
          } catch(e) { }
      });

      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 = "https://mc.yandex.ru/metrika/watch.js";

      if (w.opera == "[object Opera]") {
          d.addEventListener("DOMContentLoaded", f, false);
      } else { f(); }
  })(document, window, "yandex_metrika_callbacks");
    
noscript
  div= image_tag "https://mc.yandex.ru/watch/#{counter_id}", style: "position:absolute; left:-9999px;", alt: ""
/! Yandex.Metrika counter

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
hancock_cms_seo-1.0.2 app/views/hancock/seo/blocks/_ym.html.slim
enjoy_cms_seo-0.4.1 app/views/blocks/_ym.html.slim
enjoy_cms_seo-0.4.0.3 app/views/blocks/_ym.html.slim
enjoy_cms_seo-0.4.0.2 app/views/blocks/_ym.html.slim