PHPackages                             vineyard/statamic-ga-dashboard - 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. vineyard/statamic-ga-dashboard

ActiveLibrary

vineyard/statamic-ga-dashboard
==============================

v1.0.3(1y ago)014PHP

Since Dec 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/zvineyard/statamic-ga-dashboard)[ Packagist](https://packagist.org/packages/vineyard/statamic-ga-dashboard)[ RSS](/packages/vineyard-statamic-ga-dashboard/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Statamic GA Dashboard Widget
============================

[](#statamic-ga-dashboard-widget)

Statamic GA Dashboard is a Statamic addon that adds a Google Analytics widget to your Statamic dashboard, letting site users/owners see how much traffic is coming to their site.

How to Install
--------------

[](#how-to-install)

You can search for this addon in the `Tools > Addons` section of the Statamic control panel and click **install**, or run the following command from your project root:

```
composer require vineyard/statamic-ga-dashboard
```

Publish the addon's config file:

```
php artisan vendor:publish --provider="Vineyard\StatamicGaDashboard\ServiceProvider"
```

This addon relies on the Spatie Laravel Analytics package and you'll need to follow their excellent [instructions on obtaining credentials to communicate with Google Analytics](https://github.com/spatie/laravel-analytics?tab=readme-ov-file#how-to-obtain-the-credentials-to-communicate-with-google-analytics).

After folling the instructions to get GA credentials, you'll need to copy the credentails file to following place. This is a file you'll want to reference in your site's .gitignore to keep it from being committed to a Git repo.

```
/storage/app/analytics/service-account-credentials.json
```

You'll also have a ANALYTICS\_PROPERTY\_ID listed in your .env file, siilar to this:

```
ANALYTICS_PROPERTY_ID=##########
```

How to Use
----------

[](#how-to-use)

Add the GA Dashboard widget to a dashboard in Statamic by changing the Dashboard Widgets config in `config/statamic/cp` to include the ga\_traffic widget.

```
/*
|--------------------------------------------------------------------------
| Dashboard Widgets
|--------------------------------------------------------------------------
|
| Here you may define any number of dashboard widgets. You're free to
| use the same widget multiple times in different configurations.
|
*/

'widgets' => [
    'getting_started',
    [
        'type' => 'ga_traffic',
    ]
],
```

You can change the number of days show on the widget's chart by changing the number of days in the addon's configuration file at `config/statamic-ga-dashboard.php`.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance40

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

505d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9cd742a5efe784b4e306f96fd6ee2df0ad00f62c7a3ace45d10656b8e243da17?d=identicon)[zvineyard](/maintainers/zvineyard)

---

Top Contributors

[![zvineyard](https://avatars.githubusercontent.com/u/750586?v=4)](https://github.com/zvineyard "zvineyard (7 commits)")

### Embed Badge

![Health badge](/badges/vineyard-statamic-ga-dashboard/health.svg)

```
[![Health](https://phpackages.com/badges/vineyard-statamic-ga-dashboard/health.svg)](https://phpackages.com/packages/vineyard-statamic-ga-dashboard)
```

###  Alternatives

[area17/twill

Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible.

4.0k445.4k16](/packages/area17-twill)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[tightenco/nova-google-analytics

Google Analytics integration with Nova

166127.8k2](/packages/tightenco-nova-google-analytics)[fusioncms/cms

Core of FusionCMS

431.1k3](/packages/fusioncms-cms)

PHPackages © 2026

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