156.bb98520c.js 4.4 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[156],{479:function(t,_,a){"use strict";a.r(_);var r=a(17),v=Object(r.a)({},(function(){var t=this,_=t._self._c;return _("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[_("h2",{attrs:{id:"埋点介绍"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#埋点介绍"}},[t._v("#")]),t._v(" 埋点介绍")]),t._v(" "),_("div",{staticClass:"custom-block tip"},[_("p",{staticClass:"custom-block-title"},[t._v("TIP")]),t._v(" "),_("p",[t._v("打开埋点采集开关后,项目初始化加载过程中可自动捕获"),_("code",[t._v("白屏")]),t._v(","),_("code",[t._v("js加载异常")]),t._v("等事件,可添加自定义埋点用于采集"),_("code",[t._v("按钮点击")]),t._v("、"),_("code",[t._v("页面展示")]),t._v(" 、"),_("code",[t._v("PV_UV")]),t._v("等数据,采集到的数据上报埋点服务,最终可"),_("code",[t._v("移动管理平台")]),_("a",{attrs:{href:"http://210.12.198.141:18080/yump-web",target:"_blank",rel:"noopener noreferrer"}},[t._v("点击访问"),_("OutboundLink")],1),t._v("移动分析部分对应功能查看采集数据的可视化分析报告。使用埋点功能必须部署埋点服务。此功能在移动前端框架"),_("code",[t._v("3.5.1")]),t._v("版本及以上支持,低版本请联系支持人员接入。"),_("RouterLink",{attrs:{to:"/contact-us/#联系我们"}},[t._v("点击查看联系方式")])],1)]),t._v(" "),_("h2",{attrs:{id:"配置开关-gray-on-off"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#配置开关-gray-on-off"}},[t._v("#")]),t._v(" 配置开关 GRAY_ON_OFF")]),t._v(" "),_("ul",[_("li",[_("code",[t._v("GRAY_ON_OFF")]),t._v("埋点开关位于"),_("code",[t._v("src/common/utils/yuga-app.js")]),t._v("中,配置为"),_("code",[t._v("0")]),t._v("表示关闭埋点采集,"),_("code",[t._v("1")]),t._v("表示开启埋点数据采集,开关默认关闭。")])]),t._v(" "),_("h2",{attrs:{id:"report-uri-服务地址"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#report-uri-服务地址"}},[t._v("#")]),t._v(" REPORT_URI 服务地址")]),t._v(" "),_("ul",[_("li",[_("code",[t._v("REPORT_URI")]),t._v("埋点数据上报的地址,需要配置部署之后的埋点服务地址。")])]),t._v(" "),_("h2",{attrs:{id:"batch-commit-num-单次批量上送条数"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#batch-commit-num-单次批量上送条数"}},[t._v("#")]),t._v(" BATCH_COMMIT_NUM 单次批量上送条数")]),t._v(" "),_("ul",[_("li",[_("code",[t._v("BATCH_COMMIT_NUM")]),t._v("单次批量上送条数,默认值为"),_("code",[t._v("10")]),t._v(",数据可根据采集点长度做测算,不能超过1024,程序里面有循环10次折半。")])]),t._v(" "),_("h2",{attrs:{id:"error-retry-times-重试次数"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#error-retry-times-重试次数"}},[t._v("#")]),t._v(" ERROR_RETRY_TIMES 重试次数")]),t._v(" "),_("ul",[_("li",[t._v("当某批次上传失败时,重试次数,默认"),_("code",[t._v("2")]),t._v("次,即上传失败,则再试一次。")])]),t._v(" "),_("h2",{attrs:{id:"batch-commit-interval-批量上送间隔"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#batch-commit-interval-批量上送间隔"}},[t._v("#")]),t._v(" BATCH_COMMIT_INTERVAL 批量上送间隔")]),t._v(" "),_("ul",[_("li",[t._v("批量上送间隔(毫秒),连续上报失败"),_("code",[t._v("3")]),t._v("次,丢弃该批次数据,并等待指定毫秒后再上报(Image模式),默认值 "),_("code",[t._v("2 * 60 * 1000")]),t._v("。")])]),t._v(" "),_("h2",{attrs:{id:"short-commit-interval-不足上送条数时-上送触发时间间隔"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#short-commit-interval-不足上送条数时-上送触发时间间隔"}},[t._v("#")]),t._v(" SHORT_COMMIT_INTERVAL 不足上送条数时,上送触发时间间隔")]),t._v(" "),_("ul",[_("li",[t._v("SHORT_COMMIT_INTERVAL,不足上送条数时,上送触发时间间隔(毫秒),保证在5分钟内把数据上送;但是,若该次上报失败,则只有等有新数据进来时才会重试,默认值"),_("code",[t._v("5 * 60 * 1000")]),t._v(";")])]),t._v(" "),_("h2",{attrs:{id:"外壳appid"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#外壳appid"}},[t._v("#")]),t._v(" 外壳APPID")]),t._v(" "),_("ul",[_("li",[t._v("APPID 若为APP端使用且使用宇信外壳时,请配置对应外壳APPID,其他情况可不配置。")])])])}),[],!1,null,null,null);_.default=v.exports}}]);