hellogen-monitor-client

1.1.0 • Public • Published

hellogen-monitor-client

Install

npm install --save hellogen-monitor-client

Update

npm i hellogen-monitor-client@latest

Add monitor in your website

import HG_MONITOR from 'hellogen-monitor-client'

Action function code eg

HG_MONITOR({
    action: 'action name',
    action_value: 'action value'
}, (res) => {
    // response success or errorMsg
})

Use by web link

// Copy this code in your html head
<script src="http://static.huashengdong.com/HG/baseLook/js/hgBaseLook-min.js"></script>

Action function

const { HELLOGEN_REQ } = window

HG_MONITOR({
    action: 'action name',
    action_value: 'action value'
}, (res) => {
    // response success or errorMsg
})

Maybe web link is not a latest code.

Readme

Keywords

none

Package Sidebar

Install

npm i hellogen-monitor-client

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

3.94 kB

Total Files

3

Last publish

Collaborators

  • hsd