0.0.12 • Published 4 years ago

interactive-spm v0.0.12

Weekly downloads
36
License
-
Repository
-
Last release
4 years ago

Interactive SPM

A wrapper to use both Tracker and Tracert

sample

import interactiveSpm from 'interactive-spm'

interactiveSpm.init({
    server: "https://spm.server", // please set this
    autoLogPv: false, // don't change this
    autoLogPerf: true, // don't change this
    eventType: "click",
    spmAPos: "spmApos", // please set this
    workspaceId: "workspaceId", // please set this
    appId: "chameleon-test", // please set this
    sessionIdKey: "tracert-session-key",
    clue: {
      pid: "pid"
    } // if you want to use clue to log error, set to true
})

interactiveSpm.logPv()
interactiveSpm.trackWithVue(Vue)
interactiveSpm.trackUnhandledPromise()
interactiveSpm.click('event.name')
interactiveSpm.logError(new Error('error.name'))
0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago