Skip to main content

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});

ampli.load({

client: {

apiKey: process.env.NEXT_PUBLIC_AMPLITUDE_API_KEY

}

}).promise.then(()=> {

ampli.client.add(sessionReplayTracking)

})

What thing am I missing?

Be the first to reply!

Reply