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

Abandoned → [burnbright/silvershop-googleanalytics](/?search=burnbright%2Fsilvershop-googleanalytics)Silverstripe-module[Utility &amp; Helpers](/categories/utility)

burnbright/silverstripe-shop-googleanalytics
============================================

Integrate SilverStripe shop sales with google analytics.

1.2.0(5y ago)11.5k6[1 PRs](https://github.com/burnbright/silvershop-googleanalytics/pulls)BSD-2-ClausePHPCI failing

Since Jul 17Pushed 5y ago2 watchersCompare

[ Source](https://github.com/burnbright/silvershop-googleanalytics)[ Packagist](https://packagist.org/packages/burnbright/silverstripe-shop-googleanalytics)[ RSS](/packages/burnbright-silverstripe-shop-googleanalytics/feed)WikiDiscussions master Synced 2d ago

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

Shop Google Analytics Tracking
==============================

[](#shop-google-analytics-tracking)

Setup
-----

[](#setup)

Add the following to your yaml config:

```
ShopGoogleAnalytics:
  web_property_id: UA-XXXXXX-X
```

Some additional configuration options (all on the ShopGoogleAnalytics object):

- disable\_on\_dev - by default analytics code is not included unless Director::isLive() is true, setting this to false causes it to show up any time
- no\_sku\_prefix - if an item doesn't have a SKU/InternalItemID set we need to send something to google using this prefix and the ID
- disable\_pageviews - don't include the basic pageview code. set this to true if using another analytics module such as silverstripe/googleanalytics
- use\_requirements - default is true, which uses Requirements::customScript to insert the tracking code. Set this to false and add $GoogleAnalyticsJS to your template to have more control over where the code goes.
- tracking\_type - 'Universal' or 'Classic' - default is Classic to maintain backwards compatibility
- tracking\_code - allows finer grained control over the templates used to generate the javascript

TODO / Room for improvement:
----------------------------

[](#todo--room-for-improvement)

- Optionally allow recording actions: add to cart, remove, set quantity.
- Integrate analtyics reporting into CMS for an order. This way site owners an see additional info for the customer.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 66.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 ~453 days

Recently: every ~553 days

Total

6

Last Release

2050d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1356335?v=4)[Jeremy Shipman](/maintainers/jedateach)[@jedateach](https://github.com/jedateach)

---

Top Contributors

[![jedateach](https://avatars.githubusercontent.com/u/1356335?v=4)](https://github.com/jedateach "jedateach (8 commits)")[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (3 commits)")[![jeffwhitfield](https://avatars.githubusercontent.com/u/274571?v=4)](https://github.com/jeffwhitfield "jeffwhitfield (1 commits)")

---

Tags

googlesilverstripeshopanalytics

### Embed Badge

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

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

PHPackages © 2026

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