All Integrations
Vue
Device Intelligence for Vue
Vue 3 composable for device identification. Add visitor identification, bot detection, and smart signals to your Vue application in minutes.
Quick Install
Add the SDK to your project with your preferred package manager.
npm
npm install @tracio/clientyarn
yarn add @tracio/clientpnpm
pnpm add @tracio/clientBasic Usage
Get up and running with the minimal setup.
$vue
<script setup>import { useTraceId } from '@tracio/client/vue'const { visitorId, confidence } = useTraceId()</script><template> <div>Visitor: {{ visitorId }}</div></template>Advanced Patterns
Production-ready patterns with error handling, loading states, and advanced configuration.
Composable with Watch & Reactive Tracking — Click to expand
<script setup>import { ref, watch } from 'vue'import { useTraceId } from '@tracio/client/vue'const { visitorId, confidence, isLoading, error, refetch } = useTraceId({ apiKey: 'your-key', endpoint: '/fp/identify',})const history = ref([])watch(visitorId, (newId) => { if (newId) { history.value.push({ id: newId, timestamp: new Date().toISOString(), }) }})</script><template> <div v-if="isLoading">Identifying...</div> <div v-else-if="error">Error: {{ error.message }}</div> <div v-else> <p>Visitor: {{ visitorId }}</p> <p>Confidence: {{ (confidence * 100).toFixed(1) }}%</p> <button @click="refetch">Re-identify</button> </div></template>Configuration Options
All available options for initializing and configuring the SDK.
apiKeystringYour API key from the dashboardendpointstringCustom endpoint URL for proxy-routed deploymentsregionstringData region (us, eu, ap)timeoutnumberRequest timeout in millisecondsextendedResultbooleanAdds bot detection, incognito mode flags, and smart signalslinkedIdstringCustom identifier to associate visits (e.g. user ID or session ID)Next Steps
Go deeper with the full API reference, webhook configuration, and advanced guides.
Documentation
Full API reference, integration guides, and best practices.
Read Docs
API Reference
Server API endpoints, request/response schemas, and error codes.
View API
Webhooks
Configure real-time event notifications for every device identification.
Set Up Webhooks
Get started with Vue
Add device fingerprinting to your Vue application in under 5 minutes.