@frmwrk/shopware-pwa-gtm-events

0.1.1 • Public • Published

shopware-pwa-datalayer

Nuxt plugin for Shopware PWA that logs commerce events to the datalayer.

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);

Package Sidebar

Install

npm i @frmwrk/shopware-pwa-gtm-events

Weekly Downloads

1

Version

0.1.1

License

GPL-3.0

Unpacked Size

53.2 kB

Total Files

5

Last publish

Collaborators

  • k3vinf