PHPackages                             sevenspan/laravel-google-utm - 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. sevenspan/laravel-google-utm

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

sevenspan/laravel-google-utm
============================

Adding Google UTM parameters to URL.

11.4kPHP

Since Sep 14Pushed 9y agoCompare

[ Source](https://github.com/7span/laravel-google-utm)[ Packagist](https://packagist.org/packages/sevenspan/laravel-google-utm)[ RSS](/packages/sevenspan-laravel-google-utm/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Add Google UTM parameters with ease
===================================

[](#add-google-utm-parameters-with-ease)

This package will add Google UTM parameters to any Laravel URL. This package will also help to add "ref" query string parameter to URL.

### In Your View

[](#in-your-view)

```

	{!! GUTM::add( url('/dashboard'),   'logo'  ) !!}

	{!! GUTM::add( url('/dashboard'),  [ 'github' , 'readme' , 'googleUTM' , 'ads' , 'githubRepo' ] ) !!}

```

Install
-------

[](#install)

First add the package to your composer:

```
{
    "require": {
       "sevenspan/laravel-google-utm": "dev-master"
    }
}

```

You must install a facade, which provides an easy way to call the the class.

```
// config/app.php
'aliases' => [
    ...
    'GUTM'      => Sevenspan\LaravelGoogleUTM\LaravelGoogleUTM::class,
    ...
];
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/08bf8e5911bd55b6328d8e1a32c786000dc7023bc741cbad255a2625ed91a75b?d=identicon)[hemratna](/maintainers/hemratna)

---

Top Contributors

[![hemratna](https://avatars.githubusercontent.com/u/1333346?v=4)](https://github.com/hemratna "hemratna (9 commits)")

### Embed Badge

![Health badge](/badges/sevenspan-laravel-google-utm/health.svg)

```
[![Health](https://phpackages.com/badges/sevenspan-laravel-google-utm/health.svg)](https://phpackages.com/packages/sevenspan-laravel-google-utm)
```

###  Alternatives

[nlac/nlsclientscript

Yii ClientScript extension for prevent reloading javascript and merging/minfying resources

208.4k](/packages/nlac-nlsclientscript)

PHPackages © 2026

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