Skip to content

Enhanced Ecommerce implementation through Google Tag Manager for Sylius eCommerce Platform

License

Notifications You must be signed in to change notification settings

stefandoorn/sylius-google-tag-manager-enhanced-ecommerce-plugin

Repository files navigation

Google Tag Manager Enhanced Ecommerce plugin for Sylius eCommerce platform

License Version Build

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_item
  • view_item_list
  • add_to_cart
  • remove_from_cart
  • view_cart
  • begin_checkout
  • add_shipping_info
  • add_payment_info
  • purchase

About

Enhanced Ecommerce implementation through Google Tag Manager for Sylius eCommerce Platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published