fingerprint-vue
Installation
SKILL.md
Fingerprint — Vue
Integrate Fingerprint into a Vue 3 app to identify visitors: register the plugin once at startup,
then ask it for the visitor's visitor_id and a single-use event_id wherever you need it (on
mount, or on an action like login or checkout).
Docs: https://docs.fingerprint.com/docs/vuejs · JS Agent v4: https://docs.fingerprint.com/reference/js-agent-v4
Package
@fingerprint/vue — install the latest version. (Nuxt uses the same package, registered
client-side. For plain HTML or an unsupported framework, use @fingerprint/agent instead.)
Env var
FINGERPRINT_PUBLIC_API_KEY— the public key, safe to ship to the browser.
Bundlers only expose prefixed vars to client code — map the key to the bundler's convention:
- Vite:
VITE_FINGERPRINT_PUBLIC_API_KEY→import.meta.env.VITE_...- Vue CLI:
VUE_APP_FINGERPRINT_PUBLIC_API_KEY→process.env.VUE_APP_...Never exposeFINGERPRINT_SECRET_API_KEYto the frontend.