@amplitude/rrweb-plugin-sequential-id-record
v2.0.0-alpha.26
Published
Use this plugin in combination with the [@rrweb/rrweb-plugin-sequential-id-replay](../rrweb-plugin-sequential-id-replay) plugin to record and replay events with a sequential id. See the [guide](../../../guide.md) for more info on rrweb.
Downloads
141
Maintainers
Keywords
Readme
@rrweb/rrweb-plugin-sequential-id-record
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.
Installation
npm install @rrweb/rrweb-plugin-sequential-id-record
Usage
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
}),
],
});
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site.
Gold Sponsors 🥇
Silver Sponsors 🥈
Bronze Sponsors 🥉