编辑器公共事件


访客行为类

页面预览

  • msgEncrypt加密信息示例:
    [{
    "eventType":"preview_view",
    "creationId":11111,
     "title":'ssss',
    "viewDur":123,
    "currentUrl":"https://open.eqxiu.cn/s/xxxx",
    "sourceUrl":"http://www.eqxiu.cn/",
    "customerInfo":{
      "type":1,
      "corpId":1,
      "openId":1,
      "nickName":1,
      "mobile":1,
      "sex":1,
      "language":1,
      "city":1,
      "country":1,
      "headImgUrl":1,
      "unionId":1,
      "appIdType":1,
      "thirdAppId":1,
      "thirdOpenId":1,
      "thirdUserId":1,
      "encodeId":1
    }
    }]
    
  • 字段说明
    字段 类型 说明
    creationId Long 作品Id【易企秀】
    title String 内容标题
    type String 作品类型
    corpId String 企业唯一标识
    di String 用户标识,作品预览页面必穿,当customer不存在时,可根据此字段区分用户
    viewDur Long 浏览时长
    currentUrl String 当前页面地址
    sourceUrl String from url
    customerInfo.encodeId Srtring 用户唯一标识【易企秀】
    customerInfo.type int 授权用户类型,1微信,2手机,3自定义
    customerInfo.corpId String 企业唯一标识
    customerInfo.nickName String 微信昵称,customerInfo.type为1时
    customerInfo.mobile String 手机号,customerInfo.type为2时
    customerInfo.sex String 微信性别,customerInfo.type为1时 (1男,2女)
    customerInfo.language String 微信信息,customerInfo.type为1时
    customerInfo.city Integer 微信信息,customerInfo.type为1时
    customerInfo.country String 微信信息,customerInfo.type为1时
    customerInfo.headImgUrl String 微信信息,customerInfo.type为1时
    customerInfo.unionId Integer 微信信息,unionId
    customerInfo.appIdType Integer appId类型,1、易企秀 ;非 1,非易企秀
    customerInfo.thirdAppId String 微信信息,appId
    customerInfo.thirdOpenId String 微信信息,openId
    customerInfo.thirdUserId String customerInfo.type为3时,三方用户ID

分享页面

  • msgEncrypt加密信息示例:
    [{
    "eventType":"preview_share",
    "creationId":11111,
    "title":'ssss',
    "viewDur":123,
    "currentUrl":"https://open.eqxiu.cn/s/xxxx",
    "sourceUrl":"http://www.eqxiu.cn/",
    "customerInfo":{
      "type":1,
      "corpId":1,
      "openId":1,
      "nickName":1,
      "mobile":1,
      "sex":1,
      "language":1,
      "city":1,
      "country":1,
      "headImgUrl":1,
      "unionId":1,
      "thirdAppId":1,
      "thirdOpenId":1,
      "thirdUserId":1,
      "encodeId":1
    }
    }]
    
  • 字段说明
    字段 类型 说明
    creationId Long 作品Id【易企秀】
    title String 内容标题
    type String 作品类型
    corpId String 企业唯一标识
    di String 用户标识,作品预览页面必穿,当customer不存在时,可根据此字段区分用户
    viewDur Long 浏览时长
    currentUrl String 作品类型,hd互动,h5, lc长页,design海报,form表单
    sourceUrl String from url
    customerInfo.encodeId Srtring 用户唯一标识【易企秀】
    customerInfo.type int 授权用户类型,1微信,2手机,3自定义
    customerInfo.corpId String 企业唯一标识
    customerInfo.nickName String 微信昵称,userType为1时
    customerInfo.mobile String 手机号,userType为2时
    customerInfo.sex String 微信性别,userType为1时
    customerInfo.language String 微信信息,userType为1时
    customerInfo.city Integer 微信信息,userType为1时
    customerInfo.country String 微信信息,userType为1时
    customerInfo.headImgUrl String 微信信息,userType为1时
    customerInfo.unionId Integer 微信信息,unionId
    customerInfo.appIdType Integer appId类型,1、易企秀 ;非 1,非易企秀
    customerInfo.thirdAppId String 微信信息,appId
    customerInfo.thirdOpenId String 微信信息,openId
    customerInfo.thirdUserId String userType为3时,三方用户ID

