{"id":20604550,"url":"https://github.com/virtocommerce/vc-module-front-hotjar","last_synced_at":"2025-04-15T02:24:30.367Z","repository":{"id":243216499,"uuid":"811301355","full_name":"VirtoCommerce/vc-module-front-hotjar","owner":"VirtoCommerce","description":"Hotjar Module For VirtoCommerce Frontend","archived":false,"fork":false,"pushed_at":"2024-11-04T09:39:22.000Z","size":268,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-22T13:37:57.122Z","etag":null,"topics":["analytics","ecommerce","frontend","hotjar","virtocommerce"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@virto-commerce/front-modules-hotjar","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VirtoCommerce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-06T10:33:23.000Z","updated_at":"2024-11-04T09:38:36.000Z","dependencies_parsed_at":"2024-06-10T15:03:22.667Z","dependency_job_id":"31530996-2bb2-4c60-9e04-ae1579890688","html_url":"https://github.com/VirtoCommerce/vc-module-front-hotjar","commit_stats":null,"previous_names":["virtocommerce/vc-module-front-hotjar"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtoCommerce%2Fvc-module-front-hotjar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtoCommerce%2Fvc-module-front-hotjar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtoCommerce%2Fvc-module-front-hotjar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtoCommerce%2Fvc-module-front-hotjar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VirtoCommerce","download_url":"https://codeload.github.com/VirtoCommerce/vc-module-front-hotjar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248992557,"owners_count":21195068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analytics","ecommerce","frontend","hotjar","virtocommerce"],"created_at":"2024-11-16T09:23:34.353Z","updated_at":"2025-04-15T02:24:30.349Z","avatar_url":"https://github.com/VirtoCommerce.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotjar Module For VirtoCommerce Frontend\n\nThis 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.\n\n## Installation\n\ninstall the latest version\n\n```bash\nyarn add @virto-commerce/front-modules-hotjar\n```\n\nor install a specific version\n\n```bash\nyarn add @virto-commerce/front-modules-hotjar@1.0.0\n```\n\n## Usage\n\n### Import the Module\n\nImport the `useHotjarModule` composable in your Vue component:\n\n```ts\nimport { useHotjarModule } from \"@virto-commerce/front-modules-hotjar\";\n```\n\nbut preferably use async import\n\n```ts\nconst { useHotjarModule } = await import(\"@virto-commerce/front-modules-hotjar\");\n```\n\n### Initialize Hotjar\n\nTo initialize Hotjar, call the `initModule` method with the appropriate properties:\n\n```ts\nconst { initModule } = useHotjarModule();\n\ninitModule({\n  getModuleSettings,\n  isDevelopment: IS_DEVELOPMENT,\n  logger: Logger,\n  userId: user.value.id,\n});\n```\n\n## Publishing the Package\n\nTo 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.\n\n## Links\n\n- [Hotjar](https://www.hotjar.com/)\n- [Hotjar Module](https://github.com/VirtoCommerce/vc-module-hotjar)\n- [Npm module](https://www.npmjs.com/package/@virto-commerce/front-modules-hotjar)\n\n## License\n\nCopyright (c) Virto Solutions LTD. All rights reserved.\n\nThis software is licensed under the Virto Commerce Open Software License (the \"License\"); you\nmay not use this file except in compliance with the License. You may\nobtain a copy of the License at http://virtocommerce.com/opensourcelicense.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtocommerce%2Fvc-module-front-hotjar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtocommerce%2Fvc-module-front-hotjar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtocommerce%2Fvc-module-front-hotjar/lists"}