detain/myadmin-google-analytics

Google Analytics handling plugin for the MyAdmin control panel framework. Provides event-driven integration for analytics tracking, menu registration, and settings management.

Maintainers

Package info

github.com/myadmin-plugins/google-analytics

Type:myadmin-plugin

pkg:composer/detain/myadmin-google-analytics

Statistics

Installs: 252

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 1

v2.0.0 2019-04-04 08:07 UTC

This package is auto-updated.

Last update: 2026-03-19 15:46:12 UTC


README

Google Analytics integration plugin for the MyAdmin control panel framework. Provides event-driven hooks for analytics tracking, menu registration, requirement loading, and settings management within the MyAdmin plugin architecture.

Build Status Latest Stable Version Total Downloads License

Installation

Install via Composer:

composer require detain/myadmin-google-analytics

Usage

The plugin registers itself through the MyAdmin event system. It provides the following event handlers:

  • getHooks() -- Returns an array of event hooks the plugin subscribes to.
  • getMenu() -- Registers admin menu entries when the current user has appropriate permissions.
  • getRequirements() -- Registers class and function requirements with the plugin loader.
  • getSettings() -- Integrates plugin settings into the MyAdmin settings panel.

Running Tests

composer install
vendor/bin/phpunit

License

This package is licensed under the LGPL-2.1 license.