Hi there,
Quite interesting problem around document.referrer, where it is not retained and instead gets replaced with ID server domain after OIDC redirect back to the website.
We need referer header to retain the search engine URL after landing on our website, i.e. for web analytics tools to attribute traffic to correct sources.
The flow goes like this:
- User searches for our brand on Google.com
- Clicks on result link
- Gets taken to our website
- [ At this point document.referrer holds Google domain URL ]
- Immediately OIDCServiceWorker kicks user to our ID server and then ID server bounces User back to our website.
- [
document.referrer now holds our website domain, not Google URL anymore ]
Is this a known problem?
Is there some sort of possible solution or workaround?
Thanks!