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.