Skip to main content
Version: Vue SDK

Session replay

Session Replay captures the full DOM of your Vue app — including Screeb interactions — so you can replay sessions in the Screeb dashboard.

How it works

Session Replay is built into @screeb/sdk-browser and runs automatically once enabled in your workspace settings. No additional Vue-specific code is needed.

Start / stop programmatically

You can start and stop Session Replay from your Vue components:

<script setup lang="ts">
import { useScreeb } from "@screeb/sdk-vue";

const { sessionReplayStart, sessionReplayStop } = useScreeb();
</script>

<template>
<button @click="sessionReplayStart">Start replay</button>
<button @click="sessionReplayStop">Stop replay</button>
</template>

Enable in workspace settings

Session Replay must be enabled in your Screeb workspace settings before it will record sessions.

note

Session Replay is automatically disabled when Consent Exemption Mode is active.