{"library":"vue-hotjar","type":"library","category":null,"description":"Vue Hotjar is a plugin designed for easy integration of the Hotjar analytics and feedback platform into Vue.js projects. It simplifies the process of adding the Hotjar tracking code and provides a global Vue property, `$hj`, to interact with Hotjar's API (e.g., Identify API, stateChange, virtual page views). The package is currently at version 1.4.0, with its last update in June 2021. Its primary differentiators include environment-based tracking activation/deactivation and a streamlined interface to the Hotjar API within Vue instances. However, it offers only partial support for Vue 3, with known issues regarding TypeScript typings, and the `$hj` global property is exclusively available for Vue 2.x.x versions. A separate `vue-hotjar-next` package exists for full Vue 3 support, indicating this package is primarily for Vue 2 applications.","language":"javascript","status":"maintenance","version":"1.4.0","tags":["javascript","vue","plugin","hotjar","analytics","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-hotjar","imports":["import Hotjar from 'vue-hotjar'","import Vue from 'vue'; import Hotjar from 'vue-hotjar'; Vue.use(Hotjar, { id: 'XXXXXXX' })","if (this.$hj) { this.$hj('event', 'user_action'); }"]},{"cmd":"yarn add vue-hotjar","imports":[]},{"cmd":"pnpm add vue-hotjar","imports":[]}],"homepage":"https://hotjar.com","github":"https://github.com/henk-badenhorst/vue-hotjar","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-hotjar","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-hotjar/compatibility"}}