Magento 2 Google Analytics 4 Enhanced Ecommerce tracking (GTM)

Extension for Magento by Anowave

  • In Stock
  • Price:
  • €49 90
  • SKU:
  • MAGE2-GTMGA4
  • Premium product
  • Premium product
  • MADE IN



Google Analytics 4 for Magento 2 based on Google Tag Manager. Provides a full support for the Google Analytics 4 specification and allows for advanced Enhanced Ecommerce tracking for Magento 2 via the visionary GA4. The new Analytics adds AI-powered insights, tracks users across devices and provides more granular data controls.

BETA VERSION
REQUIRES ANOWAVE_EC

Overview

Magento 2 Google Analytics 4 (GTM) is an extension that works on top of our famous Magento 2 Google Tag Manager Enhanced Ecommerce (UA) Tracking extension. It modifies the dataLayer[] object so it can meet the new Google Analytics 4 specifications. The module implements all Google Analytics 4 (GA4) ecommerce features using Google Tag Manager. Being based on our GTM module, it provides a full range of additional features such as AdWords Dynamic Remarketing, AdWords Conversion Tracking, Social Network interaction tracking, Facebook Custom Audiences Pixel, Custom Dimensions, Google Customer Reviews, User ID data acquisition and User Timings Tracking.

 

Key features
 

  • Enables Google Analytics 4 through Google Tag Manager
  • Supports all essential events for proper Enhanced Ecommerce Tracking via Google Analytics 4 for Magento 2
  • Comes with a built-in API implementation which creates all GA4 tags, triggers and events
  • Can be turned on or off on demand
  • Works on top of our Magento 2 Google Tag Manager Enhanced Ecommerce (UA) extension
  • All features from the base module are available
  • Does not rewrite existing blocks, modules etc.
  • Compatible with custom Magento themes
  • No monthly fees

 

Requirements

This module cannot work as standalone module, it works on top of our Magento 2 Google Tag Manager Enhanced Ecommerce (UA) Tracking extension. This allows you to not only have GA4 but also the entire world of Enhanced Ecommerce tracking, AdWords Dynamic Remarketing, Facebook Pixel tracking etc. All of them managed by a single extension.

Extension version
0.1.0
Magento platform version
2.2.*,2.3.*,2.4.*
Application/Purpose
Conversion rate,Mobile,Reporting
Type
Commercial

Our products come with a premium support. To report a bug, use our Premium Help Desk available in your account at Anowave.

Customer review(s)

Purchased Magento 2 Google Analytics 4 Enhanced Ecommerce tracking (GTM)

We had a few issues with the API configuration mainly due to some wierd quota limitation by Google themselves but other than that with this extension we were able to switch to GA4 with ease. I'd like to thank the support team for all they did for us and helping us with the configuration. Spot on!

Yes, I recommend this product

Purchased Magento 2 Google Analytics 4 Enhanced Ecommerce tracking (GTM)

Works as described. It kept all the settings we had previously configured in the UA module which is awesome. Had to update the main module to latest version but that's understandable. Good work!

Yes, I recommend this product

Note: By submitting a review you agree to our Terms and Conditions.





User Guide & Documentation

Installation from Command Line (Recommended)

This extension can be installed in a few minutes, by going through the following steps:

  • Download/purchase the extension
  • Unzip the file in a temporary directory
  • Copy directory contents and paste it in your Magento installation root directory. This extension will NOT replace existing code.
  • Disable the cache under System->Cache Management
  • Enter the following at the command line:

    php -f bin/magento module:enable --clear-static-content Anowave_Ec4
    php -f bin/magento setup:upgrade
     
  • Check under Stores->Configuration->Advanced->Advanced that the module is present.

 

Google Analytics 4 EVENTS / Google Analytics 4 Event tag

Enhanced Ecommerce tracking is done by sending enhanced measurement events via the so called Google Analytics 4 Event tag. We have outlined some of the essential events supported by the module which are sufficient for proper Enhanced Ecommerce tracking.

view_promotion
Measures promotion view


select_promotion
Measures click on a promotion


view_item_list
Measures product/item list views/impressions


select_item
Measures product click (from categories)


view_item
Measures product detail views


add_to_cart
Measures click on "Add to Cart" button


add_to_wishlist
Measures click on "Add to Wishlist" button


remove_from_cart
Measures click on "Remove from cart" button


view_cart
Measures cart view


begin_checkout
Measures checkout start


add_shipping_info
Measures selected shipping method


add_payment_info
Measures selected payment method


purchase
Measures transactions on success page


refund
Measures refunds (not implemented yet)

 

Google Analytics 4 Configuration tag

The Google Analytics: GA4 Configuration tag initializes Google Analytics for your Google Analytics 4 property on a particular page. It handles behavior such as setting of Google Analytics cookies, sending automatic and enhanced measurement events, and declaration of common settings. In effect this is the tag that does 90% of the work and installs Google Analytics 4 on the site.

The built-in API will create this tag for you automatically

 

 

Google Analytics 4 (Installation/Configuration)

Anowave_Ec4 module works on top of our Anowave_Ec module, it's designed to modify the dataLayer[] object as per GA4 specification (https://developers.google.com/tag-manager/ecommerce-ga4)

When installed:

1. A new field called Measurement ID appears in Google Tag Manager API configiration section. This is obtained from Google Analytics 4 and it's in the following format: G-XXXXXXXXXX

2. A 3 new checkboxes appear that allow you to:

a) Create GA4 variables
b) Create GA4 triggers
c) Create GA4 tags (creates also the Google Analytics 4 configuration tag)

3. Google Analytics 4 Configuration tag

The Google Analytics: GA4 Configuration tag initializes Google Analytics for your Google Analytics 4 property on a particular page. It handles behavior such as setting of Google Analytics cookies, sending automatic and enhanced measurement events, and declaration of common settings. This is in effect what tracks Pageviews and installs Google Anlaytics 4 on your site

4. dataLayer[] modifications

dataLayer[] object gets modified as per GA4 specification (https://developers.google.com/tag-manager/ecommerce-ga4)

5. To our understanding, it's better to create a new empty container and use the API to configure it for GA4 by clicking only the GA4 checkboxes from our API, this will create the GA4 variables,triggers and tags including the Google Analytics 4 Configuration tag. Having the container inflated with the old tags is not a mistake but they won't fire or if some of them fires it could duplicate and/or corrupt data.

6. There are certain limitations of GA4 (due to being in beta mode probably) to be aware of:

a) Checkout can no longer be tracked in terms of checkout steps. There are a few events dispatched:

begin_checkout
add_payment_info
add_shipping_info

b) Product list attribution no longer works, it's simply not available yet in GA4
c) There are no more product-scoped dimensions.

Installation

Now: Next:

If you like this product, share it with your friends



Extensions for Magento

Anowave is an extension developer for Magento 1.x and Magento 2.x platforms. We provide a wide range of premium extensions for our in-house and public clients. The extensions that we offer extend the capabilities of Magento and provide a bespoke functionality. They also fill some missing gaps in the functionality provided by the base platform and help customers in chosing Magento as prefered ecommerce platform.

The extensions that we offer are part of our full range Magento service which includes also a Premium Helpdesk where customers get to speak with actual software engineers and get their issues resolved without hussle. Premium labeled modules also include free installation, confiuration, testing etc.