Posted in google
1:04 am, August 26, 2021

does google still post back the search term with the link click

i remember a while back when you could actually see what search result words were being used to link back to your pages using the data sent back from the google click. 

now when i test this i cant actually see the search results being sent back, so maybe they are being posted back with the link click. 

how can i test this

first i think find a search result that has a url in it that i can test. 

we can see that the link here is just the raw url, so lets dump the $_POST variable on this and see if anything hidden is being sent back.

adding the post back dump, to see if anything is sent back on that post, this will show all items sent back by the server with the click, im not sure if they post back or just link. 

so from the test it seems they dont send anything back, but this is running from another iframe of the code, so maybe the post data is not passed onto the iframe.

so to test i will add the var dump on post to all pages and see if anything comes up

nope even on the main view page it returns no data, so i guess you can no longer see what keywords were searched for when getting incoming requests from google using this method anyway.

actually i just had another idea to check, which is what was the referring url, and then that might have the keywords. lets extract the referring link. 

ok so i think we can use this

test this 



so that does give something, but not the search text, looks like they have thought of that as well. they must clear their referrer headers before forwarding the traffic.

so all we can collect from this is the refurring url's rather than the actual search term, i might create a quick database for this and see what overall url's are coming in even though it might just end up being spam. I guess you could still create a tool that had general incoming referring url's for your pages from this data. 

View Statistics
This Week
This Month
This Year

No Items Found.

Add Comment
Type in a Nick Name here
Search Articles
Search Articles by entering your search text above.

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕


Subscribe to weekly update emails.
Random Quote

'Dawnie' used to say, "It's really quite simple: Be kind, and the rest takes care of itself. Never do anything that's not kind".

Dawn Atherton
Random CSS Property


The border-block-end-color CSS property defines the color of the logical block-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
border-block-end-color css reference