How Do I Get The Query Searched On Google, When People Visits My Page?

- 1 answer

As the title states, i try to find a way to see what search words people used on google when they entered my website.


  1. a person, searches for "cheap cloth" on google
  2. my link pops-up on google
  3. my link is pressed, and he is redirected to my homepage
  4. I want to know WHAT word he used to find my website

It seems like its no longer possible with just pure code (php), since google switched to HTTPS.

But isn't their any other ways to find out? Don't google have an API, that I can use to find out stuff like that?



Register on "Google Search Console"

Once you verified your website, you can see the stats

If you already registered on Google Search Console your can see your stats in "Search Analytics"