PHPackages                             visuellverstehen/t3googleanalytics - 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. visuellverstehen/t3googleanalytics

AbandonedArchivedTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

visuellverstehen/t3googleanalytics
==================================

An easy and basic Google Analytics extension for TYPO3.

1.0.1(4y ago)17.8k[1 issues](https://github.com/visuellverstehen/t3googleanalytics/issues)MITPHPPHP ^7.0 || ^8.0

Since May 17Pushed 2y ago2 watchersCompare

[ Source](https://github.com/visuellverstehen/t3googleanalytics)[ Packagist](https://packagist.org/packages/visuellverstehen/t3googleanalytics)[ RSS](/packages/visuellverstehen-t3googleanalytics/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (1)Versions (29)Used By (0)

[![Actions](https://github.com/visuellverstehen/t3googleanalytics/workflows/TER/badge.svg)](https://github.com/visuellverstehen/t3googleanalytics/actions)[![Downloads](https://camo.githubusercontent.com/c8748ac6cd60deddddbe4f791d0323253e49325be6485c58703a598977fe499f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76697375656c6c76657273746568656e2f7433676f6f676c65616e616c79746963732e737667)](https://packagist.org/packages/visuellverstehen/t3googleanalytics)

t3googleanalytics
=================

[](#t3googleanalytics)

An easy and basic Google Analytics extension for TYPO3.

How to use
----------

[](#how-to-use)

1. Install TYPO3 extension via [composer](https://packagist.org/packages/visuellverstehen/t3googleanalytics), [TER](https://extensions.typo3.org/extension/t3googleanalytics/) or download and install manually.
2. [Configure the extension](#configuration)
3. Call `googleAnalyticsDisable()` or `googleAnalyticsEnable()` via JavaScript to disable or enable Google Analytics. By default it is enabled. The user can disable tracking with a simple button which can look like this: `Disbale GA Opt Tracking`

Configure the extension
-----------------------

[](#configure-the-extension)

There are several options to add your tracking id. The following list will show you all options in the prioritized order.

1. Add the tracking ID within the sys\_template row via the backend module

[![screenshot of the new field inside the template backend module](https://user-images.githubusercontent.com/2337693/64471407-12e3ba00-d16f-11e9-840c-2b7b4b2df39c.png)](https://user-images.githubusercontent.com/2337693/64471407-12e3ba00-d16f-11e9-840c-2b7b4b2df39c.png)

2. When you add your template through the [runThroughTemplatesPostProcessing hook](https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.6/Feature-79140-AddHookToAddCustomTypoScriptTemplates.html) add the tracking ID like so:

```
// $row is your template record array
$row['constants'] .= 'google_analytics_tracking_id = UA-11111111-1';
```

3. Add the tracking ID directly to the settings section inside your site configuration file:

```
settings:
  googleAnalyticsTrackingId: UA-11111111-1
```

Tips
----

[](#tips)

- To allow onclick events within CKEditor add `extraAllowedContent: '*(*)[onclick]'` to your CKEditor configuration file. Then you can add a link with `onclick="return googleAnalyticsDisable();"`

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 61.3% 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 ~45 days

Recently: every ~0 days

Total

28

Last Release

1742d ago

Major Versions

0.4.7 → 1.0.02021-09-15

PHP version history (3 changes)0.1.5PHP ^7.1.0

0.1.10PHP ^7.0.0

1.0.1PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/57dcd9370600b66b5ad7d99dd2b633e36d3a9458e656d650045f5f5eaf540e2d?d=identicon)[visuellverstehen](/maintainers/visuellverstehen)

---

Top Contributors

[![malteriechmann](https://avatars.githubusercontent.com/u/656568?v=4)](https://github.com/malteriechmann "malteriechmann (38 commits)")[![runepiper](https://avatars.githubusercontent.com/u/4521147?v=4)](https://github.com/runepiper "runepiper (24 commits)")

---

Tags

google-analyticstypo3typo3-extension

### Embed Badge

![Health badge](/badges/visuellverstehen-t3googleanalytics/health.svg)

```
[![Health](https://phpackages.com/badges/visuellverstehen-t3googleanalytics/health.svg)](https://phpackages.com/packages/visuellverstehen-t3googleanalytics)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

41515.2k](/packages/wazum-sluggi)[praetorius/vite-asset-collector

Use AssetCollector to embed frontend assets generated by vite

54299.7k1](/packages/praetorius-vite-asset-collector)[typo3/cms-redirects

TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.

167.3M74](/packages/typo3-cms-redirects)[typo3/cms-sys-note

TYPO3 CMS System Notes - Records with messages which can be placed on any page and contain instructions or other information related to a page or section.

116.2M37](/packages/typo3-cms-sys-note)[b13/assetcollector

Asset collector - Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10123.2k](/packages/b13-assetcollector)

PHPackages © 2026

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