Referrers keyword


Hello! I need to verify the URL of the website that the user was referred from when arriving on our Squiz Matrix Internal Intranet site.

For some reason the following Referrers keywords %globals_site_referrer% and %globals_page_referrer% just aren’t working for me. I only get our local site URL printed as a result.

Any site config anomoly that could cuase this, or am I missing something here (most likely :smile:).

Appreciate any support or wisdom.

Matrix Version:

(TT) #2


What do you mean by local site URL?

Have you tried seeing what document.referrer shows in the console? is it showing the url you expect? Does your intranet have a login screen before it allows you access it? maybe it’s picking up that part instead of the url before that.



Thanks and good call Tim, I should have tried that earlier: document.referer from console returned empty results (Not same site/local URL as I had assumed).

I guess these are expected results from those keywords as per the below circumstances when document.referer is empty, hence not working in my instance:

  • switched from a https URL to a http URL.
  • switched from a https URL to a different https URL.
  • has security software installed (antivirus/firewall/etc) which strips the referrer from all requests.
  • is behind a proxy which strips the referrer from all requests.