PHPackages                             vanilla-thunder/oxid-module-gtm - 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. [API Development](/categories/api)
4. /
5. vanilla-thunder/oxid-module-gtm

ActiveOxideshop-module[API Development](/categories/api)

vanilla-thunder/oxid-module-gtm
===============================

Google Tag Manager with new Google Analytics 4 for OXID eShop v6.2+&lt;br/&gt;more about GA4: &lt;a href='https://developers.google.com/tag-manager/ecommerce-ga4' target='\_blank'&gt;Ecommerce (GA4) Developer Guide&lt;/a&gt;

0.5.0(4y ago)34910[6 issues](https://github.com/vanilla-thunder/oxid-module-gtm/issues)[2 PRs](https://github.com/vanilla-thunder/oxid-module-gtm/pulls)GPL-3.0SmartyPHP &gt;=7.1

Since Jul 17Pushed 1y ago3 watchersCompare

[ Source](https://github.com/vanilla-thunder/oxid-module-gtm)[ Packagist](https://packagist.org/packages/vanilla-thunder/oxid-module-gtm)[ Docs](https://github.com/vanilla-thunder/oxid-module-gtm)[ RSS](/packages/vanilla-thunder-oxid-module-gtm/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

\[vt\] Google Tag Manager
=========================

[](#vt-google-tag-manager)

Google Tag Manager integration for OXID eShop v6.2 und höher
module version 0.5.0 ( 2021-12-10 )

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

[](#installation)

- `composer require vanilla-thunder/oxid-module-gtm --no-update`
- Modul aktivieren und Moduleinstellungen konfigurieren

Tag Manager konfigurieren:
--------------------------

[](#tag-manager-konfigurieren)

-

Google Analytics 4 Einrichtung
------------------------------

[](#google-analytics-4-einrichtung)

GA4 Events / Customizing
------------------------

[](#ga4-events--customizing)

für alle implementierten GA4 Events existieren Templates unter `source/modules/GoogleTagManager/Application/views/ga4/`, dabei entspricht der Dateiname dem Eventnamen in GA4. Die Einbindung dieser Event-Templates erfolgt über TPL-Blöcke unter `source/modules/GoogleTagManager/Application/views/blocks/`.

Universal Analytics Events
--------------------------

[](#universal-analytics-events)

**"EE-Trigger" für Ecomemrce-Tags (Beispiel für Google Tag Manager):**

- Triggertyp: Benutzerdefiniertes Ereignis
- Ereignisname: `ee\..*`
- Übereinstimmung mit regulärem Ausdruck verwenden
- Diesen Trigger auslösen bei: Alle benutzerdefinierten Ereignisse

**"EE-Tag" für Google Analytics Enhanced Ecommerce:**

- Tag-Typ: Google Analytics - Universal Analytics
- Tracking-Typ: Ereignis
- Aktion: {{Event}}
- Label: {{Event Label}}
- Trigger : EE-Trigger

Verfügbare Datalayer Variablen
------------------------------

[](#verfügbare-datalayer-variablen)

Für die einfachste Übersicht der enthaltenen Daten empfehle ich den Vorschau-Modus vom Google Tag Manager.

Bei jedem Seitenaufruf wird die Datenschicht mit einigen wenigen Infos erstellt, die man zum reinen Erfassen der Seitenaufrufe benötigt:

- **page.type** - Seitentyp: default / cms / product / listing / checkout (an google analytics angelehnt)
- **page.title** - Seitentitel (außer Startseite, sie hat keinen Titel. Danke OXID...)
- **page.cl** - OXID Controller Klasse (start, search, etc)
- **userid** - oxID vom Benutzer bzw `false` falls nicht eingeloggt
- **sessionid** - session iD

Alle für Ecommerce Tracking releavanten Daten werden mit speziellen Ecommerce Events in die Datenschicht eingefügt. Hier ist ein Beispiel für die Einrichtung von Enhanced Ecomemrce Tracking über Google Tag Manager:

### LICENSE AGREEMENT

[](#license-agreement)

\[vt\] google-tag-manager
Copyright (C) 2021 Marat Bedoev
info:  oder so /\*\* @todo: überarbeiten, wenn ich wieder nüchtern bin \*/

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 3 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, see

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.5% 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

Unknown

Total

1

Last Release

1812d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1874024?v=4)[Marat](/maintainers/vanilla-thunder)[@vanilla-thunder](https://github.com/vanilla-thunder)

---

Top Contributors

[![vanilla-thunder](https://avatars.githubusercontent.com/u/1874024?v=4)](https://github.com/vanilla-thunder "vanilla-thunder (7 commits)")[![marten-seemann](https://avatars.githubusercontent.com/u/1478487?v=4)](https://github.com/marten-seemann "marten-seemann (1 commits)")

---

Tags

google-analyticsoxid-eshop

### Embed Badge

![Health badge](/badges/vanilla-thunder-oxid-module-gtm/health.svg)

```
[![Health](https://phpackages.com/badges/vanilla-thunder-oxid-module-gtm/health.svg)](https://phpackages.com/packages/vanilla-thunder-oxid-module-gtm)
```

###  Alternatives

[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[tomshaw/google-api

A Laravel Google API Client.

601.8k](/packages/tomshaw-google-api)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[spatie/analytics-statistics

An opinionated php package to retrieve Google Analytics data.

794.8k](/packages/spatie-analytics-statistics)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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