Answer the question
In order to leave comments, you need to log in
What is the 100% way to determine that the user came from popular PS / directly?
What is the 100% way to determine that the user came from popular PS / directly?
Document.referrer and $_SERVER['HTTP_REFERER'] don't always return PS, do they? Or at the current moment in relation to PS, these two values always correspond to reality?
PS the question concerns all popular browsers.
Answer the question
In order to leave comments, you need to log in
HTTP_REFERER is given by the client (browser) as a request header.
And yes, it may not exist and the headers can always be changed, so there is no 100% way
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question