Meticulous Recorder loader
Utility package used to aid the injection of the Meticulous recorder snippet on web apps.
Installing
npm install @alwaysmeticulous/recorder-loader --save
# or with yarn
yarn add @alwaysmeticulous/recorder-loader
Usage
Within your app entrypoint:
import { loadAndStartRecorder } from '@alwaysmeticulous/recorder-loader'
async function startApp() {
try {
await loadAndStartRecorder({
recordingToken: '<recording token>',
})
} catch (err) {
console.error(`Meticulous failed to initialise ${err}`)
}
ReactDOM.render(component, document.getElementById('root'))
}
startApp();