
This Magento 2 Global Site Tag (gtag.js) extension allows you to install the new version of Google Analytics i.e Google Analytics 4 (GA4) on your Magento store. It also implements Google Remarketing and Adwords tracking on your site.


Free Support
up to 60 days


Free Upgrades
up to 1 year


Fully open source
Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition
Global Site Tag (gtag.js) is a new style of implementation where the ultimate goal is to have one centralized script tag that is capable of sending data to all of your Google marketing and analytics tools at the same time – so you no longer need to spend hours configuring tags on your site. This module allows you to integrate the new way of tracking on your Magento webstore with minimal effort
Analytics.js uses trackers to send data to Google Analytics and hit types to specify the types of data.Unlike analytics.js, gtag.js doesn't use trackers to send data to Google Analytics. It sends data to Google Analytics properties identified by their tracking IDs set by the config command. The event names supplied to gtag.js specify the types of data being sent to Google Analytics.It would be beneficial to upgrade to Gtag.js because Google might stop analytics.js in the future. Gtag.js is the latest code by Google which allows you to track all sort of trackings including Google Remarketing, Google AdWords conversion tracking, Floodlight, DoubleClick, etc.
Get to speed with the new version of analytics from Google “Google Analytics 4(GA4) “introducing tons of new features. Powered by Artificial Intelligence, it provides in-depth insights and analytical reports to modernize your eCommerce strategies and increase conversions. Bring back visiting customers with targeted ads and custom campaigns.

Supported GA4 Trackings

Here are the main features of this module-:
Same version of Magento 1 module can be bought using the following link www.scommerce-mage.com/magento-1-global-site-tag-js.html
Please email us (core@scommerce-mage.com) your gmail ID and we are more than happy to share our test google analtytics account with you.
Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition
We offer 60 days of free support and 12 months of free upgrade for any standard Magento site when you buy this extension. You can also get our installation service for a small fee. If you want more benefits, you can purchase our 12 months of free premium support and free lifetime upgrade package. Please contact us if you need any assistance or customization for this extension. We will reply to you within 48 hours. We may also offer you a special deal or a free solution if we like your idea.


composer require hyva-themes/magento2-scommerce-gtagcomposer require scommerce/breeze-globalsitetag
For example -: Using GTAG, you can send data to two different Google products at the same time, in the following example you are sending sign_up event to both Google Analytics and Google AdWords
gtag('event', 'sign_up', {
'send_to': ['AW-GOOGLE_CONVERSION_ID2', 'GA-TRACKING_ID']
'account_type': 'basic',
});
A. The upgrade process depends on your platform and how the extension was installed:
For Magento 2 (Installed via Composer)
If your extension is within the free upgrade period (12 months from the purchase date), you can update directly via the command line. Simply run the composer require command for the specific module to fetch and install the latest available version. If you are outside the free upgrade period, you will need to buy an upgrade using the link below.
For Magento 1 or Magento 2 (Installed manually via app/code)
If your extension is within the free upgrade period (12 months from the purchase date), you can simply download the latest available version by logging into our website and navigating to My Account > My Downloadable Products. If you are outside the free upgrade period, you will need to buy an upgrade using the link below.
Purchase an Upgrade:
https://www.scommerce-mage.com/magento-extension-installation-service.html
Important Note for Manual Upgrades: Before uploading the latest version, we highly recommend deleting all existing files and folders of our extension from your website. We may have deprecated or removed certain files in the update, and keeping the old ones could cause conflicts on your website.
Step 2: Next, run the config commands shown on the top of the page then click on the extension that you want to install. A composer require command will be revealed in the dropdown menu. Run the command then clear caches to complete the installation.
Fields marked with * are required