Skip to content

feat: add metricraven module - #1750

Open
marianomino wants to merge 1 commit into
nuxt:mainfrom
Dual-Ninja-LLC:add-metricraven
Open

marianomino wants to merge 1 commit into
nuxt:mainfrom
Dual-Ninja-LLC:add-metricraven

Conversation

@marianomino

Copy link
Copy Markdown

🔗 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:

  • Every option lives in public runtime config, so NUXT_PUBLIC_METRICRAVEN_* overrides it when the server starts and one build serves several environments.
  • The tag is rendered into the head of every SSR and prerendered page; with ssr: false it is added on the client.
  • An auto-imported 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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Added metadata for the MetricRaven Nuxt module. It includes package and documentation links, maintainer and analytics details, a Nuxt compatibility requirement of >=3.7.0, and no required modules.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Merge Risk: Minimal · up to b6510

This PR adds a MetricRaven listing to the module registry as metadata only. It does not change runtime behavior, so the merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "feat: add metricraven module" matches the main change. The PR adds a new module listing file, modules/metricraven.yml, for the MetricRaven Nuxt module under Analytics. The title is short, s…
Description check Passed The description covers the module purpose, the analytics category, the Nuxt compatibility requirement (>=3.7.0), test approach, installation command, and documentation link. The linked issue section s…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat: add metricraven module" matches the main change. The PR adds a new module listing file, modules/metricraven.yml, for the MetricRaven Nuxt module under Analytics. The title is short, specific and uses a conventional prefix. It does not mention the Analytics category or the Nuxt compatibility, but those details are not needed.

Full details: Description check

Explanation

The description covers the module purpose, the analytics category, the Nuxt compatibility requirement (>=3.7.0), test approach, installation command, and documentation link. The linked issue section states that no issue exists, which fits the template's note that an issue is not required. The description includes the AI attribution line from the template's guidance but does not state whether the author reviewed AI-generated text. The description is mostly complete and clear.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

⚠️ This pull request has been flagged as potential spam (promotional) by CodeRabbit slop detection and should be reviewed carefully.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e3e9c747-b0e4-482c-a2f9-bd142fa3f7d5
Commits

Reviewing files that changed from the base of the PR and between fe86469 and b65109b.

Files ignored due to path filters: 1

  • icons/metricraven.svg is excluded by !**/*.svg
Files selected for processing: 1

  • modules/metricraven.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant