PHPackages                             nswdpc/silverstripe-analytics-chooser - 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. nswdpc/silverstripe-analytics-chooser

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

nswdpc/silverstripe-analytics-chooser
=====================================

Analytics chooser extensions for site settings.

v0.5.0(9mo ago)02.4k[1 issues](https://github.com/nswdpc/silverstripe-analytics-chooser/issues)[1 PRs](https://github.com/nswdpc/silverstripe-analytics-chooser/pulls)1BSD-3-ClausePHP

Since Jun 2Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/nswdpc/silverstripe-analytics-chooser)[ Packagist](https://packagist.org/packages/nswdpc/silverstripe-analytics-chooser)[ RSS](/packages/nswdpc-silverstripe-analytics-chooser/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (10)Versions (12)Used By (1)

Analytics Chooser for Silverstripe settings
===========================================

[](#analytics-chooser-for-silverstripe-settings)

Provides a basic set of analytics services, to choose within the site settings administration area.

Currently supported:

- GA4
- GA3
- GTM
- GTM (with CSP nonce support)

Developers can provide their own service by creating a class that implements the abstract service.

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

[](#installation)

```
composer require nswdpc/silverstripe-analytics-chooser
```

Usage
-----

[](#usage)

Once installed, your theme will need to include the templates provided by this module:

### Document

[](#document-)

```

```

### Document

[](#document--1)

Apply an iframe if using GTM:

```

```

You can override these templates in your project theme, in the usual Silverstripe way.

License
-------

[](#license)

[BSD-3-Clause](./LICENSE.md)

Documentation
-------------

[](#documentation)

- [Documentation](./docs/en/001_index.md)

Configuration
-------------

[](#configuration)

None, currently

Maintainers
-----------

[](#maintainers)

- [dpcdigital@NSWDPC:~$](https://dpc.nsw.gov.au)

Bugtracker
----------

[](#bugtracker)

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the [code of conduct](./code-of-conduct.md) prior to opening a new issue.

Security
--------

[](#security)

If you have found a security issue with this module, please email digital\[@\]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the [code of conduct](./code-of-conduct.md) prior to completing a pull request.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance58

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.5% 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 ~114 days

Recently: every ~94 days

Total

8

Last Release

280d ago

Major Versions

v0.4.0 → v1.0.0-rc12025-07-30

v0.5.0 → v1.0.0-rc22025-08-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/1caefd99092b4a43254e48c40347224f671032ec1ffc3a457e06a7e9ab6e7c02?d=identicon)[nswdpc](/maintainers/nswdpc)

---

Top Contributors

[![JamesDPC](https://avatars.githubusercontent.com/u/69664712?v=4)](https://github.com/JamesDPC "JamesDPC (37 commits)")[![tardinha](https://avatars.githubusercontent.com/u/457209?v=4)](https://github.com/tardinha "tardinha (3 commits)")

---

Tags

silverstripeanalyticsnsw

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nswdpc-silverstripe-analytics-chooser/health.svg)

```
[![Health](https://phpackages.com/badges/nswdpc-silverstripe-analytics-chooser/health.svg)](https://phpackages.com/packages/nswdpc-silverstripe-analytics-chooser)
```

###  Alternatives

[axllent/silverstripe-analytics-js

Google Universal Analytics tracking code for Silverstripe

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

PHPackages © 2026

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