@neomanex/analytics-nuxt
v1.1.0
Published
Nuxt module for analytics tracking with SSR middleware, browser plugin, and server proxy
Downloads
452
Readme
@neomanex/analytics
Nuxt module for analytics tracking with SSR middleware, browser plugin, and server proxy.
Quick Start
pnpm add @neomanex/analytics// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@neomanex/analytics'],
analytics: {
apiUrl: 'https://analytics-api.neomanex.com',
source: 'my-app',
},
})Features
- Server-side tracking - Accurate analytics even with ad blockers
- Automatic events -
page.visit,page.view,session.start,page.leave - Manual tracking -
useAnalytics()composable for custom events - Correlation IDs - Links SSR and browser events across the session
- Secure proxy - API URL never exposed to browser
Full Documentation
For complete documentation including installation, configuration, API reference, and guides:
Key sections:
- Introduction - What, why, and architecture
- Installation - Setup and configuration
- API Reference - Coming soon
- Guides - Coming soon
Development
npm install # Install dependencies
npm test # Run tests
npm run dev # Dev playground
npm run build # Build moduleLicense
UNLICENSED
