如何跟踪访问我的网站的搜索引擎 [英] How to track search engine from where my website is accessed

查看:96
本文介绍了如何跟踪访问我的网站的搜索引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有可能当有人在google等搜索引擎中搜索我的网站时,我可以在网站上跟踪哪个网站用户点击了我的网站链接?

Hi everyone,
Is is possible that when someone search form my website in a search engine like google etc and i can track on website that from which website user clicked for my website link?

推荐答案

是的,您可以使用谷歌分析工具轻松跟踪事物。您需要使用谷歌分析注册您的网站,他们将为您提供一个小代码脚本,您需要在每个页面上添加。那你就完成了接下来当您登录Google anylatics时,它会向您显示包含大量过滤选项的网站报告。



祝您好运。
yeah, you can easily track things by using google analytics tool. you need to register your site with google analytics and they will provide you a small script of code which you need to add on every page. then you are done. next when you login to Google anylatics it will show you the Site report with lot of filter options.

Best of luck.


您可以尝试使用Javascript查看历史记录。





您可以使用
$ b $获取上一页网址b window.history.back



但是这只会给你上一页的链接。你无法获得关键词或浏览器或任何其他信息等其他细节
well you can try and check history using Javascript.


You can get the previous page URL using
window.history.back

however this will only give you the link of the previous page. you can not get other details like key words or browser or any other information


HttpRequest有 UrlReferrer Property [ ^ ]告诉您链接到当前网址的上一个请求网址。



我想这就是你要找的东西。
HttpRequest has a UrlReferrer Property[^] which tells you the previous request URL that linked to the current URL.

I guess this is what you are looking for.


这篇关于如何跟踪访问我的网站的搜索引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