我如何计算推荐人数 [英] How can i count referrals
问题描述
你好!
用户访问我的网站时就像www.sitename.com/?fr=asd.
我正在通过"asd"将记录插入数据库.
我要向客户端发送Cookie,因为我不想再计算用户.(计算不重复用户)
但是有一个问题,我的计数器显示1000个唯一用户,而statcounter或分析人员显示100个唯一用户.
计算不重复使用者的逻辑是什么?我做错了什么?
谢谢.
ps:对不起,我的英语不好.
Framework 4.0,VS 2010,Win7
可以删除Cookie,在这种情况下,将再次对用户进行计数.您可以按IP地址来执行此操作,尽管如果用户在公司工作,那么来自同一IP地址的许多人可能会访问该网站,在这种情况下,您的数量就太少了.
>
Hi There!
Users comes to my site like www.sitename.com/?fr=asd.
I am inserting a record to the db by the ''asd''.
I''m sending a cookie to the client because of i dont want to count user once more.(counting unique users)
But there''s a problem with that, my counter shows 1000 unique user but statcounter or analystics shows 100 unique user.
what''s the logic of the counting unique users? What im doing wrong?
Thanks.
p.s: sorry for my bad english.
Framework 4.0, VS 2010, Win7
Cookies can be deleted, in which case the user will be counted again. You could do it by IP address, though if the user is working for a company, many people from the same IP address may visit the site, in which case your count would be too low.
这篇关于我如何计算推荐人数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!