Privacy-Friendly Analytics with Umami
This starter kit uses the nuxt-umami module to track page views and events. This module is a wrapper around the Umami, making it easier to integrate with Nuxt applications.
The module is registered in the core layer (apps/web/layers/core/nuxt.config.ts). Set NUXT_UMAMI_HOST and NUXT_UMAMI_ID to connect your Umami instance.
Umami is an open-source, privacy-focused web analytics tool that serves as an alternative to Google Analytics. It provides essential insights into website traffic, user behavior, and performance, all while prioritizing data privacy.
Other Analytics Providers
If you prefer to use a different analytics provider, you can easily do so by following these steps:
- Uninstall the
nuxt-umamimodule:pnpm --filter web remove nuxt-umami - Remove the nuxt-umami module: Open
apps/web/layers/core/nuxt.config.tsand remove thenuxt-umamimodule from themodulesarray:export default defineNuxtConfig({ modules: [ // Remove this line 'nuxt-umami', ], }) - Remove the
umamiconfig from the same file and theNUXT_UMAMI_*variables fromapps/web/.env.example, theDockerfilesecret mounts and your deployment environment variables. - Install the new analytics module: Depending on the provider you choose, you may need to install a different Nuxt module or use a custom script tag.
Overview
Nuxt Starter Kit uses the Nuxt SEO modules for the technical SEO of your app: sitemap, robots.txt, schema.org, Open Graph images and meta tags.
Overview
Security headers and CSP with Nuxt Security, its default rate limiter and what to check behind a proxy, protected admin APIs and file upload validation.