定制 bogdanarizancu/hotjar-craft-cms 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bogdanarizancu/hotjar-craft-cms

最新稳定版本:v1.0.3

Composer 安装命令:

composer require bogdanarizancu/hotjar-craft-cms

包简介

Craft CMS plugin for integrating Hotjar easily

README 文档

README

Lightweight, privacy-conscious plugin for effortlessly integrating Hotjar with Craft CMS.

🚀 Features

  • Automatic Hotjar script injection
  • Environment-aware loading (e.g. only on production)
  • Control panel interface for easy management
  • Multi-environment support (dev/staging/prod)
  • Ready for seamless cookie consent integrations

✨ Changes & Donate Support

This plugin is free for everyone. If you find it useful, consider supporting via PayPal: Tips here

📦 Installation

Install using Composer:

composer require bogdanarizancu/hotjar-craft-cms

⚙️ Configuration

After installation, navigate to Settings → Hotjar for Craft CMS:

Enter your Hotjar Site ID (e.g., 1234567)

Toggle plugin on/off

Select which environments should load the Hotjar script

💻 Requirements

Craft CMS 4.0+

PHP 8.0+

🧪 Local Development / Testing

To test or contribute to the plugin locally:

Clone the repository into your Craft project's root:

git clone git@github.com:bogdanarizancu/hotjar-craft-cms.git modules/hotjar

Add a local path repository entry in your composer.json:

"repositories": [
  {
    "type": "path",
    "url": "./modules/hotjar"
  }
]

Require it:

composer require bogdanarizancu/hotjar-craft-cms:@dev

Install it from the Craft CP.

🧾 License

MIT © Bogdan Arizancu

☕ Support This Plugin

This plugin is free and open source. If you find it helpful, consider supporting its development:

👉 https://ko-fi.com/hotjarcraftcms

Your support is deeply appreciated! ❤️

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-21