PHPackages                             silinternational/app-deployment-tracker-ga - 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. silinternational/app-deployment-tracker-ga

AbandonedArchivedLibrary

silinternational/app-deployment-tracker-ga
==========================================

Simple script as Docker image for tracking application deployments with Google Analytics from a CI/CD environment

1.0.3(3y ago)0471MITPHP

Since Jan 20Pushed 3y ago3 watchersCompare

[ Source](https://github.com/sil-org/app-deployment-tracker-ga)[ Packagist](https://packagist.org/packages/silinternational/app-deployment-tracker-ga)[ RSS](/packages/silinternational-app-deployment-tracker-ga/feed)WikiDiscussions master Synced 2mo ago

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

Application Deployment Tracker using Google Analytics
=====================================================

[](#application-deployment-tracker-using-google-analytics)

This script uses Google Analytics to track an event whenever a deployment occurs. Calls to this script should be added to your deployment pipeline to be run after a successful deployment.

Since it is using Google Analytics there are some parameters where the names may not be intuitive to this usage. All parameters used are documented here.

GA Parameters
-------------

[](#ga-parameters)

GA ParameterEnv Variable NameRequiredDefault ValueDescriptionTracking IDTRACKING\_IDtruenoneThe GA property tracking ID, UA-somethingUser IDUSER\_IDfalsenoneProject or repo name, ex: silinternational/app-deployment-tracker-gaUSER\_ID\_VALUE\_ENV\_VARfalseCI\_REPO\_NAMEIf you want to get data source from another env var, specify the env var name here. For example `CI_NAME`Data SourceDATA\_SOURCEfalsescriptName for source of where event came from, ex: script, codeship, etc.DATA\_SOURCE\_VALUE\_ENV\_VARfalseCI\_NAMEIf you want to get data source from another env var, specify the env var name here. For example `CI_NAME`Event CategoryEVENT\_CATEGORYfalseapp-deploymentCategory for eventsEvent ActionEVENT\_ACTIONfalsemasterAction for event, default is "master" for master branch deploymentsEVENT\_ACTION\_VALUE\_ENV\_VARfalseCI\_BRANCHIf you want to pull the event action from another env var, specify the env var name here. For example `CI_BRANCH`Event LabelEVENT\_LABELfalseUSER\_IDFriendly name for project that was deployed, will use the same value as USER\_ID if not providedDocument TitleDOCUMENT\_TITLEfalseUSER\_IDFriendly name for project that was deployed, will use the same value as USER\_ID if not providedIt may be confusing at first, but we use the env vars above suffixed with `_VALUE_ENV_VAR` to allow us to load values dynamically from the CI environment. If you want to specify your own values you should set the `_VALUE_ENV_VAR` env var to the name of another env var that contains the value you provide.

For example, if you want `Data Source` to be "my own source name", you would set the following environment variables:

- `DATA_SOURCE_VALUE_ENV_VAR=DATA_SOURCE`
- `DATA_SOURCE=my own source name`

Reference
---------

[](#reference)

- PHP library used to send measurement events to Google: [theiconic/php-ga-measurement-protocol](https://github.com/theiconic/php-ga-measurement-protocol)
- List of properties that can be sent with measurements:

License - MIT
=============

[](#license---mit)

MIT License

Copyright (c) 2017 SIL International

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.6% 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 ~191 days

Total

3

Last Release

1188d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/836739aa4f60c754dc9a4a547ebd0c166e4b6e855d9f119df2be5aec92f3a375?d=identicon)[forevermatt](/maintainers/forevermatt)

---

Top Contributors

[![forevermatt](https://avatars.githubusercontent.com/u/6233204?v=4)](https://github.com/forevermatt "forevermatt (10 commits)")[![fillup](https://avatars.githubusercontent.com/u/556105?v=4)](https://github.com/fillup "fillup (7 commits)")[![Baggerone](https://avatars.githubusercontent.com/u/8058522?v=4)](https://github.com/Baggerone "Baggerone (2 commits)")

### Embed Badge

![Health badge](/badges/silinternational-app-deployment-tracker-ga/health.svg)

```
[![Health](https://phpackages.com/badges/silinternational-app-deployment-tracker-ga/health.svg)](https://phpackages.com/packages/silinternational-app-deployment-tracker-ga)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)[hardcastle/xrpl_php

PHP SDK / Client for the XRP Ledger

129.7k5](/packages/hardcastle-xrpl-php)

PHPackages © 2026

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