Use this plugin in combination with the @rrweb/rrweb-plugin-sequential-id-replay plugin to record and replay events with a sequential id. See the guide for more info on rrweb.
npm install @rrweb/rrweb-plugin-sequential-id-record
import rrweb from 'rrweb';
import { getRecordSequentialIdPlugin } from '@rrweb/rrweb-plugin-sequential-id-record';
rrweb.record({
emit: function emit(event) {
// send events to server
},
plugins: [
getRecordSequentialIdPlugin({
key: '_sid', // default value
}),
],
});
Become a sponsor and get your logo on our README on Github with a link to your site.
Yuyz0112 |
Yun Feng |
eoghanmurray |
Juice10 open for rrweb consulting |