I’m following this guide: https://amplitude.com/docs/session-replay/session-replay-plugin to add feature of session replay along with ampli in a NextJs site.
The events are being captured, but session-replay screen shows no data.
Here’s the code that I’m using:
const sessionReplayTracking = sessionReplayPlugin({sampleRate: 1});<br /><br />ampli.load({<br /><br /> client: {<br /><br /> apiKey: process.env.NEXT_PUBLIC_AMPLITUDE_API_KEY<br /><br />}<br /><br />}).promise.then(()=> {<br /><br /> ampli.client.add(sessionReplayTracking)<br /><br />})
What thing am I missing?