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

AbandonedArchivedSilverstripe-module[Utility &amp; Helpers](/categories/utility)

moe/google-analytics
====================

Very basic module which was designed to load Google Analytics in a standard manner on all websites.

v1.0.1(10y ago)26411BSD-3-ClausePHP

Since May 6Pushed 10y agoCompare

[ Source](https://github.com/peavers/silverstripe-google-analytics)[ Packagist](https://packagist.org/packages/moe/google-analytics)[ RSS](/packages/moe-google-analytics/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Synopsis
--------

[](#synopsis)

Very basic module which was designed to load Google Analytics in a standard manner on all websites.

Features
--------

[](#features)

- A single text field can accept both Google Tag Manager and Universal Analytics codes
- Javascript is loaded into the template with no changes required to theme files
- Removes the default CWP GA text field to avoid confusion

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

[](#installation)

### Composer

[](#composer)

Make sure you've removed all Google Analytics code from your template

Ideally composer will be used to install this module. `composer require "moe/google-analytics:@stable"`

CMS Setup/Usage
---------------

[](#cms-setupusage)

### Set Google code

[](#set-google-code)

- In the CMS under settings is a tab called "Google Analytics" There is a single text field in this tab which accepts either a Universal or Tag Manager formatted code

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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 ~84 days

Total

2

Last Release

3991d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e73556e40ee94b2511f93fe26a538633e9c5c97d76b883a837ed8e8c552396a?d=identicon)[peavers](/maintainers/peavers)

---

Top Contributors

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

---

Tags

googleanalytics

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-analytics

A Laravel package to retrieve Google Analytics data.

3.3k6.1M67](/packages/spatie-laravel-analytics)[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[setono/sylius-analytics-plugin

Google Analytics plugin for Sylius

23329.9k](/packages/setono-sylius-analytics-plugin)[lexik/data-layer-bundle

Manipulate the Google Tag Manager Data Layer from your Symfony application.

14114.5k](/packages/lexik-data-layer-bundle)

PHPackages © 2026

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