This module aims to send transactions server-side to a Google Analytics property using the measurement protocol. A lot of transactions got lost in the traditional frontend implementation due to end users not reaching the success page. This module aims to fix this problem by sending the data directly to the property via the measurement protocol.
This module was initially a private repo, but we made this open source by popular demand (and to contribute to the open source community). If you currently use the private repo, you can drop in replace it with this open source variant.
- Toggle in Admin to enable/disable module
- Send brand information in transation data
- Send categories in transation data
- Exclude unwanted categories
- Customize event data
- Send transactions automaticaly
- Send credit memo automaticaly
- Send transaction / credit via CLI
- Debugging payload to system log
composer require adwise/magento2-gamp
php bin/magento setup:upgrade
- Go to Stores > Config > Adwise > Analytics
- Set 'Enable Module' to Yes
- Under Measurement Protocol, enable the Measurement Protocol and configure the various secrets
- Enable (or disable) certain events under "Measurement Protocol"
See CHANGELOG.md
- Google Analytics 4 support
The Adwise Magento 2 Measurement Protocol module is licensed under the MIT license
Feel free to open a issue or feature request on Github if you encounter any problems with this module.
Made with love by Adwise - Your Digital Brain