cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Google Analytics' Global Site Tag (gtag.js) & enable eCommerce tracking in Magento 1

Re: Installing Google Analytics' Global Site Tag (gtag.js) & enable eCommerce tracking in Ma

Hi,

You can keep the default Magento Google Analytics and override this file into local folder and make the require changes

                /app/code/local/Mage/GoogleAnalytics/Block/Ga.php

 

Thanks

Think about what you can give , not what you can get !

Re: Installing Google Analytics' Global Site Tag (gtag.js) & enable eCommerce tracking in Ma

Hi rooki4life

Did you find a solution for this? I have tried to add the (new) gtag to the script section - but I also lost all transactions (conversion rate went to zero).

 

It feels "unsafe" to add both the gtag and the (old) Universal Analytics...

 

Best, Magnus

Re: Installing Google Analytics' Global Site Tag (gtag.js) & enable eCommerce tracking in Ma

Hi there, the solutions above does not work.

 

We have installed two extensions:

 

Google Tag Manger - to enable remarketing data captured.

Tatvic Enhanced Ecommerce - to enable GA ecommerce data captured.

Re: Installing Google Analytics' Global Site Tag (gtag.js) & enable eCommerce tracking in Ma

Hi there,

 

Gtag.js is completely different from universal analytics so by adding the gtag.js in the head section is not going to track transactions. For Enhanced Ecommerce, you need to implement everything as shown in the following link -:

 

https://developers.google.com/analytics/devguides/collection/gtagjs/enhanced-ecommerce

 

Using gtag, you can implement all the google trackings including Enhanced Ecommerce, Google Dynamic Remarketing, Google AdWords and many more using one script, very similar to GTM tracking. There are quite few extensions out there which can help you to implement GTAG on your site with all the trackings.

 

For M1 - Magento 1 Global Site Tag (gtag.js)

 

For M2 -Magento 2 Google Site Tag (gtag.js)

 

Hope it helps.

 

 

 

Re: Installing Google Analytics' Global Site Tag (gtag.js) & enable eCommerce tracking in Ma