Yandex.Metrica Destination

On this page

Destination Info
Connection Modes
Device-mode Cloud-mode
Web Web
Mobile Mobile
Server Server

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.

Getting Started

  1. From the Segment web app, click Catalog.
  2. Search for “Yandex.Metrica” in the Catalog, select it, and choose which of your sources to connect the destination to.
  3. Enter your Counter ID that you can find in your Yandex.Metrica UI navigating to Settings > Tag.

Your changes appear in the Segment CDN in about 45 minutes, and then Analytics.js starts asynchronously loading Yandex.Metrica’s snippet on your page and sending data.

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


Segment lets you change these destination settings from the Segment app without having to touch any code.

Setting Description
Enable Accurate Bounce Tracking
boolean, defaults to FALSE .

Enables the accurate bounce rate, with a non-bounce event registered after 15000 ms (15 s).
Enable Clickmap Tracking
boolean, defaults to FALSE .

Enables heat mapping reports.
Counter ID
string. Your Counter ID
Enable Hash Tracking
boolean, defaults to FALSE .

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

Enables external link tracking.
Enable WebVisor
boolean, defaults to FALSE .

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

This page was last modified: 15 Jul 2022

Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
Create free account