Socket
Book a DemoInstallSign in
Socket

@virto-commerce/front-modules-hotjar

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@virto-commerce/front-modules-hotjar

This module is designed for use with the VirtoCommerce frontend app. It provides a simple interface to initialize and use Hotjar, a behavior analytics tool that helps you understand your users by providing insights through heatmaps, session recordings, an

1.0.6
latest
Source
npmnpm
Version published
Weekly downloads
198
-20.8%
Maintainers
1
Weekly downloads
 
Created
Source

Hotjar Module For VirtoCommerce Frontend

This module is designed for use with the VirtoCommerce frontend app. It provides a simple interface to initialize and use Hotjar, a behavior analytics tool that helps you understand your users by providing insights through heatmaps, session recordings, and surveys.

Installation

install the latest version

yarn add @virto-commerce/front-modules-hotjar

or install a specific version

yarn add @virto-commerce/front-modules-hotjar@1.0.0

Usage

Import the Module

Import the useHotjarModule composable in your Vue component:

import { useHotjarModule } from "@virto-commerce/front-modules-hotjar";

but preferably use async import

const { useHotjarModule } = await import("@virto-commerce/front-modules-hotjar");

Initialize Hotjar

To initialize Hotjar, call the initModule method with the appropriate properties:

const { initModule } = useHotjarModule();

initModule({
  getModuleSettings,
  isDevelopment: IS_DEVELOPMENT,
  logger: Logger,
  userId: user.value.id,
});

Publishing the Package

To publish the package, draft a new release. Ensure that that the version in package.json was changed accordingly in advance. After release package will be published automatically. On any concerns please see workflows in the Actions tab.

  • Hotjar
  • Hotjar Module
  • Npm module

License

Copyright (c) Virto Solutions LTD. All rights reserved.

This software is licensed under the Virto Commerce Open Software License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://virtocommerce.com/opensourcelicense.

Keywords

VirtoCommerce

FAQs

Package last updated on 04 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.