---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.1
alternate:
  - https://yandex.com/dev/metrika/en/stat/attributes/visitssource_/external_referer.md
  - https://yandex.com/dev/metrika/ru/stat/attributes/visitssource_/external_referer.md
  - href: en/stat/attributes/visitssource_/external_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

# External referrer

#|
||**Dimension**|**Name**|**Relations**|**Detailed description**|**Description**|**Minimum date for report generation**||
||`ym:s:externalReferer`|External referrer|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|URL of the external referrer for the "Link traffic" source| |2013-12-04||
||`ym:s:externalRefererProto`|External referrer protocol|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)| | |2013-12-04||
||`ym:s:externalRefererDomain`|External referrer domain|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)| | |2013-12-04||
||`ym:s:externalRefererPathFull`|External referrer path (full)|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Part of the external referrer URL address right after the domain. Unlike a simple path, this part also contains the sections of parameters and fragment.| |2013-12-04||
||`ym:s:externalRefererPath`|External referrer path|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Part of the external referrer URL right after the domain up to `?` (parameter section), `#` (fragment section) or to the 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:externalRefererPathLevel1`|External referrer, level 1|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|First level URL of external 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:externalRefererPathLevel2`|External referrer, level 2|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Second level URL of external 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:externalRefererPathLevel3`|External referrer, level 3|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Third level URL of external 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:externalRefererPathLevel4`|External referrer, level 4|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Fourth level URL of external 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:externalRefererPathLevel5`|External referrer, level 5|[!*](*nottimes), [!.](*notin), [!=](*noteq), [!@](*notat), [!~](*notapprox), [<](*lt), [<=](*lteq), [=*](*eqtimes), [=.](*eqin), [==](*eqeq), [=@](*eqat), [=~](*eqapprox), [>](*gt), [>=](*gteq)|Fifth level URL of external 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)
