PHPackages                             thomaswelton/laravel-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. thomaswelton/laravel-google-analytics

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

thomaswelton/laravel-google-analytics
=====================================

81.2k3[1 issues](https://github.com/thomaswelton/laravel-google-analytics/issues)PHP

Since Nov 14Pushed 12y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a37259c10241ea722ef3fa759e1df7097f14bef29a8532fbd9ccce0ba2394d30/68747470733a2f2f7472617669732d63692e6f72672f74686f6d617377656c746f6e2f6c61726176656c2d676f6f676c652d616e616c79746963732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/thomaswelton/laravel-google-analytics)[![Latest Stable Version](https://camo.githubusercontent.com/cb66f5ce912d51524c952bf6294b7e01c9a9277733a8663b33c482e0cce36c64/68747470733a2f2f706f7365722e707567782e6f72672f74686f6d617377656c746f6e2f6c61726176656c2d676f6f676c652d616e616c79746963732f762f737461626c652e706e67)](https://packagist.org/packages/thomaswelton/laravel-google-analytics)[![Total Downloads](https://camo.githubusercontent.com/b076791a9681725d87ebc5ad02858f048f2bdb7f7841ff5885de192c112245ef/68747470733a2f2f706f7365722e707567782e6f72672f74686f6d617377656c746f6e2f6c61726176656c2d676f6f676c652d616e616c79746963732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/thomaswelton/laravel-google-analytics)[![Bitdeli Badge](https://camo.githubusercontent.com/511631c0e5df3f71358894c5c109680370116b769a438763ac97108da4f3cc3a/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f74686f6d617377656c746f6e2f6c61726176656c2d676f6f676c652d616e616c79746963732f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

Installation
============

[](#installation)

Update your `composer.json` file to include this package as a dependency

```
"thomaswelton/laravel-google-analytics": "dev-master"
```

Register the GoogleAnalytics service provider by adding it to the providers array in the `app/config/app.php` file.

```
Thomaswelton\LaravelGoogleAnalytics\LaravelGoogleAnalyticsServiceProvider

```

Alias the GoogleAnalytics facade by adding it to the aliases array in the `app/config/app.php` file.

```
'aliases' => array(
	'GoogleAnalytics' => 'Thomaswelton\LaravelGoogleAnalytics\Facades\GoogleAnalytics'
)
```

Configuration
=============

[](#configuration)

Copy the config file into your project by running

```
php artisan config:publish thomaswelton/laravel-google-analytics

```

Edit the config file to include your account ID

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

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://avatars.githubusercontent.com/u/678372?v=4)[Thomas Welton](/maintainers/thomaswelton)[@thomaswelton](https://github.com/thomaswelton)

---

Top Contributors

[![thomaswelton](https://avatars.githubusercontent.com/u/678372?v=4)](https://github.com/thomaswelton "thomaswelton (5 commits)")

### Embed Badge

![Health badge](/badges/thomaswelton-laravel-google-analytics/health.svg)

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

PHPackages © 2026

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