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

The first step is to make sure Yandex Metrica supports the source type and connection mode you’ve chosen to implement. You can learn more about what dictates the connection modes we support here.

WebMobileServer
📱 Device-based
☁️ Cloud-based
  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 5-10 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.


Supported Sources and Connection Modes

WebMobileServer
📱 Device-based
☁️ Cloud-based

To learn more about about Connection Modes and what dictates which we support, see here.

Settings

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.


If you have any questions, or see anywhere we can improve our documentation, please let us know!