页面离开

  • msgEncrypt加密信息示例:
    [{
    "eventType":"preview_exit",
    "creationId":11111,
     "title":'ssss',
    "viewDur":123,
    "currentUrl":"https://open.eqxiu.cn/s/xxxx",
    "sourceUrl":"http://www.eqxiu.cn/",
    "leavePage":"hd_index",
    "pageViewList":["hd_index"],
    "pageTimeList":[13207],
    "customerInfo":{
      "type":1,
      "corpId":1,
      "openId":1,
      "nickName":1,
      "mobile":1,
      "sex":1,
      "language":1,
      "city":1,
      "country":1,
      "headImgUrl":1,
      "unionId":1,
      "thirdAppId":1,
      "thirdOpenId":1,
      "thirdUserId":1,
      "encodeId":1
    }
    }]
    
  • 字段说明
    字段 类型 说明
    creationId Long 作品Id【易企秀】
    title String 内容标题
    type String 作品类型
    corpId String 企业唯一标识
    di String 用户标识,作品预览页面必穿,当customer不存在时,可根据此字段区分用户
    viewDur Long 浏览时长
    currentUrl String 作品类型,hd互动,h5, lc长页,design海报,form表单
    sourceUrl String from url
    leavePage String 当前离开的子页面,子页面定义
    pageViewList array[] 访问过的页面的数组
    pageTimeList array[] 按顺序对应 pageViewList的子页面访问时长,单位为ms
    customerInfo.encodeId Srtring 用户唯一标识【易企秀】
    customerInfo.type int 授权用户类型,1微信,2手机,3自定义
    customerInfo.corpId String 企业唯一标识
    customerInfo.nickName String 微信昵称,userType为1时
    customerInfo.mobile String 手机号,userType为2时
    customerInfo.sex String 微信性别,userType为1时
    customerInfo.language String 微信信息,userType为1时
    customerInfo.city Integer 微信信息,userType为1时
    customerInfo.country String 微信信息,userType为1时
    customerInfo.headImgUrl String 微信信息,userType为1时
    customerInfo.unionId Integer 微信信息,unionId
    customerInfo.appIdType Integer appId类型,1、易企秀 ;非 1,非易企秀
    customerInfo.thirdAppId String 微信信息,appId
    customerInfo.thirdOpenId String 微信信息,openId
    customerInfo.thirdUserId String userType为3时,三方用户ID

