PHPackages                             detain/myadmin-google-analytics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. detain/myadmin-google-analytics

ActiveMyadmin-plugin[Utility &amp; Helpers](/categories/utility)

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.

v2.0.0(7y ago)4730[1 PRs](https://github.com/myadmin-plugins/google-analytics/pulls)LGPL-2.1-onlyPHPPHP &gt;=5.0.0CI failing

Since Jul 10Pushed 2w agoCompare

[ Source](https://github.com/myadmin-plugins/google-analytics)[ Packagist](https://packagist.org/packages/detain/myadmin-google-analytics)[ RSS](/packages/detain-myadmin-google-analytics/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (8)Versions (4)Used By (0)

MyAdmin Google Analytics Plugin
===============================

[](#myadmin-google-analytics-plugin)

Google Analytics integration plugin for the [MyAdmin](https://github.com/detain/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](https://github.com/detain/myadmin-google-analytics/actions/workflows/tests.yml/badge.svg)](https://github.com/detain/myadmin-google-analytics/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/ee5265ee649262ac703a2521cf4c51abb1e6a26e214297d3e064b7172581040f/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d676f6f676c652d616e616c79746963732f76657273696f6e)](https://packagist.org/packages/detain/myadmin-google-analytics)[![Total Downloads](https://camo.githubusercontent.com/0b2a26fa5ae3997e1ba704d0b57d6c43757bfea01a8006b25f2773dfead1501e/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d676f6f676c652d616e616c79746963732f646f776e6c6f616473)](https://packagist.org/packages/detain/myadmin-google-analytics)[![License](https://camo.githubusercontent.com/61800b15945521e35869365fdd11092340394e191aa43119e660c7c2955afa94/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d676f6f676c652d616e616c79746963732f6c6963656e7365)](https://packagist.org/packages/detain/myadmin-google-analytics)

Installation
------------

[](#installation)

Install via Composer:

```
composer require detain/myadmin-google-analytics
```

Usage
-----

[](#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
-------------

[](#running-tests)

```
composer install
vendor/bin/phpunit
```

License
-------

[](#license)

This package is licensed under the [LGPL-2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) license.

###  Health Score

41

↑

FairBetter than 89% of packages

Maintenance63

Regular maintenance activity

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~632 days

Total

2

Last Release

2599d ago

Major Versions

v0.9.0 → v2.0.02019-04-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1036e0717211b8030b83cbe729e8ba6ba442fdbd5285fb97a39d7dcfe339342?d=identicon)[detain](/maintainers/detain)

---

Top Contributors

[![detain](https://avatars.githubusercontent.com/u/1364504?v=4)](https://github.com/detain "detain (39 commits)")

---

Tags

analyticsgooglemyadminpluginspamAbuseadministration

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/detain-myadmin-google-analytics/health.svg)

```
[![Health](https://phpackages.com/badges/detain-myadmin-google-analytics/health.svg)](https://phpackages.com/packages/detain-myadmin-google-analytics)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
