PHPackages                             innoweb/silverstripe-googleanalytics - 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. innoweb/silverstripe-googleanalytics

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

innoweb/silverstripe-googleanalytics
====================================

Adds Google Analytics to the site using Gtag or Google Tag Manager.

6.0.0(3w ago)026.2k↓23.8%41BSD-3-ClausePHP

Since Dec 28Pushed 3w ago3 watchersCompare

[ Source](https://github.com/xini/silverstripe-googleanalytics)[ Packagist](https://packagist.org/packages/innoweb/silverstripe-googleanalytics)[ Docs](http://github.com/xini/silverstripe-googleanalytics)[ RSS](/packages/innoweb-silverstripe-googleanalytics/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (25)Used By (1)

silverstripe-googleanalytics
============================

[](#silverstripe-googleanalytics)

Overview
--------

[](#overview)

Adds Google Analytics to the site supporting:

- Global Site Tag (gtag.js)
- Google Tag Manager (GTM)

The module is derived from [Shea's analytics module for multisites](https://github.com/sheadawson/silverstripe-multisites-googleanalytics) and supports single site, [multisites](https://github.com/symbiote/silverstripe-multisites) and [configured-multisites](https://github.com/fromholdio/silverstripe-configured-multisites) setups.

Requirements
------------

[](#requirements)

- Silverstripe 6

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

[](#installation)

Install the module using composer:

```
composer require innoweb/silverstripe-googleanalytics dev-master

```

Add `` in the `head` and `` right after the opening `body` tag in your main page template.

Then run dev/build.

Usage
-----

[](#usage)

All settings can be configured from the CMS.

In your SiteConfig (or the config of your Site when using multisites) you find a tab 'Google Analytics'. Select the analytics type you have setup for your GA account and add the ID. Done.

All GA code only gets inserted in live mode.

License
-------

[](#license)

BSD 3-Clause License, see [License](license.md)

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance95

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 89.7% 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 ~166 days

Recently: every ~207 days

Total

24

Last Release

21d ago

Major Versions

2.1.0 → 3.0.02017-02-20

1.x-dev → 3.0.22018-05-04

3.x-dev → 4.0.02018-07-02

4.x-dev → 5.0.02023-03-22

5.x-dev → 6.0.02026-06-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d2e71d7787401a7bd4916062346163897f89f455d650ab32b5d60cd14825ad3?d=identicon)[xini](/maintainers/xini)

---

Top Contributors

[![xini](https://avatars.githubusercontent.com/u/1152403?v=4)](https://github.com/xini "xini (35 commits)")[![dizzystuff](https://avatars.githubusercontent.com/u/576903?v=4)](https://github.com/dizzystuff "dizzystuff (2 commits)")[![jsirish](https://avatars.githubusercontent.com/u/1163643?v=4)](https://github.com/jsirish "jsirish (1 commits)")[![portable-michael-nk](https://avatars.githubusercontent.com/u/116705214?v=4)](https://github.com/portable-michael-nk "portable-michael-nk (1 commits)")

---

Tags

silverstripeanalyticstag managermultisitesevent tracking

### Embed Badge

![Health badge](/badges/innoweb-silverstripe-googleanalytics/health.svg)

```
[![Health](https://phpackages.com/badges/innoweb-silverstripe-googleanalytics/health.svg)](https://phpackages.com/packages/innoweb-silverstripe-googleanalytics)
```

###  Alternatives

[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)[axllent/silverstripe-analytics-js

Google Universal Analytics tracking code for Silverstripe

1721.4k](/packages/axllent-silverstripe-analytics-js)

PHPackages © 2026

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