# 公有属性
# 一、事件相关
# 1、event_name
type: String
事件名称,唯一。
# 2、event_code
type: String
事件code,唯一。
# 3、event_trigger_mode
type: String
类型:枚举
枚举值如下:
open:一般落地页、详情页的打开方式
click:大部分超链接点击、按钮等触发方式
slide:一般为懒加载页面在屏幕滑动时触发,上下左右滑动均可
callback:回调接口触发
server:服务端接口返回
dialog:打开弹窗
jump: 前往页面
play:点击播放
# 4、event_elements
type: Array
示例:[ "******" ]
# 5、event_paramters
type: Object
示例:[{name: 'goods_id', value: 12345}]
# 6、event_label
type: String
事件标签
# 二、应用相关
# 1、platform_app
type: String
平台APP的名称,如导购、裂变宝、会员中心等等。
对于前端而言,就是某个仓库的名字
# 2、platform_app_code
type: String
平台APP的名称对应的code,必须为唯一值,代表的某个仓库的唯一定义。是一个平台生成的唯一字符串。
# 3、platform_app_version
type: String
app的版本,例如:1.0.0
# 4、platform_business
type: String
访问的业务平台:淘宝、京东、有赞、抖音等等。
类型:枚举
TB,淘宝
JD,京东
TM,天猫
WX,微信
Jzone,京微通
BD,百度
DY,抖音
YZ,有赞
# 5、application_dep_platform
type: String
应用部署平台
类型:枚举
客户运营平台-阿里版
客户运营平台-京东版
客户运营平台-京东云版
Enbrands
智客
抖音
苏宁
有赞
京微通
# 6、platform_system(应用类型)
type: String
IOS
Android
PC
H5
小程序(可分为微信小程序,钉钉小程序、支付宝小程序)
# 7、application_label
type: String
应用标签
# 三、需要我们传递的字段
# 1、member_id
type: Number
店铺会员ID
# 2、distinct_id
type: Number || String
平台侧用户登陆的ID
# 3、merchant_id
type: Number
访问的店铺ID
# 4、act_id
type: Number
当前活动ID
# 5、is_interactive
type: String
是否互动
# 四、SDK决定的字段
# 1、url
type: String
当前请求的地址Web端(PC、H5)为URL地址、APP端为Pagename
# 2、referrer
type: String
Web端(PC、H5)为URL地址、APP端为Pagename
# 3、platform_system
type: String
访问平台:IOS、Android、PC、H5、小程序(可分为微信小程序,钉钉小程序、支付宝小程序)
# 4、device_model
type: String
终端设备、设备(Iphone 11、PC、Huawei Mete30)
// ------------------ where ----------------------
# 5、ip
type: String
当前IP地址
# 6、lon
type: Number
客户端经度
# 7、lat
type: Number
客户端纬度
# 8、province
type: String
省
# 9、province
type: String
市
# 10、province
type: String
区
# 11、user_agent
type: String
客户端window的user_agent字段。
# 12、screen_width
type: Number
客户端屏幕尺寸-宽度
# 13、screen_height
type: Number
客户端屏幕尺寸-高度
# 14、os
type: String
客户端终端操作系统系统,iOS、Liunx、Android、Windows
# 15、os_version
type: String
操作系统版本,Windows 10 Home
# 16、vis_carrier
type: String
访问载体,对于Web,填入浏览器,对于APP,填入Android或IOS的App WEB:Mozilla。Android:MIUI iPhone:iOS,对应$browser
# 17、vis_version
type: String
访问载体版本,对于Web,填入浏览器版本,对于APP,填入APP版本 WEB:77.0.3865.120 Android:10.2 iPhone:10.13.4
# 18、visitor_id
type: String
客户端设备唯一标识,PC端填入浏览器fingerprint,手机端可填Android:IMEI/Iphone:udid fingerprin通过JS可以获取