Drip integration for Nuxt 2
- π Easy integration with Drip
- π Track page views automatically
- π€ Identify users and track their activities
- π E-commerce event tracking
- π Custom event tracking
- β‘οΈ Lightweight and performant
- π TypeScript support
- Add
drip-nuxt
dependency to your project:
# Using npm
npm install drip-nuxt
- Add
drip-nuxt
to themodules
section of yournuxt.config.js
file:
export default {
modules: ['drip-nuxt'],
}
- Configure your Drip account settings:
- Go to your Drip account settings.
- Copy your Drip account ID.
- Paste it into the
nuxt.config.js
file. - Add it to the
publicRuntimeConfig
in yournuxt.config.js
file.