integration-nuxt-4

Official

Seamless PostHog analytics for Nuxt 4 apps.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Nuxt 4 projects often struggle to implement reliable analytics, error tracking, and cross-boundary data correlation. This skill provides a ready-to-use PostHog Nuxt integration that handles client and server-side tracking, automatic error capture, and source map support.

Core Features & Use Cases

  • Client-side and server-side PostHog integration via the @posthog/nuxt module.
  • Automatic error tracking for Nuxt/Nitro and inclusive event capture for backend routes using a shared server PostHog client.
  • Structured configuration guidance and references for Nuxt 4 projects needing robust analytics and correlation between frontend and backend events.

Quick Start

Install and configure the PostHog Nuxt integration in a Nuxt 4 project by adding @posthog/nuxt and setting runtimeConfig.posthog values.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: integration-nuxt-4
Download link: https://github.com/PostHog/skills/archive/main.zip#integration-nuxt-4

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.