Posted in google
4
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 

PHP

echo $_SERVER['HTTP_REFERER'];

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
0
This Month
32
This Year
0

No Items Found.

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

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

Join me on Substack if you want me to send you a collection of the things i have done or found or read for the week. Or follow me on twitter if you prefer, i dont post much but i probably should!

❤👩‍💻🕹

Random Quote

"Olivia, my eldest daughter, caught measles when she was seven years old. As the illness took its usual course I can remember reading to her often in bed and not feeling particularly alarmed about it. Then one morning, when she was well on the road to recovery, I was sitting on her bed showing her how to fashion little animals out of coloured pipe-cleaners, and when it came to her turn to make one herself, I noticed that her fingers and her mind were not working together and she couldn’t do anything. 'Are you feeling all right?' I asked her. 'I feel all sleepy,' she said. In an hour, she was unconscious. In twelve hours she was dead. The measles had turned into a terrible thing called measles encephalitis and there was nothing the doctors could do to save her. That was...in 1962, but even now, if a child with measles happens to develop the same deadly reaction from measles as Olivia did, there would still be nothing the doctors could do to help her. On the other hand, there is today something that parents can do to make sure that this sort of tragedy does not happen to a child of theirs. They can insist that their child is immunised against measles. ...I dedicated two of my books to Olivia, the first was ‘James and the Giant Peach’. That was when she was still alive. The second was ‘The BFG’, dedicated to her memory after she had died from measles. You will see her name at the beginning of each of these books. And I know how happy she would be if only she could know that her death had helped to save a good deal of illness and death among other children."

I just checked google books for BFG, and the dedication is there. 

https://www.google.com.au/books/edition/_/quybcXrFhCIC?hl=en&gbpv=1 


Roald Dahl, 1986