Is it possible to find out in real time what query a visitor searched before landing on your site?

Google将URL结构切换为查询( q= )之前的 # 而不是 ?& ,以避免在URL中发送数据 . 现在 document.referrerhttps://www.google.com ,没有要解析的参数 .

之前:How does a website know the Google query I used to find it?

我的目标是让网站搜索自己的数据库,查找未经Google索引的相关内容或工具 .

Google Analytics具有实时数据 . limited beta API可以通过主键(user_id或IP)加入会话以获取其引用关键字 .