推荐人主持人
如何找到Referers主机?
我的问题是,我不会检查,用户是来自谷歌广告词还是有机搜索...所以我检查推荐人,但推荐人总是谷歌有机搜索...如果有人有更好的想法:)告诉它。
但我发现,这个HOst很特别!所以现在我不会检查Referes 站点的Host。
有没有办法找出引用者是“google Adwords”?
How to find out the Referers host?
My Problem is, i wont to check, is user from google adwords or organic search... so i checking refferer, but the refferer ist allways google organix search... if some one have a be´tter idea :) tell it.
But I found out, that the HOst is a speacial one! So now I wont to check for Host of the Refferes site.
Is there a way to find out the referer is "google Adwords" ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你能进一步解释一下吗?您想获取推荐人吗?只需使用
然后使用
来比较它们是否来自有机或adwords(两者的值已知)Blockquote
Can you explain further? You want to grab the referrer? Just use
and then use
to compare if they came from organic or adwords (with known values for the two)Blockquote
正如您所经历的,引荐来源数据整体而言可能不值得信任。如果您只是寻找统计数据来衡量参考来源,我是否建议使用 Google Analytics?
http://www.google.com/analytics/
如果您尝试将逻辑构建到基于引荐来源网址的 PHP 脚本...您可能很难找到完美的解决方案,但这里有一篇涉及同一主题的上一篇文章:
确定 PHP 中的 Referer
Referrer data, as you've experienced, can be untrustworthy as a whole. If you're simply looking for statistical data to measure reference sources, might I suggest using Google Analytics?
http://www.google.com/analytics/
If you're trying to build logic into your PHP script based upon referrer... you might be hard pressed to find a perfect solution but here's a previous post that deals with the same topic:
Determining Referer in PHP