PHPackages                             dmitrybukhonov/yii2-utm-tags - 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. dmitrybukhonov/yii2-utm-tags

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

dmitrybukhonov/yii2-utm-tags
============================

Yii2 tracking utm metrics

04PHP

Since Sep 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dmitrybukhonov/yii2-utm-tags)[ Packagist](https://packagist.org/packages/dmitrybukhonov/yii2-utm-tags)[ RSS](/packages/dmitrybukhonov-yii2-utm-tags/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 tracking utm metrics
=========================

[](#yii2-tracking-utm-metrics)

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

[](#installation)

Either run

```
php composer.phar require --prefer-dist dmitrybukhonov/yii2-utm-tags "*"

```

or

```
composer require --prefer-dist dmitrybukhonov/yii2-utm-tags "*"

```

or add to the `require` section of your composer.json.

```
"dmitrybukhonov/yii2-utm-tags": "*"

```

### Usage as controller behavior

[](#usage-as-controller-behavior)

You need to register the module in `frontend/config/main.php` :

```
$config = [
    'on beforeAction' => function ($event) {
        $requestService = new \frontend\services\CityDetectionService();
        $requestService->handleBeforeActionEvent($event);
        $utmService = new UtmService();
        $utmService->setUtm();
    },
]

```

Licence
-------

[](#licence)

MIT

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/656b6602265d8c92772f818649223932789d9d108646bb079b18965dcb2f74c5?d=identicon)[dmitrybukhonov](/maintainers/dmitrybukhonov)

---

Top Contributors

[![dbuhonov](https://avatars.githubusercontent.com/u/47827492?v=4)](https://github.com/dbuhonov "dbuhonov (2 commits)")

### Embed Badge

![Health badge](/badges/dmitrybukhonov-yii2-utm-tags/health.svg)

```
[![Health](https://phpackages.com/badges/dmitrybukhonov-yii2-utm-tags/health.svg)](https://phpackages.com/packages/dmitrybukhonov-yii2-utm-tags)
```

PHPackages © 2026

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