/nuxt-hotjar

Nuxt module to integrate hotjar into your project

Primary LanguageJavaScriptMIT LicenseMIT

Nuxt Hotjar NPM version Dependency Status

Add nuxt hotjar to your nuxt.js application.

Note: nuxt hotjar is not enabled in dev mode. You can set environment variable NODE_ENV to production for testing in dev mode.

Setup

  • Add @netsells/nuxt-hotjar dependency using yarn or npm to your project
  • Add @netsells/nuxt-hotjar to modules section of nuxt.config.js
modules: [
    ['@netsells/nuxt-hotjar', { 
        id: 'hjid', 
        sv: 'hjsv',
    }],
]

Options

id

  • Required
  • Hotjar ID

sv

  • Hotjar Snippet Version

License

MIT © Netsells