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.

Dimension Name Relations Detailed description Description Appearance date
ym:s:referer Referrer !*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=

Referrer URL

2013-12-04
ym:s:refererProto Referrer protocol !*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >= 2013-12-04
ym:s:refererDomain Referrer domain !*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >= 2013-12-04
ym:s:refererPathFull Referer 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:refererPath Referrer 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:refererPathLevel1 Referrer, 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:refererPathLevel2 Referrer, 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:refererPathLevel3 Referrer, 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:refererPathLevel4 Referrer, 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:refererPathLevel5 Referrer, 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