Skip to content
Feralin

Developers

Vue / Nuxt: quickstart

Install and first-use steps for sending events to Feralin with Vue / Nuxt. Code samples come from the SDK's own README and statuses from the capability record.

Install

@feralin/vue 0.1.0 is published on npm; install it with your package manager using the command below.

npm install @feralin/web @feralin/vue

First use

import { createApp } from "vue";
import { FeralinPlugin } from "@feralin/vue";

createApp(App)
  .use(FeralinPlugin, { projectKey: "pk_live_…", collectUrl: "https://collect.example.com", consent: { analytics: true }, router })
  .use(router)
  .mount("#app");
import { useFeralin } from "@feralin/vue";
const feralin = useFeralin();
feralin.track("signup_completed", { plan: "growth" });
import { FeralinPlugin } from "@feralin/vue";

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(FeralinPlugin, { projectKey: "pk_live_…", collectUrl: "https://collect.example.com", router: useRouter() });
});

Code samples are taken as they are from sdks/web-vue/README.md; comments inside may be in Turkish. You create the project key in the dashboard.

Capabilities

Vue / Nuxt capability status
CapabilityStatus
Event sendingSupported
Batch sendingSupported
Consent handlingSupported
IdentitySupported
AttributionPartial
Deep linksPlanned
RevenuePartial
Error capturePartial
Session replayPlanned
TracingPlanned

Verification chain

Vue / Nuxt verification chain
LinkStatus
SourcePassed
BuildPassed
TestPassed
Registry publicationPassed
Clean installPassed
Event receiptPassed
DocumentationPassed
Super Admin proofNot started

Passed means local evidence: source, build and tests ran. Registry publication and Super Admin proof are separate links; the SDK is not called ready until each has passed.