Skip to content

K3vinF/shopware-pwa-gtm-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shopware-pwa-datalayer

Nuxt plugin for Shopware PWA that logs ecommerce events to the dataLayer according to the Google Analytics 4 schema.

Installation

Add Google Tag Manager to your Shopware PWA instance. For example via the @nuxtjs/gtm module Instructions here.

Download or clone the shopware-pwa-gtm-events plugin. Place the plugin in a suitable directory. For example in your custom theme, or in src/plugins There Shopware PWA will automaticly detect and enable it.

Supported events

For now the following events are implemented:

  • Product detail view;
  • Product list view;
  • Add to cart;
  • Remove from cart;
  • View cart;
  • Start checkout;
  • Purchase event (partially);

About

Add commerce events to the datalayer for Shopware PWA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published