Yandex Metrica Destination

Yandex.Metrica enables customizable report analytics so marketers can toggle between attribution models, segment and compare audiences based on custom details like OS, number of visits, and ad blocker usage. It also supports session replay, heat maps, form analytics so marketers can review user movements such as mouseclicks, form fill ins, and keystrokes. Finally, it supports custom events tracking and purchase funnels, and automates eCommerce reports to calculate metrics like cost per order and total costs.

Our Yandex.Metrica destination code is open sourced on Github. Feel free to check it out here for Javascript.

This document was last updated on January 18, 2019. If you notice any gaps, outdated information or simply want to leave some feedback to help us improve our documentation, please let us know!

Getting Started

  1. From your Segment UI’s Destinations page click on “Add Destination”.
  2. Search for “Yandex.Metrica” within the Destinations Catalog and confirm the Source you’d like to connect to.
  3. Enter your Counter ID that you can find in your Yandex.Metrica UI navigating to Settings > Tag.
  4. In about 45 minutes the CDN will be updated and Yandex.Metrica’s snippet will be initialized onto your page.

Once you’ve followed these steps you should be good to go! No additional code will be required for your Yandex.Metrica Destination to start tracking activity on your page.


Segment lets you change these destination settings via your Segment dashboard without having to touch any code.

Enable Accurate Bounce Tracking

Enables the accurate bounce rate, with a non-bounce event registered after 15000 ms (15 s).

Enable Clickmap Tracking

Enables heat mapping reports.

Counter ID

Your Counter ID

Enable Hash Tracking

Enables hash tracking, allowing correct calculation of the number of pageviews on pages that are updated without being refreshed.

Enables external link tracking.

Enable WebVisor

Lets you see playback of a customer’s actions including mouse movement, scrolling and clicks.

Adding Yandex Metrica to the integrations object

To add Yandex Metrica to the integrations JSON object (for example, to filter data from a specific source), use one of the 1 valid names for this integration:
  • Yandex Metrica

  • Questions? Need help? Contact us!
    Can we improve this doc?
    Email us:!