Referrer

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.

DimensionNameRelationsDetailed descriptionDescriptionAppearance date
ym:s:refererReferrer!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

Referrer URL

2013-12-04
ym:s:refererProtoReferrer protocol!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=2013-12-04
ym:s:refererDomainReferrer domain!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=2013-12-04
ym:s:refererPathFullReferer path (full)!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

Part of URL of referrer, comes immediately after the domain. Unlike simple path, it also contains parameters section and fragment.

2013-12-04
ym:s:refererPathReferrer path!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

Part of the referrer URL right after the domain up to ? (parameter section), # (fragment section) or up to end of a string.

For example, for the page http://news.yandex.ru/quotes/1.html the path is /quotes/1.html, for http://news.yandex.ru/  it is /, and for http://news.yandex.ru  it is an empty string.

2013-12-04
ym:s:refererPathLevel1Referrer, level 1!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

First level URL of referrer.

For example, inhttp://ya.ru/1/2/3/4.html , the first level URL ishttp://ya.ru/.

2013-12-04
ym:s:refererPathLevel2Referrer, level 2!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

Second level URL of referrer.

For example, inhttp://ya.ru/1/2/3/4.html , the second level URL ishttp://ya.ru/1/.

2013-12-04
ym:s:refererPathLevel3Referrer, level 3!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

Third level URL of referrer.

For example, in http://ya.ru/1/2/3/4.html , the third level URL is http://ya.ru/1/2.

2013-12-04
ym:s:refererPathLevel4Referrer, level 4!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

Fourth level of URL referrer.

For example, inhttp://ya.ru/1/2/3/4.html , the fourth level URL ishttp://ya.ru/1/2/3/.

2013-12-04
ym:s:refererPathLevel5Referrer, level 5!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

Fifth level URL of referrer.

For example, in http://ya.ru/1/2/3/4.html , the fifth level URL is http://ya.ru/1/2/3/4.html.

2013-12-04