A tracker tool which is referenced from zmy-tracker.
pnpm i tracker-mn
import { Tracker } from 'tracker-mn'
const tracker = new Tracker({
requestUrl: 'https://www.api.com'
})
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