Repository navigation
feat: add metricraven module - #1750
marianomino wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
🔗 Linked issue
None (new module listing).
📚 Description
Adds
@metricraven/nuxt(source) under Analytics. MetricRaven is privacy-friendly web analytics with revenue attribution: it ties payments from Stripe, Paddle, Polar, Lemon Squeezy and others back to the visit that brought the customer.On the Nuxt Scripts guidance in the README: a registry entry for the tracker is open in nuxt/scripts#985 (
useScriptMetricRavenAnalytics). This module covers what the registry entry doesn't:NUXT_PUBLIC_METRICRAVEN_*overrides it when the server starts and one build serves several environments.ssr: falseit is added on the client.useMetricRaven()returns the typed client (track,identify,payment…), queueing calls made before the tracker loads, which is what links signups and payments to the visit for revenue attribution.Nuxt
>=3.7.0, tested with@nuxt/test-utils(SSR fixture plus a runtime-env fixture). Install:npx nuxi module add @metricraven/nuxt.Docs: https://metricraven.com/docs/install-vue-nuxt#nuxt-module
🤖 Generated with Claude Code