跟踪用户来自PHP的来源? [英] Track where users come from in PHP?

查看:98
本文介绍了跟踪用户来自PHP的来源?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以找出用户来自何处?例如,我给客户一个标语和链接.客户可以将横幅广告/链接放置到任何网站,例如说到一个名为www.domain.com的网站.

Is it possible to find out where the users come from? For example, I give a client a banner, and the link. The client may put the banner/link to any website, lets say to a site called www.domain.com.

当用户单击横幅时,是否可以知道他来自(www.domain.com)的哪里?

When the user click the banner, is it possible to know where he coming from(www.domain.com)?

推荐答案

看看

Have a look at the HTTP_REFERER variable. It will tell you what site the user was on before he came to your site.

这篇关于跟踪用户来自PHP的来源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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