1.0.0 • Published 7 years ago

xy-log v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

mvt

项目目标

  • 收集页面真实用户性能信息,提供两秒率分析
  • 支持mvt渠道的统计,cvr,shopper,visit(4小时),pv,uv,事件,order(maybe),通过率(maybe)

  • 浏览器和系统维度

client脚本使用

  • 网站使用 修改 vt=4
  • H5使用 保留 vt=2

使用方法

tjClient.setData({a:1});//web参数

server部署

svn

http://svn.elong.cn/svn/Code/onlineweb/MobileH5/Trunk/mvtlog

打包

http://hudson.corp.elong.com:8080/job/mvttj/

上线

http://vela.corp.elong.com/vela/module/897

数据模型

参数哪端提供说明类型描述
dt硬件设备端number用户的设备分类
1—Iphone
2—Ipad
3—Android
5—Winphone
affiliate - 第三方平台,联盟设备无法获取6—Affiliate
7—PC
8—androidpad
9—windowspad
99—Unkown
at"激活id,h5-cookieid
app-deviceid"
md品牌,eg:华为/三星...string机型,如果有
os系统版本string系统版本
ct页面容器(浏览器or微信or第三方app...)string容器类型
nt网络类型number网络类型(可选)
0—unknown
1-ethernet
2-wifi
3-2g
4-3g
5-4g
tsp运营商string"运营商 日志收集时不用传"
cip用户ipstring用户ip
vt"业务分类 (网站/h5/app/联盟…)"number该设备的分类来源
"问题: 1. 跨端的串联"1—App
2—Html5
3—Affiliate
4—PC
99—Unkown
v"系统当前线上版本 eg:hotel1.1"string系统当前线上版本
lg语言类型number语言 http://www.rzfanyi.com/ArticleShow.asp?ArtID=969
ch提供统一标准,eg:酒店-hotel/机票/myelong...string频道名(小写)
pt页面名称string"页面名(小写) app已有一套,参考统一使用 参考http://svn.elong.cn/svn/Code/onlineweb/Web_Hotel/Trunk/src/Com.Elong.Files/Config/Web/NoEnv/Hotel/ChannelPageConfig.config 框架定义页面的meta配置,统一维护"
rf页面来源(上一跳)string页面来源
id日志pkstringguid
pid上一跳日志idstring跨端上一跳日志id
oforderfrom-用户来源,eg:大众点评/投放/baidu...stringorderfrom值,用于统计
chidchnnelID多个chid对应一个orderfromstringorderfrom细分二级分类
bsstring设备分辨率
sid后from cookie"shopper 当前cvr = 订单/shopper,cvr需要统一,shopper需要统一"stringsessionid of elong
cid后from cookieuvstringcookieid of elong
stweb服务器接收访问时间,打给stjtimestamp开始时间戳(connectStart)
fst首屏时间(执行到tj代码前的时间)timestamp执行到tj代码前的时间
drt端渲染完成时间timestampdomready时间(domContentLoadedEventEnd)
olt端加载完成时间(包括img)timestamponload时间(loadEventEnd)
kt待定页面停留时间(选)timestamp停留时间
opens前(APP)打开方式(后台/唤起...)number
mvtNmvtnumber1,2,3...(可选)