Notwithstanding Precautions, Misadventure

    @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
    });

    Install

    npm i @kippie-bv/nuxt-hotjar

    DownloadsWeekly Downloads

    23

    Version

    1.1.4

    License

    none

    Unpacked Size

    3.27 kB

    Total Files

    6

    Last publish

    Collaborators

    • mees018299