Yandex Metrica
Яндекс Метрика
Yandex’s web analytics service shows how visitors reach a website, what they do there, and how often they complete actions such as submitting a form or placing an order.
Also known as: Метрика, Вебвизор
What Yandex Metrica measures
Yandex Metrica lets a website team connect acquisition with behavior. A marketing team can compare campaigns by the share of visits that result in a signup, not just by the traffic they bring in. A product team can break down a checkout funnel by device to see whether mobile visitors tend to drop out at a particular step.
Webvisor is Metrica’s session replay feature, not another name for the service. It reconstructs recorded visits so you can see interactions such as clicks and scrolling. A replay might show that a payment button is hard to find, but you need aggregate data to estimate how widespread the problem is.
How tracking works
The site runs a JavaScript tracking tag, called a counter, with its own ID. The tag sends page views and configured events to Metrica, which groups activity into visits. One visitor can make several visits in a reporting period, and a browser-based visitor count is not a count of distinct people: someone switching devices may be counted separately.
A goal is a rule that marks an action you want to measure. A goal might match a confirmation page view or a custom JavaScript event. Traffic-source reports show how visits were attributed, and UTM tags let you distinguish campaigns or placements that would otherwise appear under the same source.
Example: measure successful form submissions
Create a JavaScript event goal named lead_submitted. With the counter installed, call reachGoal only after the application server confirms that it accepted the submission:
ym(12345678, 'reachGoal', 'lead_submitted');
Replace 12345678 with your counter ID. If 40 of 1,000 visits reached the goal, the visit-based conversion rate is 4%. That is not necessarily 40 submissions: repeated goal completions during one visit count as multiple completions but only one converted visit.
Common mistakes and interview questions
- Tracking intent instead of success. A submit click can occur even if validation fails. Test the success and failure paths, and check that one accepted submission doesn’t trigger the event twice.
- Treating browser reports as a transaction ledger. Blockers, consent settings, and failed requests can prevent events from arriving. Use backend records to verify actual orders or submissions.
- Collecting more than you need. Keep personal information out of event parameters and URLs, and verify that sensitive inputs are excluded from session recordings before enabling Webvisor.
A common interview scenario is a conversion drop after a release. Before blaming the new design, verify that the goal still fires and compare the report against backend totals for the same period. Then break the conversion rate down by channel and device: the overall rate can fall simply because a larger share of visits came from a lower-converting segment.