detain / myadmin-hotjar-analytics
Hotjar handling plugin for MyAdmin
Package info
github.com/myadmin-plugins/hotjar-analytics
Type:myadmin-plugin
pkg:composer/detain/myadmin-hotjar-analytics
Requires
- php: >=5.0.0
- ext-soap: *
- detain/myadmin-plugin-installer: dev-master
- symfony/event-dispatcher: >=2.8.26
Requires (Dev)
- codacy/coverage: dev-master
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: *
- phpunit/phpunit-mock-objects: *
- satooshi/php-coveralls: *
- vlucas/phpdotenv: *
This package is auto-updated.
Last update: 2026-03-19 15:46:25 UTC
README
A plugin for the MyAdmin control panel that integrates Hotjar analytics and heatmap tracking. This package provides event-driven hooks for embedding Hotjar scripts, managing analytics settings, and registering plugin requirements within the MyAdmin ecosystem.
Badges
Installation
Install via Composer:
composer require detain/myadmin-hotjar-analytics
Usage
The plugin registers itself through the MyAdmin plugin system using Symfony EventDispatcher hooks. It provides:
- getHooks() - Returns an array of event hooks the plugin subscribes to.
- getMenu() - Adds admin menu entries when the user has appropriate ACL permissions.
- getRequirements() - Registers class and function autoloading requirements with the plugin loader.
- getSettings() - Handles plugin-specific configuration settings.
Requirements
- PHP >= 5.0
- ext-soap
- symfony/event-dispatcher ^5.0
License
The MyAdmin Hotjar Analytics Plugin is licensed under the LGPL-2.1 license.