ghost-unicorns / module-ga4
GhostUnicorns Google Analytics 4
Installs: 926
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/framework: *
README
This module adjust the GTM pushes to be compatible with the new GA4 ecommerce standards
Prerequisites
Make sure you have Magento >= 2.4.5 or try install:
composer require magento/module-google-tag-manager
Install
composer require ghost-unicorns/module-ga4
How to configure
Make sure that Google Analytics 4 through Google GTag is enabled
Stores -> Configuration -> Sales -> Google APIS -> Google GTag -> Google Analytics4 -> Enable -> Yes
Make sure that Google Analytics 4 is injected via GTM
Stores -> Configuration -> Sales -> Google APIS -> Google GTag -> Google Analytics4 -> Account type -> Google Tag Manager
Make sure that Google Analytics through Google Analytics standard is disabled
Stores -> Configuration -> Sales -> Google Analytics -> Enable -> No
Customize
You can create a plugin on the following file to change the products data:
GhostUnicorns\Ga4\Model\GetProductLayer
Contribution
Yes, of course you can contribute sending a pull request to propose improvements and fixes.