http referer not capturing the query string from search engines

Sunday 23rd July 2023



I recently created a small project to capture the URL of sites that have referred to my own website. Interestingly it seems that search engines have suppressed the query string part of the URL.

e.g. for the URL

I would expect to be able to capture this in its entirety using PHP's


What is actually sent from the search engines is just the root domain. e.g. Frustrating but then I suppose they have their own analytic tools.