lujing-fe-js-countly
v1.1.8
Published
a plugin for countly.
Downloads
13
Readme
lujing-fe-js-countly
功能
对countly-sdk-web进行二次封装 可以同时在weex环境和web下进行埋点
组件部署
install
cnpm i lujing-fe-js-countly
npm import
import Countly from 'lujing-fe-js-countly'
use script
<script src='https://www.lujing56.com/components/js-countly/1.1.
1/index.js'></script>
前置全局变量 COUNTLYKEY(app_key),COUNTLYSERVER(url)
weex下页面曝光打点自带页面标题 需要设置 全局变量 PAGETITLE
demo
Countly.allClick('事件打点');
更新log
v1.1.3 新增Countly.allClick(string)方法