logeye

用户行为统计打点工具 | User behavior statistics tool

Usage no npm install needed!

<script type="module">
  import logeye from 'https://cdn.skypack.dev/logeye';
</script>

README

logeye

用户行为统计打点工具
User behavior statistics tool

Explanation

UMD Specification

support AMD, CommonJS, Node, window.logeye

Usage

CommonJS

npm i logeye --save

import logeye from logeye
logeye.emit({opt1:33, opt2: 'eewr'})

winow.logeye

<script src="./index.js"></script>
<script>
    logeye.emit({
        id: 1,
        opt1:33,
        opt2: 'eewr',
        opt3: Math.random()
    })
</script>

Develop & Maintain

  1. npm i
  2. edit/update index.js
  3. npm start