tracker-mn
v0.0.5
Published
a practicing for tracker
Downloads
7
Readme
Tracker-mn
A tracker tool which is referenced from zmy-tracker.
Usage
pnpm i tracker-mn
import { Tracker } from 'tracker-mn'
const tracker = new Tracker({
requestUrl: 'https://www.api.com'
})
Options
uuid
: user's identifierrequestUrl
: api addresshistoryTracker
: open history router modehashTracker
: open hash router modedomTracker
: watchclick
,dbclick
,click
,dblclick
,contextmenu
,mousedown
,mouseup
,mouseenter
,mouseout
,mouseover
sdkVersion
: version numberextra
: extra params you want to postjsError
: catch error