Changes between Initial Version and Version 1 of count


Ignore:
Timestamp:
10/15/2014 10:08:34 AM (12 years ago)
Author:
liaojiaohe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • count

    v1 v1  
     1由于APP里面采用cookie计算流量的方法不准确,影响到流量计数二跳率和uv的计算,在魔方里面单独做html页面计数功能,增加上设备特有的标志作为参数,这样能比较准确的统计UV 
     2 
     3== 计数路径 == 
     4  
     5count.imofan.com/count?channel=144&url=http%3A%2F%2Fwww.pconline.com.cn%2F&mac=xxxxx&openudid=xxxxx& 
     6 
     7返回1*1像素页面 
     8 
     9 
     10 
     11== log文件格式 == 
     12|时间|ip|mac|openudid| 
     13 
     14 
     15---- 
     16 
     17 
     18由于要取得设备的信息,只能通过APP原生的方法发出请求,具体做法ios和android不同 
     19 
     20== android做法 == 
     21 
     22由页面调用window.count.inc(param)这个js,调用APP的方法访问页面 
     23 
     24 
     25 
     26 
     27== ios做法 == 
     28 
     29url过滤,把原来访问count5.pconline.com.cn的请求指向魔方收集机器