Magento 2 Google Global Site Tag (gtag.js) with GA4(Google Analytics 4) Enabled

Rating:
100% of 100
£124.99
Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition

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

  • Implements new Google Analytics Enhanced Ecommerce Tracking
  • Implements Google Adwords and Dynamic Remarketing Tracking
  • Implements Google Optimize
  • Implements Magento2 Gtag GA4(Google Analytics 4)(New !!)
  • Compatible with HYVA Theme(NEW!)
  • It fully supports Google Consent Mode V2 (NEW!)

Free Support

up to 60 days

Free Upgrades

up to 1 year

Fully open source

 

5 Great service
The product works really well for us for Google Adwords and Enhanced Ecommerce. I am sure it will work for other Google products as well. Definitely recommend this product to others.
Composer Package name:
scommerce/globalsitetag
Latest Version:
3.0.6

Product description

Global Site Tag (gtag.js) for Magento 2

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

Why we need to upgrade (analytics.js) to new gtag.js?

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 Enhanced Ecommerce, Google Remarketing, Google AdWords conversion tracking, Floodlight, DoubleClick, Google Optimize, etc.

Integrates Google Analytics 4 (GA4)

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.

Google Analytics 4

Supported GA4 Trackings

  • Measure Product or Item List Views Or Impressions
  • Tack Product or Item List Clicks
  • Track Views or Impressions of Product or Item Details
  • Track Additions or Removals From a Shopping Cart
  • Track Promotion Views or Impressions
  • Track Promotion Clicks
  • Track Checkout
  • Track Purchases
  • Track Refunds

See Product Performance

Google Analytics 4 Purchases

Here are the main features of this module-:

  • It allows you to implement new Google Analytics Universal tracking on your site
  • It comes with different options provided by new Google universal tracking code
  • Implements Google Adwords and Dynamic Remarketing Tracking
  • Implements Google Optimize
  • Implements Google Analytics 4(GA4) data layers (New !!)
  • It works with sub-domains and multi-domain websites
  • It supports add to basket and remove from basket data
  • It supports Shopping Behaviour Report
  • It supports Checkout Behaviour Report which measures Magento 2 checkout steps
  • It supports Product List Peformance Report
  • It supports Product Peformance Report
  • It supports Sales Peformance Report
  • It supports Guest checkout functionality
  • It captures product Impressions, add to cart & product clicks events on category page
  • It captures product Impressions, add to cart & product clicks events on product page
  • It captures product Impressions, add to cart & product clicks events on advanced search and search result pages
  • It captures product Impressions, add to cart & product clicks events on related products
  • It captures product Impressions, add to cart & product clicks events on cross-sell products
  • It captures product Impressions, add to cart & product clicks events on up-sell products
  • It captures refunds against the original transaction
  • It measures complete checkout process including billing, shipping, shipping method, payment method and order review steps
  • It capture promotion data with each transaction including promotion or coupon code
  • It measures transactions with specified local currency
  • This module can be completely disabled whenever required via system configuration in admin

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.


** Please refer to our FAQ or T&C section for running our extensions on multiple domains or sub-domains

FAQ

Q. Does this module support GTM consent mode?
A. Yes it fully supports GTM consent mode especially if you are using our GDPR / Cookie popup extension. You can also checkout our blog page for more information 
Q. Can I run Google Analytics Enhanced Commerce and Google Analytics 4 together?
A. Yes, they both can be run in parallel. You need to create GA4 property in Google Analytics and add measurement id in stores -> configuration in admin. Our extension will send data to both GA4 and Universal Analytics.GA sync measurement id
Q. Can I see events firing in realtime in GA4(Google Analytics 4)?
A. Yes, GA4 property has an option that allows you to see all the events firing in real time. Go to Google Analytics 4 property and from the left menu scroll down until you find "Debugview". It records events fired in 30minutes. Please refer to the image below:-GA4 debuview
Q. Where can I see how my products are performing in Google Analytics 4 reports?
A. Navigate to your Google Analytics 4 property then from the left menu go to Monetization>Ecommerce PurchasesGA4 reports
Q. How can I check Transactions using Transaction ID in GA4
A. Transaction ID is available in the dimensions in the custom reports. Normal reports do not have transaction ID. To create a custom report go to GA4 property>Explore>Blank Add dimensions and metrics with inputs such as Transaction Data, date etc. Populate the rows and columns with these inputs and you will have a custom report as shown in the image below:-

Q. How do I link the Google Optimize and Google Analytics accounts?
A. If Google Optimize is enabled from the extension configuration then it is crucial to link the optimize and analytics accounts otherwise data won't be visible. To link these accounts visit https://optimize.google.com/ and create a new optimize container by following the steps along the way. Once the container is created scroll down and click on the Link Analytics button, a popup should appear where you need to select the analytics account that you want to link then finally click on the link button. Please refer to the image below:-link analytics Once linked click on the view instructions in the bottom of the page you should see the optimizer container ID in the installation code. Please add this code in the Optimize container ID in the configuration. Once done the linking would be successful. link optimize and analytics

Q. Should I upgrade to gtag.js now or later?
A.Gtag.js is new javascript library from Google, if you use Google products like Google AdWords, Google Remarketing, Google Optimiser, Google Analytics etc. then moving to Gtag,js would be sensible because then adding Google related trackings will become quite easy in future because Google is going to use single javascript library (gtag.js) for all their products.
Q: What's the difference between gtag.js and analytics.js?
A: Analytics.js uses trackers to send data to Google Analytics and hit types to specify the types of the data. Whereas gtag.js 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.

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',
});

