Download the PHP package hirale/openmage-ga4-measurement without Composer
On this page you can find all versions of the php package hirale/openmage-ga4-measurement. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package openmage-ga4-measurement
Hirale GAMeasurementProtocol
A module for integrating with the Google Analytics 4 Measurement Protocol API, sending events from server side.
This module can work with Mage_GoogleAnalytics module. For duplicate key events, you can consult this page https://support.google.com/analytics/answer/12313109?hl=en
Supported Events
page_view
begin_checkout
add_to_cart
remove_from_cart
view_cart
purchase
view_item
view_item_list
add_to_wishlist
sign_up
login
search
view_search_results
You can check more events in the events section.
Install
[!NOTE] This module depends on
openmage-redis-queue
. It has been added to composer requirements.
Install with Magento Composer Installer
Usage
Setup
- Generate an API SECRET in the Google Analytics UI. To create a new secret, navigate to
Admin > Data Streams > choose your stream > Measurement Protocol > Create
. - Get measurement ID associated with a stream, found in the Google Analytics UI under
Admin > Data Streams > choose your stream > Measurement ID
. - Go to openmage system config
System > Configuration > Sales > Google API > Measurement Protocol
. Insert the parameters from step 1 and 2, save.
Debug
Enable debug mode in the openmage system config System > Configuration > Sales > Google API > Measurement Protocol
.
License
The Open Software License v. 3.0 (OSL-3.0). Please see License File for more information.
All versions of openmage-ga4-measurement with dependencies
magento-hackathon/magento-composer-installer Version *
hirale/openmage-redis-queue Version *
jaybizzle/crawler-detect Version ^1.2