表单提交(H5、长页、表单)

  • msgEncrypt加密信息示例:

    [{
      "eventType": "form_submit_all",
      "id": 10086,
      "title": "作品名称",
      "type": "h5",
      "corpId": 11111,
      "totalScore": "0",
      "formMeta": {
          "4158102791": {
              "type ": "r",
              "title ": "表头1",
              "status ": 1,
              "delFlag ": false,
              "score ": "0",
              "num": 1,
              "options ": [{
                      "id": 1,
                      "label": "选项1"
                  },
                  {
                      "id": 2,
                      "label": "选项2"
                  },
                  {
                      "id": 3,
                      "label": "选项3"
                  }
              ]
          },
          "4158102792": {
              "type ": "501",
              "title ": "表头2",
              "status ": 1,
              "delFlag ": false,
              "score ": "0",
              "options ": "",
              "num": 2
          }
      },
      "data": {
          "4158102791": "选项1,选项2,选项3",
          "4158102792": "测试的留言"
      },
      "dataInfo": {
          "status": "",
          "star": "",
          "delFlag": false
      },
      "customerInfo": {
          "type": 1,
          "corpId": 1,
          "openId": 1,
          "nickName": 1,
          "mobile": 1,
          "sex": 1,
          "language": 1,
          "city": 1,
          "country": 1,
          "headImgUrl": 1,
          "unionId": 1,
          "thirdAppId": 1,
          "thirdOpenId": 1,
          "thirdUserId": 1,
          "encodeId": 1
      },
      //H5作品内的映射参数
        "elementIdMapping": {
          "9569068429"//组件id: "test_city"//映射字段值
      },
      //表单作品内的映射参数
        "mapData": {
          "test_city"//映射字段值: "001",//文本填空字段值
          "k2"//映射字段值: ["x1","x2"],//多选数据返回
          "k3"//映射字段值: ["x1"],//单选数据返回
      },
      "distributeId":"3c140b6a8b5f44f3bcaed19bb70ad2a7"
    }]
    
  • 字段说明

    字段 类型 说明
    eventType String 事件类型
    id Long 作品唯一标识
    corpId Long 企业唯一标识
    totalScore String 总分;-1代表未开启计分,具体数字代表总分
    title String 内容标题
    type String 作品类型 h5:h5作品 lc:长页面 form:表单
    formMeta.{elementId}.type String 表头类型, 详情参见下表formMeta.{elementId}.type表头类型字段说明表
    formMeta.{elementId}.title String 表头名称
    formMeta.{elementId}.status Integer 表头状态
    formMeta.{elementId}.delFlag Boolean 表头是否删除(true:已删除 false:未删除)
    formMeta.{elementId}.options List 选项(根据type不同,返回值有所区别,见详细说明)
    formMeta.{elementId}.score String 计分组件选项信息
    formMeta.{elementId}.num Integer 表头顺序(从小到大)
    ua.ua String
    ua.os String 设备系统信息
    ua.device String 设备信息
    ua.browser String 浏览器信息
    ua.ip String ip地址
    dataInfo.status Integer 数据状态
    dataInfo.costTime Long 表单提交耗时
    dataInfo.star Integer 星级
    dataInfo.delFlag Boolean 该表单数据是否删除(true:已删除 false:未删除)
    data.{elementId} String 表单值(elementId:对应表头formMeta.elementId)
    customerInfo.encodeId Srtring 用户唯一标识【易企秀】
    customerInfo.type int 授权用户类型,1微信,2手机,3自定义
    customerInfo.corpId String 企业唯一标识
    customerInfo.nickName String 微信昵称,userType为1时
    customerInfo.mobile String 手机号,userType为2时
    customerInfo.sex String 微信性别,userType为1时
    customerInfo.language String 微信信息,userType为1时
    customerInfo.city Integer 微信信息,userType为1时
    customerInfo.country String 微信信息,userType为1时
    customerInfo.headImgUrl String 微信信息,userType为1时
    customerInfo.unionId Integer 微信信息,unionId
    customerInfo.appIdType Integer appId类型,1、易企秀 ;非 1,非易企秀
    customerInfo.thirdAppId String 微信信息,appId
    customerInfo.thirdOpenId String 微信信息,openId
    customerInfo.thirdUserId String userType为3时,三方用户ID
    distributeId String 分发id。对应查询分发列表返回的shareUrl中e_ff_i字段。other为原始链接。多人分发的distributeId对应查询员工列表的员工code字段。
  • formMeta.{elementId}.type表头类型字段说明表
    该字段为表单组件类型,字段值和说明如下

    字段值 类型 组件类型说明
    eqxTableDropdown String 表格下拉框组件
    eqxTableIntegration String 表格组合组件
    eqxTableNumber String 表格数值组件
    eqxTableFill String 表格填空
    upload String 上传图片
    uploadNew String 上传文件
    musicRecord String 录音组件
    5 String 输入框
    501 String 姓名
    502 String 手机
    503 String 邮箱
    504 String 文本
    505 String QQ
    506 String 微信
    507 String 单行文本
    508 String 多行文本
    5202 String 位置
    c String 多选框
    r String 单选框
    z String 下拉列表
    score String 评分组件
    scoreScale String NPS量表
    12 String 短信验证
    scoreRadio String 评分单选
    scoreMatrix String 评分矩阵题
    scoreMatrixNps String NPS矩阵题
    scoreCheckbox String 评分多选
    imageVote String 图片投票
    textVote String 文本投票
    videoVote String 视频投票
    5204 String 性别组件
    5206 String 年龄单选
    5212 String 年龄多选
    5207 String 职业
    5208 String 行业
    5209 String 其他信息
    5201 String 省市区
    5203 String 日期组件
    5205 String 时间组件
    5210 String 单选填空
    5211 String 多项填空
    5213 String 横向填空
    5214 String 简答题
    5215 String 学历
    5216 String 地址
    5218 String 专业
    5217 String 学校
    scoreImageRadio String 图片评分
    scoreImageCheckbox String 图片评分多选
    feReservation String 单项目预约
    12 String 短信验证
    eqxSort String 排序题
    eqxSelfcrease String 自增表格
    eqxMultiLevelDropdown String 多级下拉
    slideScore String 滑动条
    eqxMatrixSelect String 矩阵选择题
    eqxProportion String 比重题
    eqxSlideMatrix String 滑动矩阵

