![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@virto-commerce/front-modules-hotjar
Advanced tools
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
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.
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
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");
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,
});
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.
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.
FAQs
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
The npm package @virto-commerce/front-modules-hotjar receives a total of 0 weekly downloads. As such, @virto-commerce/front-modules-hotjar popularity was classified as not popular.
We found that @virto-commerce/front-modules-hotjar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.