Q: I have analytics.js installed, do I need gtag.js?
A: Yes, it would be sensible to upgrade to Gtag.js because Google might stop analytics.js in future. Gtag.js is the latest code by Google which allows you to track all sort of trackings including Enhanced Ecommerce, Google Remarketing, Google AdWords conversion tracking, Floodlight, DoubleClick, Google Optimize etc. The other disadvantage of sticking to analytics.js is that you will not be able to take benefit of the more powerful event tracking methods which are available only in gtag.js. Also Google mentioned "you will be able to benefit from the latest dynamic features and integrations as they become available" which means they will only be available in gtag.js and very unlikely to be in analytics.js
Q: I have Google Tag Manager installed on my website, do I need this extension?
A: No, if you have GTM installed on your website then there is no need to install GTAG extension because they both serve the similar purpose
Q: What is the difference between Google Tag Manager and global site tag?
A: Google Tag Manager and global site tag are separate and independent ways of tagging your website. If you want to manage Google and third party tags from a single location without modifying your site code then use Google Tag Manager. For Google Tag Manager implementation you can use our GTM extension. But if you would like to code tags on your site directly using JavaScript, use the global site tag.
Q. How can I get license key for my development website?
A. Please login to your account and Go to My account section > From the left menu select Generate Dev License key > Enter the Dev site url and select the extension from the dropdown and click on generate to get the license key
Q. Can I test the extension before buying?
A. Unfortunately we can't provide you extension for testing purposes but we have demo available for most of our extensions and happy to provide full refund if the extension doesn't work
Q. Can I request for customisation on your extensions?
A. Yes we do provide all sort of customisation for our clients at the reasonable rates. And if we believe the customisation will help our product then we also provide great discount on the customisation
Q. I have two live domains, do I need a separate license key for each live domain?
A. Yes you need to buy a separate license key for each live domain (www.site.com) or sub-domain (de.site.com) or subfolder (www.site.com/de). If you are buying licenses for more than four live sites in one transaction then we can offer you 30% discount on total amount
Q. How can I upgrade my extension to the latest version?
A. If your extension is within the free upgrade period (12 months from purchased date) then simply email us with your order number and our team will send you the latest version of the extension but if it is outside free upgrade period then you need to buy an upgrade using the following link
https://www.scommerce-mage.com/magento-extension-installation-service.html

Once you received the latest version of our extension then we would highly recommend to delete all the files and folder of our extension from your website first before uploading the latest version because we might have removed existing files and keeping existing files could cause problems on your website.
Q. Does my license get expired after certain period?
A. No, your license is not going to get expired but we would highly recommend upgrading to get all the latest fixes (including security fixes if any), improvements and new features. In the upgrade, we also ensure it is compatible with the latest version of Magento and when you upgrade you will have a smooth transition.
Q.Where can I download the extension files?
A. Please login into your account on our website and go to the download link under my account section to download the extension package.
Q.Can you provide a key that works for our development (NOT PRODUCTION) environment which will work on a dynamic URL, for example, 12334.gitpod.com and 4567.gitpod.com?
A. Unfortunately it is not possible to generate license keys based on the dynamic URLs. License keys need to be generated per domain or subdomain whether it is production or non-production.
Q. How can I manually uninstall your module?
A. Please follow the below steps -:

Step 1: Navigate to our store and login to your account. Then go to the My Account Section, on the left menu click on Composer Instructions.
My account section
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. Composer instructions
Q. Do you support SPA (Single Page Application) / PWA (Progressive Web Application) / AMP ?
A. Unfortunately, we don’t support SPA or PWA or AMP but we may be supporting them in future depending upon the demand.

Change Log

Version 3.0.6
2024-04-10 14:07:36
Changed install data scripts to db_schema and data patch, made it compatible with latest version of tracking base
Version 3.0.5
2023-08-03 09:51:08
• New configuration option to enable or disable sending refund event on order cancellation. This can be useful for tracking the refund rate and revenue loss due to cancellations.
• Fixed issue related to sending product price including or excluding tax based on the configuration. This will ensure that the product price is consistent and accurate across different events and reports.
• Fixed issue related to credit memos were only getting sent when send admin order configuration was set to YES. This will ensure that the credit memo events are sent regardless of the send admin order configuration.
• Fixed issue related to add_shipping_info event which wasn't getting fired.
Version 3.0.4
2023-06-01 12:24:43
Fixed payment type in add_payment_info event
Version 3.0.3
2023-04-17 11:33:48
Added tracking base 2.0.13
Version 3.0.2
2022-12-19 06:57:04
Added support of GA4 data layouts
Added support of ajax wishlist extensions
Version 3.0.1
2022-10-20 12:48:18
Fixed issue with trackingbase related to list name in UA and GA4 especially when list scrolling is turned on. Also trimmed extra spaces from product name.
Version 3.0.0
2022-05-16 11:04:36
Refactored code by separating core Google Analytic logic to separate "tracking base" module.
Version 2.0.3
2021-10-06 10:57:24
Added configuration to select product attribute from drop down for Google dynamic remarketing
Version 2.0.2
2021-09-22 14:26:43
Added PHP 7.4 support and fixed some minor issue related to error when category is disable and javascript issue when dynamic remarking option was enabled in the configuration.
Version 2.0.1
2020-03-16 06:36:50
Large cookies fix (replaced with local storage) Crosssell fix
Version 2.0.0
2020-02-21 06:35:28
Stock item ID error resolved while adding product to basket from category page.
Show More
Show Less

Reviews 1

Write Your Own Review
Write a Review