hryvinskyi / magento2-data-layer-server-side
Sends GA4 events from the server — GA4 Measurement Protocol or a server-side Tag Manager — with the visitor's GA identifiers, through an outbox delivered by cron.
Package info
github.com/hryvinskyi/magento2-data-layer-server-side
Type:magento2-module
pkg:composer/hryvinskyi/magento2-data-layer-server-side
Requires
- php: ~8.3.0||~8.4.0
- hryvinskyi/magento2-data-layer: ^1.0
- hryvinskyi/magento2-data-layer-api: ^1.0
- magento/framework: *
- magento/module-authorization: *
- magento/module-cron: *
- magento/module-quote: *
- magento/module-sales: *
- magento/module-store: *
- psr/log: *
- symfony/console: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Server-side delivery of GA4 events through the GA4 Measurement Protocol or a server-side Tag Manager: an outbox delivered by cron, the visitor's GA identifiers, purchase from the order and refund from the credit memo.
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-server-side
Requirements
- PHP ~8.3.0 or ~8.4.0
hryvinskyi/magento2-data-layer-apihryvinskyi/magento2-data-layer- Magento 2.4.x