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

Abandoned → [lerni/silverstripe-tracking](/?search=lerni%2Fsilverstripe-tracking)Silverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

lerni/silverstripe-googleanalytics
==================================

DEPRECATED: Use lerni/silverstripe-tracking instead. Google Analytics, Tag Manager &amp; Microsoft Clarity Tracking Module for Silverstripe

0.1.1(7y ago)15.4k1BSD-3-ClausePHP

Since Jan 8Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/lerni/googleanalytics)[ Packagist](https://packagist.org/packages/lerni/silverstripe-googleanalytics)[ Docs](https://github.com/lerni/googleanalytics)[ RSS](/packages/lerni-silverstripe-googleanalytics/feed)WikiDiscussions 4.x Synced 2mo ago

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

Silverstripe Analytics, Tag Manager &amp; Clarity Module
========================================================

[](#silverstripe-analytics-tag-manager--clarity-module)

A module to add Google Analytics (UA, v4) &amp; Tag-Manager (just script version but not noscript iframe) &amp; Clarity Trackingcode per SiteConfig in CMS

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

[](#requirements)

- silverstripe/cms ^4
- silverstripe/siteconfig ^4

Suggested
---------

[](#suggested)

- lerni/klaro-cookie-consent

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

[](#installation)

[Composer](https://getcomposer.org/) is the recommended way of installing Silverstripe modules.

`composer require lerni/silverstripe-googleanalytics`

Run `dev/build`

This module allows XML files to be uploaded into assets.

How to use
----------

[](#how-to-use)

Set the Tracking IDs in yoursite.tld/admin/settings and you're set.

Hint
----

[](#hint)

- Trackingcodes are only shown in live-mode.
- opt-out may use `lerni/klaro-cookie-consent`

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.3% 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 ~789 days

Total

4

Last Release

312d ago

Major Versions

0.1.1 → 3.x-dev2020-09-02

3.x-dev → 5.x-dev2025-06-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/e68b89567976eada21fddc5e776f4adcbe15ad846150cbcde6eb24bc185a8e5f?d=identicon)[lerni](/maintainers/lerni)

---

Top Contributors

[![lerni](https://avatars.githubusercontent.com/u/472115?v=4)](https://github.com/lerni "lerni (23 commits)")[![wernerkrauss](https://avatars.githubusercontent.com/u/1043925?v=4)](https://github.com/wernerkrauss "wernerkrauss (6 commits)")

---

Tags

googlesilverstripeGoogle Tag Managergoogle-analytics

### Embed Badge

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

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

###  Alternatives

[cyber-duck/silverstripe-google-tag-manager

Add Tag Manager data layer, events, and ecommerce support for SilverStripe

1528.0k](/packages/cyber-duck-silverstripe-google-tag-manager)

PHPackages © 2026

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