Metrica

Stop automatic page indexing

Yandex.Metrica can send the URLs of pages that have a Yandex.Metrica counter installed to Yandex.Search for indexing.

If you want to stop automatically sending certain pages on your website for indexing:

  1. Go to the counter editing page by clicking .
  2. In the Counter code section, turn on the Stop automatic page indexing option.

    The ut:"noindex" property will be added to the counter code for the Ya.Metrika object, and the ut=noindex parameter will be added after //mc.yandex.ru/watch/XXXXXX in the noscript part of the code.

  3. Copy the updated counter code and place it on the website pages that you don't want sent for indexing.

Example

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
   (function (d, w, c) {
      (w[c] = w[c] || []).push(function() {
         try {
            w.yaCounterXXXXXX = new Ya.Metrika({
               id:33268985,
               clickmap:true,
               trackLinks:true,
               accurateTrackBounce:true,
               ut:"noindex"
            });
         } 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");
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/XXXXXX?ut=noindex" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->

Where XXXXXX is the Yandex.Metrica counter number.

Note. 

  • The ut:"noindex" property is ignored for the old counter code. We recommend using the new code provided on the counter editing page.
  • Enabling the ut:"noindex" property doesn't guarantee that the page won't be indexed at all, since the Yandex robot might find out about the page's existence from other sources.