# rangersBurialPoint

字节统一埋点接口

# 代码演示

const app = getApp() //获取应用实例
const requestBurialPoint = app.getGlobalConfig().rangersBurialPoint
//浏览埋点
rangersBurialPoint('user_page_view', {
      page_path: 'xxxxxxx',
      module: '设备卡片',
      page_id: 'text',
      page_name: '设备所在房间列表页',
      object_type: 'appliance',
      object_id:'xxxxx',
      object_name: 'xxxxx'
      ext_info: {
        onlineStatus: '1' //设备在线状态1在线/0离线
        pluginType: 'xxxxxx', //设备品类
        sn8: 'xxxxxx', //SN8码
        is_support_current_device: '1', //设备是否支持小程序控制
      },
    })

    //点击埋点
   rangersBurialPoint('user_behavior_event', {
      page_path: 'xxxxxxx',
      module: '设备卡片',
      page_id: 'text',
      page_name: '设备所在房间列表页',
      object_type: 'appliance',
      object_id:'xxxxx',
      object_name: 'xxxxx'
      ext_info: {
        onlineStatus: '1' //设备在线状态1在线/0离线
        pluginType: 'xxxxxx', //设备品类
        sn8: 'xxxxxx', //SN8码
        is_support_current_device: '1', //设备是否支持小程序控制
      },
    })