Date and time of previous visit


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.

Dimension Name Relations Detailed description Description Appearance date
ym:s:previousVisitDate Date of previous visit !., !=, <, <=, =., ==, >, >=

Date of visitor's previous visit in the format YYYY-MM-DD.

ym:s:previousVisitDatePeriod<group> Date of previous session (interval) !., !=, <, <=, =., ==, >, >=

Date interval with parametrization of size of interval

ym:s:previousVisitDatePeriod<group>Name 2009-01-18