Yandex.Metrica Destination

On this page

Yandex Metrica quick info

Yandex Metrica accepts Page, Alias, Group, Identify, and Track calls. If you reference it in the Integrations object, call it “Yandex Metrica”.

Yandex Metrica accepts device-mode data only from Analytics.js.

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, let us know!

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: 20 Oct 2020

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