G
G
Gadzhi Kochkarev2019-03-03 23:42:38
Web development
Gadzhi Kochkarev, 2019-03-03 23:42:38

Is it possible to trace the source of the transition to the site?

Let's imagine that on the site moskva.ru at the end of the article there is a clickable link to the site rostov.com. Will the owner of the site rostov.com see where the transition was made from? If yes, how is the information transmitted to the owner of the site rostov.com? Under what circumstances will such information not be shared? Is the traffic source transmitted from private resources?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Hanneman, 2019-03-03
@kochkarev

HTTP referrer .
PS He will see if he keeps track of it in his code. Those. the header is passed (not always, of course), but something in the code must be implemented on rostov.com that will log and / or process referers. This is optional. If you need it only for statistics and analytics, then a regular counter from Yandex.Metrika can handle it. Or Google Analytics.
In the code (let's say the server part is implemented in PHP), then the referer can be processed like this:

if(isset($_SERVER['HTTP_REFERER'])) {
    echo $_SERVER['HTTP_REFERER'];
}

The Referer looks like this in the HTTP header when you click on a link on the http:// example.com page that takes you to http:// www.iana.org/domains/example :
5c7c4005b2445108985561.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question