Check out PostHog

Nuxt PostHog

Integrate PostHog into your Nuxt application with minimal effort and maximum flexibility ✨

app.vue
<!-- Easily capture events using Vue directives -->
<button v-posthog-capture="'cta_clicked'">
  Get Started
</button>

<!-- Hide content behind feature flags -->
<PostHogFeatureFlag name="new_feature">
  Content under feature flag
</PostHogFeatureFlag>

Features

Nuxt 3 ready

You can start using this module in your Nuxt 3 application.

Zero Configuration

Start right away by just adding your PostHog API key.

Vue Composables

Offers a set of Vue composables to easily integrate PostHog into your application.

Vue Directives

Use Vue directives to easily capture PostHog events.

SSR in mind

This module is SSR friendly, making it work with server rendered applications.

More to come...

New features will be added in the future. Stay tuned!

Copyright © 2024