PHPackages                             thelia/google-universal-analytics - 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. thelia/google-universal-analytics

ActiveThelia-module

thelia/google-universal-analytics
=================================

Google Universal Analytics integration for ecommerce tracking

3.0.0(3y ago)128.5k↓50%1[1 issues](https://github.com/thelia-modules/GoogleUniversalAnalytics/issues)LGPL-3.0+PHP

Since Oct 2Pushed 3y ago4 watchersCompare

[ Source](https://github.com/thelia-modules/GoogleUniversalAnalytics)[ Packagist](https://packagist.org/packages/thelia/google-universal-analytics)[ RSS](/packages/thelia-google-universal-analytics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (9)Used By (0)

Google Universal Analytics
==========================

[](#google-universal-analytics)

This module uses the Google Measurement Protocol and add ecommerce information in your google analytics account.

It only works if you have enabled the Google Universal Analytics.

For each new order paid, the module send to Analytics a new transaction and all items attached to this transaction.

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

[](#installation)

If you are using Thelia 2.0.\* please download from branch 2.0 or tag 2.0.\*.

If you are using Thelia 2.1.\* please download from branch master or tag 2.1.\*

Following which version of the module you use, the integration is different. Read carefully the good readme.

- Copy the module into `/local/modules/` directory and be sure that the name of the module is GoogleUniversalAnalytics
- Activate it in your Thelia administration panel, then click on "configure" and enter your Analytics id (UA-XXXXX-X) and save it.

Integration
-----------

[](#integration)

No integration needed, the hook `order-invoice.after-javascript-include` is used

This script must be placed after the google analytics code.

Usage
-----

[](#usage)

The ecommerce option must be activated in your view parameter in your Analytics account.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 55% 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 ~491 days

Recently: every ~736 days

Total

7

Last Release

1301d ago

Major Versions

2.1.3 → 3.0.02022-10-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![lunika](https://avatars.githubusercontent.com/u/767834?v=4)](https://github.com/lunika "lunika (11 commits)")[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (7 commits)")[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (2 commits)")

### Embed Badge

![Health badge](/badges/thelia-google-universal-analytics/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-google-universal-analytics/health.svg)](https://phpackages.com/packages/thelia-google-universal-analytics)
```

PHPackages © 2026

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