Search by

hryvinskyi / magento2-data-layer-server-side

hryvinskyi

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

Statistics

Installs: 1

Dependents: 3

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:40 UTC


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-api
  • hryvinskyi/magento2-data-layer
  • Magento 2.4.x