PV限制预警

如果作品设置了PV限制,并且当作品的PV数达到一定的阈值时,会触发该事件推送。同一个作品每天最多推送一次,当对作品进行编辑后,可再次推送。

  • msgEncrypt加密信息示例:
    [{
    "eventId": "f1f2dec6c6d44dfd98aacdb6d7ba3d20",
    "pvLimit": true,
    "pvLimitNum": 33,
    "code": "hyL4sLft",
    "corpId": "10ab1f1bfd004a5881a9afb271a6516f",
    "pv": 32,
    "eventType": "pv_limit_alarm",
    "type": "form",
    "title": "投票评选",
    "cover": "https://asset.eqxiu.cn/material/common/img/cover-form.png",
    "createTime": "2022-12-07 14:13:44",
    "startTime": "",
    "id": 80066,
    "creationId": 80066,
    "endTime": "",
    "status": 2
    }]
    
  • 字段说明
    字段 类型 说明
    eventType String 事件类型,pv_limit_alarm
    id Long 作品唯一标识
    creationId Long 作品唯一标识
    corpId Long 企业唯一标识
    pvLimit Boolean 是否开启PV限制
    pvLimitNum Integer PV限制的数量
    pv Integer 当前作品PV
    title String 内容标题
    type String 作品类型
    cover String 作品封面
    createTime String 作品创建时间
    startTime String 开始时间
    endTime String 结束时间
    status Integer 作品状态

分享增加权益

