nuxt-hotjardeprecated

Nuxt hotjar plugin

Usage no npm install needed!

<script type="module">
  import nuxtHotjar from 'https://cdn.skypack.dev/nuxt-hotjar';
</script>

README

Nuxt Hotjar NPM version Build Status Dependency Status Coverage percentage

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 nuxt-hotjar dependency using yarn or npm to your project
  • Add nuxt-hotjar to modules section of nuxt.config.js
  modules: [
    ['nuxt-hotjar', { 
        id: 'hjsv', 
        sv: 'hjid'
    }],
]

Options

id

  • Required
  • Hotjar ID

sv

  • Hotjar Snippet Version

License

MIT © Neveena