stefandoorn / sylius-google-tag-manager-enhanced-ecommerce-plugin
Google Tag Manager Enhanced Ecommerce plugin for Sylius.
Package info
github.com/stefandoorn/sylius-google-tag-manager-enhanced-ecommerce-plugin
Type:sylius-plugin
pkg:composer/stefandoorn/sylius-google-tag-manager-enhanced-ecommerce-plugin
Requires
- stefandoorn/google-tag-manager-plugin: ^2.0-alpha || ^2.0
- sylius/sylius: ^2.0
Requires (Dev)
- matthiasnoback/symfony-dependency-injection-test: ^6.1
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^1.2
- phpstan/phpstan-doctrine: ^1.0
- phpstan/phpstan-strict-rules: ^1.1
- phpstan/phpstan-symfony: ^1.0
- phpstan/phpstan-webmozart-assert: ^1.0
- phpunit/phpunit: ^11.0
- sylius-labs/coding-standard: ^4.0
- symfony/browser-kit: ^6.4 || ^7.2
- symfony/debug-bundle: ^6.4 || ^7.2
- symfony/dotenv: ^6.4 || ^7.2
- symfony/intl: ^6.4 || ^7.2
- symfony/runtime: ^6.4 || ^7.2
- symfony/web-profiler-bundle: ^6.4 || ^7.2
This package is auto-updated.
Last update: 2026-06-05 04:07:47 UTC
README
Installation
1. Composer
composer require stefandoorn/sylius-google-tag-manager-enhanced-ecommerce-plugin`
2. Follow installation instructions of required sub bundle
https://github.com/stefandoorn/google-tag-manager-plugin
3. Load bundle
Add to bundles.php:
StefanDoorn\SyliusGtmEnhancedEcommercePlugin\SyliusGtmEnhancedEcommercePlugin::class => ['all' => true],
4. Adjust configurations
Configure the features you would like to use/not. Find a base configuration reference by running:
bin/console config:dump-reference SyliusGtmEnhancedEcommercePlugin
By default, all features are enabled.
Features
References + examples of how to set up your GTM container: https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm
Supported events:
view_itemview_item_listadd_to_cartremove_from_cartview_cartbegin_checkoutadd_shipping_infoadd_payment_infopurchase