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