I am unable to catch the Referrer using PHP:
$_SERVER['HTTP_REFERER'];
when visitors come to mywebsite.com from an external-web-site.com via a link with target="_blank", for ex:
...
<a href="http://mywebsite.com" target="_blank">Link to My WebSite</a>
...
It always returns empty result instead of the external-web-site.com
Does it possible to correctly obtain external-web-site.com, lets say using combination of JavaScript and PHP or something else?
Thanks in advance!