互动转发增加抽奖次数、表单分享增加投票次数成功后推送该事件。

  • msgEncrypt加密信息示例:
    [
      {
          "showSignSuccess":1,
          "copyright":1,
          "code":"4xJPncts",
          "userIndex":10371,
          "di":"977f2c47-e87e-4393-b33f-087691941d0f",
          "customerInfo":{
              "country":"",
              "unionId":"oW-IQv9-E6NDwfsdsDPu0UfsfazEo",
              "corpId":"10a34f328c15420992359ebd492a939f",
              "city":"",
              "nickName":"张三",
              "openId":"oYy90xfsdfsNUTL0feDOJrgo",
              "sex":0,
              "thirdOpenId":"oYy90xGdfsfs4YhXNNUTL0feDOJrgo",
              "type":1,
              "encodeId":"d2e6f09088fdsf0bb0b2fd49fa79c260",
              "appIdType":1,
              "headImgUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83epRJBkqhXIC3Yia8VgnWlH0XursSaAAyVpo8G6YZWwljmIhkMATdO2zVWlgTELc7Zbezz98JCRK9Vg/132",
              "thirdAppId":"wx0424aefe853c387c",
              "id":727170
          },
          "ua":{
              "os":"iPhone 17_1_2",
              "ip":"2409:8954:4c54:1e66:c9b7:af21:af5:ca16",
              "browser":"MicroMessenger 8.0.44",
              "region":{
                  "country":"中国",
                  "province":"广东",
                  "city":"佛山"
              },
              "ua":"Mozilla/5.0 (iPhone; CPU iPhone OS 17_1_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.44(0x18002c2b) NetType/4G Language/zh_CN",
              "device":"iPhone"
          },
          "type":"hd",
          "title":"报名领福利邀请来抽奖幼儿园招生方案",
          "whiteListUrl":"",
     "cover":"http://asset.eqxiu.cn/material/4a2d8aae508506ef0150a6ecd2252f29/1684915835082-1ybjt5tmc4u.png",
          "openMine":0,
          "isPrizeExhaustTipsSetting":false,
          "startTime":"2023-12-11 15:23:29",
          "whiteListNum":0,
          "id":123517,
          "triggerCustomerInfo":{
              "country":"",
              "unionId":"oW-IQvxf34OWHzV-mvjG_bN8pkPY",
              "corpId":"10a34f328c15420992359ebd492a939f",
              "city":"",
              "nickName":"李四",
              "openId":"oYy90xOwb888TtyAdzhHH-Ly3hBXs",
              "sex":0,
              "thirdOpenId":"oYy90xfdsfsbFeTtyfdsfsHH-Ly3hBXs",
              "type":1,
              "encodeId":"428ef8cdsds139721e2bcd8c9d3b3",
              "appIdType":1,
              "headImgUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKC6ChseFucdvrlnNGHm3msgBgBRGUnrJufdObGrYxCFoCz5BDI23mYGNMTQw59ay5Nk41w8OMwRQ/132",
              "thirdAppId":"wx0424aefe853c387c"
          },
          "eventId":"c7b699e834d84b519fe00575393b15c7",
          "currentUrl":"http://xu.eqshow.cn/v/123517?cc=4xJPncts&from_id=75cccb5c-d&share_level=2&shareUserId=d2e6f090883f440bb0b2fd49fa79c260&from_user=EN_d2e6f090883f440bb0b2fd49fa79c260",
          "whiteListStatus":0,
          "corpId":"10a34f328c15420992359ebd492a939f",
          "benefitUrl":"",
          "eventType":"share_success",
          "induce":false,
          "benefitOpen":0,
          "createTime":"2023-12-15 01:41:01",
          "rankNum":50,
          "addChance":1,
          "creationId":123517,
          "endTime":"2023-12-18 15:23:29",
          "status":2
      }
    ]
    
  • 字段说明
    字段 类型 说明
    eventType String 事件类型,share_success
    id Long 作品唯一标识
    creationId Long 作品唯一标识
    customerInfo Object 获得权益的访客信息,即分享的访客
    triggerCustomerInfo Object 触发该事件的访客信息,即被分享者的访客信息。在分享后需要被分享者做某些动作(如登录、抽奖)才增加权限的场景下会传该字段
    addChance Integer 本次增加权益的数量

用户行为类

作品创建

  • msgEncrypt加密信息示例:
    [{
    "eventType":"creation_create",
    "id":10086,
    "type":"hd",
    "title":"清新中国风白酒宣传美酒宣传老酒酒业品牌宣传",
    "originTemplateId":8610086
    }]
    
  • 字段说明
    字段 类型 说明
    id Long 作品唯一标识
    type String 作品类型,hd互动,h5, lc长页,design海报,form表单
    title String 作品标题
    originTemplateId Long 作品模板id(模板创建时存在)

