@kippie-bv/nuxt-hotjar

1.1.4 • Public • Published

hotjar-nuxt

This package is based on https://github.com/hotjar/hotjar-js

Installing

npm: npm install @kippie-bv/nuxt-hotjar

yarn: yarn add @kippie-bv/nuxt-hotjar

Features

  • track changes manually by route change path or Fullpath
  • Heatmaps
  • Session tracking
  • Hotjar available in nuxt context by calling $hotjar.

options

// nuxt.config.js
export default {
  modules: [
    "@kippie-bv/nuxt-hotjar",
  ],
  
  hotjar: {
    id: "YOUR_HOTJAR_ID",
    version: 6, // default: 6
    trackChangesManually: true, //default: false
    trackFullPath: true //default: false (Only when trackChangesManually is enabled)
  }
}


// Example
this.$hotjar.identify(userId, {
  first_name: firstName,
  color: favoriteColor
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.4
    34
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.4
    34
  • 1.1.3
    0
  • 1.1.1
    0
  • 1.1.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @kippie-bv/nuxt-hotjar

Weekly Downloads

28

Version

1.1.4

License

none

Unpacked Size

3.27 kB

Total Files

6

Last publish

Collaborators

  • mees018299