Reputation: 867
I open link from Google search result and on opened site in console check referrer
> console.log(document.referrer);
https://www.google.ru/
Google cut visitor's query keyword from referrer.
Both sites use HTTPS protocol
Any way to get from javascript correct visitor's search query keyword? (like early in referrer)
Upvotes: 1
Views: 1660
Reputation: 566
Since Google's move to secure search (that is, over HTTPS), the keyword is not passed with the HTTP Referrer data anymore. On Google Analytics you will see this organic traffic under the keyword (not provided)
Upvotes: 3