Search by

hryvinskyi / magento2-data-layer-api

hryvinskyi

Published contracts of the GA4 ecommerce data layer: events and items as value types, the batch item-field extension point, price visibility, cart tracking policy, cart kinds that report events of their own, the server-event queue and the list-data renderer bridges use.

Package info

github.com/hryvinskyi/magento2-data-layer-api

Type:magento2-module

pkg:composer/hryvinskyi/magento2-data-layer-api

Statistics

Installs: 1

Dependents: 4

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-10-20 14:14 UTC

This package is auto-updated.

Last update: 2026-10-20 15:11:27 UTC


README

Published interfaces of the GA4 data layer: events, items and the extension points other modules use to add events, lists and promotions.

Part of the GA4 Data Layer for Magento 2. The full user guide, covering setup, every setting and how to check what the store sends, is in docs/ga4-data-layer-guide.md of hryvinskyi/magento2-data-layer.

Installation

Install all GA4 Data Layer modules with the metapackage:

composer require hryvinskyi/magento2-data-layer-pack
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

or this module alone:

composer require hryvinskyi/magento2-data-layer-api

Requirements

  • PHP ~8.3.0 or ~8.4.0
  • Magento 2.4.x