作品复制

  • msgEncrypt加密信息示例:
    [{
    "eventType":"creation_copy",
    "id":10086,
    "type":"hd",
    "newCreationId": "10087,
    "toOpenId":"6"
    }]
    
  • 字段说明
    字段 类型 说明
    id Long 作品唯一标识
    type String 作品类型,hd互动,h5, lc长页,design海报,form表单
    newCreationId Long 复制出来的作品id
    toOpenId String 作品复制者openID,复制者不存在openId,则不包含该属性

    作品基础数据变动

  • 当作品标题、描述、封面图、开始时间、结束时间变动时,推送该事件
  • msgEncrypt加密信息示例:
    [{
    "eventType":"creation_base_change",
      "newCreation": {
          "cover": "https://asset.eqxiu.cn/FlVxX5NPJnVEg0NUB8QLg5btPADT", 
          "description": "我做了一个超级炫酷的互动H5,快来看看吧。", 
          "startTime": "2022-09-23 14:51:45", 
          "endTime": "2022-09-30 14:51:45", 
          "title": "免费神秘大奖幸运抽大奖大转盘行业活动通用777"
      }, 
      "creationId": 60810, 
      "type": "hd", 
    }]
    
  • 字段说明
    字段 类型 说明
    creationId Long 作品唯一标识
    type String 作品类型,hd互动,h5, lc长页,design海报,form表单
    newCreation Object 为变动后的信息
    newCreation.cover String 封面图
    newCreation.description String 描述
    newCreation.title String 标题
    newCreation.startTime String 开始时间,格式为 yyyy-mm-dd HH:MM:ss
    newCreation.endTime String 结束时间,格式为 yyyy-mm-dd HH:MM:ss

作品发布

  • msgEncrypt加密信息示例:
    [{
    "eventType":"creation_publish",
    "id":10086,
    "code":"pRiUZSax",
    "type":"hd",
    "status":2,
    "title":"新年元旦蛇年百福图翻牌活动",
    "corpId":"bb292be4bdd945fd9b938791643b7bff",
    "startTime":"",
    "endTime":"",
    "shareUrl":"https://hsy.eqxiu.cn/v/105151?cc=GfnR9V64",
    "cover": "https://asset.eqxiu.cn/img/cover.png",
    "longPages":[
        {"longPage":554,"num":2}
      ]
    }]
    
  • 字段说明
    字段 类型 说明
    id Long 作品唯一标识
    code String 作品唯一标识,字符串
    type String 作品类型,hd互动,h5, lc长页,design海报,form表单
    status Integer 作品状态,-1删除,1未发布,2发布,3临时关闭,4停用
    title String 作品标题
    corpId String 作品对应的企业id
    startTime String 活动开始时间
    endTime String 活动结束时间
    shareUrl String 作品预览地址
    cover String 作品设置的分享封面
    longPages Array H5作品内长页
    longPages.longPage Integer 页面高度
    longPages.num Integer 页码

    作品审批

  • msgEncrypt加密信息示例:
    [{
    "eventType":"creation_approve",
    "id":10086,
    "type":"hd",
    "status":2,
    "shareUrl":"https://hsy.eqxiu.cn/v/105151?cc=GfnR9V64"
    }]
    
  • 字段说明
    字段 类型 说明
    id Long 作品唯一标识
    type String 作品类型,hd互动,h5, lc长页,design海报,form表单
    status Integer 作品状态,-1删除,1未发布,2发布,3临时关闭,4停用
    shareUrl String 作品预览地址

    作品停用

  • msgEncrypt加密信息示例:
    [{
    "eventType":"creation_stop",
    "id":10086,
    "type":"hd",
    "status":4
    }]
    
  • 字段说明
    字段 类型 说明
    id Long 作品唯一标识
    type String 作品类型,hd互动,h5, lc长页,design海报,form表单
    status Integer 作品状态,-1删除,1未发布,2发布,3临时关闭,4停用

    作品删除

  • msgEncrypt加密信息示例:
    [{
    "eventType":"creation_delete",
    "id":10086,
    "type":"hd",
    "status":-1
    }]
    
  • 字段说明
    字段 类型 说明
    id Long 作品唯一标识
    type String 作品类型,hd互动,h5, lc长页,design海报,form表单
    status Integer 作品状态,-1删除,1未发布,2发布,3临时关闭,4停用

2025年3月14日 11:35 6197 收藏文档