How to get Google search query in real time?
Is it possible to know in real time what request a visitor visited before landing on your site?
Google switched the url structure before request ( q=
) with #
instead of ?
or &
to avoid sending data to the url. Now document.referrer
there are https://www.google.com
no parameters for parsing.
Before: How does a website know the Google query that I used to find it?
My goal is to allow the website to search its own database for relevant content or tools not indexed by Google.
Google Analytics has real-time data. the limited beta API can enable session join via primary key (user_id or IP) to get its refering keyword.
source to share
No one has answered this question yet
See similar questions:
or similar: