PHPackages                             unocha/gtm\_barebones - 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. unocha/gtm\_barebones

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

unocha/gtm\_barebones
=====================

OCHA fork of GTM Barebones.

2.0.0(2mo ago)012.6k↓46.2%PHPPHP &gt;=8.2

Since Jun 2Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/UN-OCHA/gtm_barebones)[ Packagist](https://packagist.org/packages/unocha/gtm_barebones)[ RSS](/packages/unocha-gtm-barebones/feed)WikiDiscussions 2.x Synced 1mo ago

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

OCHA GTM Barebones
==================

[](#ocha-gtm-barebones)

Originally forked from [GTM Barebones](https://www.drupal.org/project/gtm_barebones) with modifications to defer the scripts. This was done after [discussion with the project maintainer](https://www.drupal.org/project/gtm_barebones/issues/3415279#comment-15404703) since the option couldn't really be added without complicating the module beyond the maintainer's desire.

Usage
-----

[](#usage)

This module does not expose its configuration to the admin UI. You can choose to export and modify config, or utilise config overrides in `settings.php`:

```
$config['gtm_barebones.settings']['container_id'] = 'GTM-ABCDEFGHIJK';
$config['gtm_barebones.settings']['environment_id'] = 'env-123456';
$config['gtm_barebones.settings']['environment_token'] = 'iBN8NANliiuqnAAi81LapqkkdUIjak';
```

CSP (Content Security Policy)
=============================

[](#csp-content-security-policy)

If your site enforces CSP, you must add configure CSP directives.

Consider using the [CSP module](https://www.drupal.org/project/csp)

Then add the directives in

Note the extra directives required for things like Preview mode, and Google Analytics integration.

License
-------

[](#license)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance87

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 54.2% 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 ~101 days

Recently: every ~176 days

Total

11

Last Release

62d ago

Major Versions

1.x-dev → 2.0.02026-03-17

PHP version history (2 changes)1.0.0-alpha1PHP &gt;=8.1

1.1.3PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/346443feed98de86efcea04bbc5094dc2a4146181bca1e8936beb6ac46eed455?d=identicon)[unocha](/maintainers/unocha)

---

Top Contributors

[![cafuego](https://avatars.githubusercontent.com/u/148719?v=4)](https://github.com/cafuego "cafuego (13 commits)")[![rupl](https://avatars.githubusercontent.com/u/254753?v=4)](https://github.com/rupl "rupl (4 commits)")[![orakili](https://avatars.githubusercontent.com/u/696348?v=4)](https://github.com/orakili "orakili (3 commits)")[![dpi](https://avatars.githubusercontent.com/u/21850?v=4)](https://github.com/dpi "dpi (2 commits)")[![lazysoundsystem](https://avatars.githubusercontent.com/u/67453?v=4)](https://github.com/lazysoundsystem "lazysoundsystem (2 commits)")

### Embed Badge

![Health badge](/badges/unocha-gtm-barebones/health.svg)

```
[![Health](https://phpackages.com/badges/unocha-gtm-barebones/health.svg)](https://phpackages.com/packages/unocha-gtm-barebones)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)

PHPackages © 2026

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