Skip to the content.

Monitoring Website Visitors with Yandex Metrica

What is Yandex Metrica?

Yandex Metrica is a free web analytics tool used to track and analyze the visitor traffic on your website. It provides various data and reports to understand user behavior, evaluate site performance, and improve visitor experience.

Setting Up Yandex Metrica

  1. Create a Yandex Metrica Account:
    • Go to Yandex Metrica.
    • Create an account or log in with your existing Yandex account.
  2. Create a Counter:
    • Click the “Add Counter” button on the Yandex Metrica dashboard.
    • Enter your website details and configure the necessary settings.
    • Copy the counter code.
  3. Add Counter Code to Your Website:
    • Add the following code to your HTML file within the <head> tag:
     <script type="text/javascript" >
         (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
         m[i].l=1*new Date();
         k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
         (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
    
         ym(YOUR_COUNTER_ID, "init", {
             clickmap:true,
             trackLinks:true,
             accurateTrackBounce:true,
             webvisor:true
         });
     </script>
     <noscript><div><img src="https://mc.yandex.ru/watch/YOUR_COUNTER_ID" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
    
    • Replace YOUR_COUNTER_ID with your actual counter ID.

Tracking Visitors with Yandex Metrica

Dashboard and Reports

Webvisor and Clickmap

Advanced Features

Conclusion

Yandex Metrica is a powerful tool for analyzing your website’s performance and visitor behavior. With proper setup and regular analysis, you can improve the visitor experience and increase the success of your site.