Skip to main content

Overview

The @infinitewatch/vue SDK provides a Vue plugin that integrates session recording into your Vue app.

Step 1: Installation

Step 2: Environment Variables

Add to your .env file:
Replace YOUR_ORGANIZATION_ID with your actual organization ID. You can find this in your InfiniteWatch dashboard.

Step 3: Basic Setup

Register the plugin in your main entry file (e.g. main.ts):

Identify Users

After the plugin is set up, you can associate sessions with specific users:
Call identify() after the user logs in. The external_id is persisted in a cookie so it carries across page reloads and sessions.