Loyalty

Attention.

Access tokens will not be accepted in URL parameters starting February 13, 2019. To continue working with the Yandex.Metrica API, set up authorization by passing the token in the HTTP header.

The outdated authorization method will be temporarily disabled on January 23, January 30, and February 6 for maintenance. Authorization using URL parameters will be unavailable on these dates.

These templates allow you to generate reports on visitors returning to the site.

TemplateReportDimensionsMetrics
loyalty_newnessTime since first visitym:s:daysSinceFirstVisitIntervalym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
loyalty_periodSession frequencyym:s:userVisitsPeriodIntervalym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
loyalty_recencyTime since penultimate visitym:s:daysSincePreviousVisitIntervalym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds
loyalty_visitsTotal number of visitsym:s:userVisitsIntervalym:s:visits, ym:s:users, ym:s:bounceRate, ym:s:pageDepth, ym:s:avgVisitDurationSeconds