Articles on: Google Analytics 4 User Guide

Upgrading from Deprecated Google Tag Manager Extension to GA4

Problem


You have an existing WeltPixel Google Tag Manager (GTM) extension and want to purchase a support & updates renewal period for your license. However, the legacy Google Tag Manager extension has been deprecated and is no longer available for support renewal.


Solution


The legacy Google Tag Manager extension is no longer maintained. To continue receiving updates and support for Google Analytics tracking, you need to migrate to the Google Analytics 4 (GA4) with GTM Support extension.


Migration Steps


  1. Purchase the GA4 extension - This is a separate product that replaces the deprecated GTM extension


  1. Remove the legacy GTM extension manually. This extension predates Composer installation, so it needs to be removed from the file system. Delete the module directory from app/code/WeltPixel/ (the GoogleTagManager module folder), then run the standard cleanup commands:
   php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush


  1. Install the GA4 extension following the standard installation process provided with your purchase


  1. Reconfigure your tracking settings in the Magento admin panel under the new GA4 extension configuration


Why This Change?


Google has transitioned from Universal Analytics to Google Analytics 4 as its primary analytics platform. The GA4 extension provides:


  • Full GA4 event tracking support
  • Google Tag Manager integration
  • Enhanced ecommerce tracking for GA4
  • Ongoing updates and compatibility with future Magento versions


Verification


After installation and configuration:


  1. Navigate to Stores > Configuration > WeltPixel > Google Analytics 4 in your Magento admin
  2. Verify your GA4 Measurement ID is configured correctly
  3. Test tracking events using Google Tag Assistant or your GA4 real-time reports
  4. Confirm ecommerce events are firing correctly on product pages and checkout

Updated on: 16/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!