Skip to main content

Vue / Browser — Composable

Create a Vue composable so components can share the same Signal instance and get typed helpers for identify, capture, and optional capturePageview.

useSignal composable

Usage in components

Use isReady if you need to wait for the SDK before showing tracking-dependent UI. capturePageview is a convenience that calls capture('$pageview', { ... }) with path/title.

See also