---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.1
alternate:
  - https://yandex.com/dev/metrika/en/stat/attributes/visitssource_/referer.md
  - https://yandex.com/dev/metrika/ru/stat/attributes/visitssource_/referer.md
  - href: en/stat/attributes/visitssource_/referer.md
    type: text/markdown
    title: Markdown version
  - href: ../../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/metrika/en/llms.txt

# Referrer

#|
||**Dimension**|**Name**|**Relations**|**Detailed description**|**Description**|**Minimum date for report generation**||
||`ym:s:referer`|Referrer|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Referrer URL| |2013-12-04||
||`ym:s:refererProto`|Referrer protocol|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)| | |2013-12-04||
||`ym:s:refererDomain`|Referrer domain|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)| | |2013-12-04||
||`ym:s:refererPathFull`|Referer path (full)|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|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|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|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/`&#160; it is `/`, and for `http://news.yandex.ru`&#160; it is an empty string.| |2013-12-04||
||`ym:s:refererPathLevel1`|Referrer, level 1|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|First level URL of referrer. For example, in`http://ya.ru/1/2/3/4.html` , the first level URL is`http://ya.ru/`.| |2013-12-04||
||`ym:s:refererPathLevel2`|Referrer, level 2|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Second level URL of referrer. For example, in`http://ya.ru/1/2/3/4.html` , the second level URL is`http://ya.ru/1/`.| |2013-12-04||
||`ym:s:refererPathLevel3`|Referrer, level 3|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|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|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Fourth level of URL referrer. For example, in`http://ya.ru/1/2/3/4.html` , the fourth level URL is`http://ya.ru/1/2/3/`.| |2013-12-04||
||`ym:s:refererPathLevel5`|Referrer, level 5|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|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||
|#

[*eqapprox]: Matches the regular expression

[*eqat]: Is a substring

[*eqeq]: Equal

[*eqin]: Found among the values. You can specify up to 100 values per request.

[*eqtimes]: Equals (supports wildcard * search)

[*gt]: More

[*gteq]: Greater than or equal

[*lt]: Less

[*lteq]: Less than or equal

[*notapprox]: Not a regular expression

[*notat]: Not a substring

[*noteq]: Not equal

[*notin]: Not found among the values

[*nottimes]: Does not equal (supports wildcard * search)
