lujing-fe-js-countly

1.1.8 • Public • Published

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)方法

author

@hanzhiwan

Readme

Keywords

none

Package Sidebar

Install

npm i lujing-fe-js-countly

Weekly Downloads

2

Version

1.1.8

License

'MIT'

Last publish

Collaborators

  • hanangjie