As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [google-analytics]

Configuration and usage of Google Analytics & ecommerce tracking

Filter by
Sorted by
Tagged with
3 votes
1 answer
1k views

updating Analytics code for Google Optimize

Google has released a new product - Google Optimize. Is it possible to modify the standard Universal Analytics code in Magento (enabled under Google API in 1.9.3) to implement the change? The actual ...
0 votes
1 answer
34 views

Google api key in Magento 1.9.4.5

I need to know where to put my Google Map API Key in Magento 1.9.4.5 to prevent wrong inputs in address bar. I think it is straight forward in Mgento 2 but I can not find anywhere in Magento 1.9.4.5! ...
0 votes
0 answers
21 views

What is the impact of Universal analytics deprecation on Magento 2

To send ecommerce data from Magento 2 to analytics, we have out of the box configuration in admin Magento 2. In which we are adding universal tracking ID (UA-XXXXXXX-1), then its starts sending ...
0 votes
0 answers
31 views

GTM event parameter for GA4 ecommerce purchase on Magento

I'm trying to setup GA4 ecommerce purchase via GTM, on my Magento ecommerce site. I have setup the ecommerce datalayer variables accordingly, but GA4 doesn't seem to capture the items purchased. ...
0 votes
0 answers
27 views

Magento 2.4.5-p1 cloud have inbuilt GA4 Enhanced Ecommerce module?

I read in some articles as magento 2 commerce cloud had GA4 in built module to support Enhanced commerce. If yes, Can you share the official configuration document ? I got this document from devdocs &...
1 vote
4 answers
457 views

How can I Add Google Tag Manager to Magento 2?

I want to add (GTM) google tag manager in my Magento 2 store, but without installing any extension. Please help me out that how I can add CTM manually.
4 votes
1 answer
3k views

How to track product list impressions/clicks and related sales?

We have products in several different categories in our Magento shop. And with enhanced ecommerce tracking we want track the product list performance. I used this Google dev docs. Eg.: Product is in ...
1 vote
1 answer
1k views

How to implement google conversion tracking on a form

We have a form on our magento site for folks to apply for financing. The results get emailed. Simple enough. When someone submits the form, there is no redirect to a thank you page, only a message ...
0 votes
1 answer
308 views

Magento 2 : UTM params are not passed in the checkout/cart URL In Abandoned Cart Email button

I am using the Magento 2.3.6 instance for my live website. I've used Mirasvit's Follow Up Email for Magento 2 extension to send Abandoned cart emails to my customers. My store sends Abandoned cart ...
2 votes
2 answers
264 views

Google Tag Manager code doesnt appear in head

I am new to magento2 and I'm trying to install Google Tag Manager on our websites. I'm adding the js code in the scripts and styls sheets field under the HTML Head. This is how it should look in the ...
1 vote
3 answers
431 views

Magento 2 Migrate from Google Universal Analytics to GA4

Google Universal Analytics will be going away in July 2023 to be replaced with Google Analytics 4. On July 1, 2023, standard Universal Analytics properties will stop processing new hits. If you still ...
0 votes
1 answer
65 views

Google tag scripts are automatically getting removed from the Magento 2 website

I have added the gtag script in the Html Head section under the scripts and style sheets after saving it, I am not able to see it in the head section. only the commented part is appearing. The rest ...
0 votes
0 answers
40 views

GA traffic not showing, script seems to be ok

I just cant figure out why GA isn't tracking the traffic. Code seems to implemented correctly, but GA is showing close to no traffic. We are using 2.3.2 and I want to avoid updating, as we are ...
1 vote
0 answers
60 views

Google Analytics not showing visitors - Magento ver. 2.3.5-p2

For some reason google analytics is not showing any visitors. I have added the google Account Number on backend. Analytics code also shows on the frontend but no data is being populated on google ...
0 votes
0 answers
89 views

Magento CE 2.4.3 | Google Universal Analytics not receiving hits occasionally | Big click-users-sessions discrepancy for traffic from Google Ads

We set up website tracking using Welt Pixel extension for Google Tag Manager - set everything up as per documentation - exported JSON file and configured Tag Manager - but for some reason tracking ...
4 votes
1 answer
663 views

How to implement content security policy in magento 2

I want to know how to implement CSP on Magento 2 with GTM. The site has multiple stores. Tried to google but was unable to find any concrete result. Implimenting a Content Security Policy Magento 1....
1 vote
2 answers
911 views

Clear leverage browser caching of analytics.js, conversion.js

How to clear Leverage browser caching.Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk ...
0 votes
0 answers
824 views

Magento 2: Google search console giving error: Error on Either "offers", "review", or "aggregateRating" should be specified

We are getting an error on google search console for multiple products: Either "offers", "review", or "aggregateRating" should be specified
0 votes
1 answer
152 views

Magento2 how to add GTM data layer scripts without extension

Magento2 I need to add all the datalayer script to Magento2 without any extension How can I achieve this? For e.g. Product Impressions script I think this should be call on listing page, then other ...
3 votes
4 answers
2k views

GA E-Commerce Transactions out by ~50%

Have done a bit of researching and searched various boards and topics and haven't been able to shed much light onto this. It seems like it's been a common problem over the various versions of Magento ...
1 vote
0 answers
401 views

Magento 2 Google Analytics not showing

For some reason Google Analytics code isn't showing up in the frontend. The module appears to be working, but all that appears is this: <!-- BEGIN GOOGLE ANALYTICS CODE --> <!-- END GOOGLE ...
0 votes
2 answers
3k views

Google Analytics - Search Console Verification Problem

I'm trying to add google analytics for my client. I've added the UA-# to Stores > Configuration > Sales > Google API. I see that it's been added but I need to confirm with Google Search ...
2 votes
1 answer
1k views

Magento2 send Order information to Google Analytics when order from admin

Though Magento 2 has the inbuilt implementation to send the transaction/order details placed on webstore or frontend to Google Analytics, it lacks the same ability when orders are being placed from ...
0 votes
0 answers
82 views

Difference between Magento 2 and Google Analytics Revenue with Cart Price Rules

I want to know if you have any idea why when I set some Cart Price Rules, for example a 30% discount, is not reflected on my Google Analytics revenue. Here is an example: X product, full price: $100 ...
0 votes
0 answers
308 views

Magento 2 / GTM Issue

I'm sending data from my Magento 2 store into a GTM in order to track several aspects of the store. Everything was working just fine and all the required data was being sent ok, but for some unknown ...
0 votes
1 answer
566 views

Google Analytics Shopping Behavior Analysis Missing Data - duplicate

I've created an eCommerce store and created the analytics for this store, On Magento2 backend I've placed the Tracking Code and I start to check that the data is being sent into GA. The enhanced ...
1 vote
1 answer
149 views

Google Analytics Shopping Behavior Analysis Missing Data

i've created an ecommerce store and created the analytics for this store, On Magento2 backend i've placed the Tracking Code and i start to check that the data is being sent into GA. The enhanced ...
0 votes
1 answer
385 views

Google Tag Manager Advanced Data Layer Integration

I am using the https://github.com/magepal/magento2-google-tag-manager extension for GTM Data Layer integration. But unfortunately I am not able to capture data on Google Analytics. I have just ...
1 vote
1 answer
455 views

Edit/modify Google Analytics code from core module, not working - Magento 2.4.1

I want to edit the default Google Analytics code from the core module Magento_GoogleAnalytics, that is build in Magento 2.4.1. I want to add the line; setTimeout("ga('send','event','Profitable ...
0 votes
1 answer
393 views

Google Analytics Cross Domain Tracking in Magento 2

I'm not hugely familiar with Magento 2. I have Google Analytics set up through Magento 2 by going through the settings: Stores > Configuration > Sales > Google API But there is no option for ...
0 votes
1 answer
2k views

Google Analytics E-commerce does not track conversions

The E-Commerce tracking does not seem to work properly with my web shop. When I come to the success page it does show in the code, that there is Analytics code, trying to send correct information. But ...
0 votes
1 answer
2k views

Magento2 Google analytics Conversion data on success page

I have a magento2.2.5 based website and even though I have Google analytics and adwards enabled I dont see conversion data. So I spoke with google and was given the below code. However I do not know ...
0 votes
1 answer
538 views

Magento 2 - Google analytics / Tag manager does not track afilliates and gclid details

I have just updated our store at https://okulos.com.br from M1.9.4.1 to M2.3.2. First I added Google Analytics via Magento admin panel. It tracked visits fine but I could not track sources like gclid ...
0 votes
1 answer
99 views

Magento 1.9: Google Tag Manager code add in header But active Only on Product Detail Page

I want to add the script in the head.phtml but i need the product's id, SKU. So i only want it to work when is on the product Detail page.
5 votes
0 answers
126 views

Magento 2 Success page with trailing slash and without

We are experiencing some conversion tracking issues in our Magento 2.3.3 installation. We are using Native checkout with Paypal Payments Pro Hosted and Paypal Express. We are having 2 versions of ...
0 votes
1 answer
574 views

Google analytics not recording conversion data in Magento 2.3.2

We have recently updated to Magento 2.3.2 and google analytics module stopped working. I can see the empty array OrdersTrackingCode in generated google analytics code on frontend. Thanks in advance.
3 votes
3 answers
2k views

Missing Google Analytics conversions for PayPal Website Payments Standard orders

I'm pulling my hair out here, I've done a lot of searching and can't find an answer: Using CE 1.7.0.2, whenever a customer pays using PayPal Website Payments Standard and exits PayPal before the ...
0 votes
1 answer
720 views

Magento 2 How to exclude Head Miscellaneous Scripts section from deferred?

I am using a free extension for defer javascript Magento 2 Defer Parsing of JavaScript, which is working fine. But when I am adding Miscellaneous Scripts in magento admin from head section which is ...
1 vote
1 answer
461 views

Google Analytics not collecting ecommerce session data

When I go to the Google Analytics ecommerce shopping behavior report for a Magento 2 website, there is not data displayed for: Sessions with Product Views Sessions with Add to Basket Sessions with ...
0 votes
2 answers
483 views

How to put the Google Analytics code on the check-out page?

Magento 1.9.4 Porto theme I have a tracking Google Analytics code and suppose to put that on the check-out page. What is the best way to do that? Is the check-out page actually one of the CMS pages ...
0 votes
1 answer
924 views

Account type not visible in Google API> Google Analytics configuration page Magento 2

I'm trying to set up Universal Analytics through Google Tag Manager in Magento 2.3.2. I follow the official doc, or other tutorials, but in my backend, when I go to Store>Sales>Google API>...
1 vote
2 answers
386 views

Implementing GTM in multistore environment

Hi we are implementing Google Tag Manager (GTM) in our Magento store. We have a multistore environment /w 3 storenames & 2 views per stores (languages), making it 6 storeviews in total. And that ...
1 vote
2 answers
405 views

Magento : Edit Head Tag of Specific Page

I'm trying to setup an Analytics A/B test on my Magento, on 2 landing pages (not homepage). The problem is that, if I place Google Analytics Content Experiment code on every page of store, it re-...
1 vote
0 answers
272 views

Uncaught ReferenceError: Mini is not defined at (index):993 - magento 2 store

How do i trace and fix this error for my magento 2 store? Uncaught ReferenceError: Mini is not defined at (index):993 i can not find the below code anywhere in my magento admin. it is not in header, ...
1 vote
2 answers
2k views

Google Tag Manager enhanced ecommerce - Datalayers

I have setup enhanced ecommerce for my client. (batteribyen.dk). They use Magento Enterprise I followed this guide: https://docs.magento.com/m1/ee/user_guide/marketing/google-universal-analytics-...
0 votes
1 answer
736 views

magento2 get custom product attribute on order success page

I have a magento 2.2.5 based website and i need to get a custom product attribute on my order success page for each product. The custom attribute is called site_owned_buy any suggestions how to get it ...
1 vote
0 answers
48 views

Magento2: GA standard module does not see the ecommerce transaction [closed]

I configured the Google Analytics module in the Magento backend. Then I enabled e-commerce tracking in GA. Now, I see the number of page visits, but I do not see e-commerce transactions. Can anyone ...
0 votes
1 answer
275 views

Enhanced Ecommere GTM - GA in Magento 1.9.x [closed]

Could you recommend me how to develop an enhanced e-commerce for Magento 1.9.x? I think having an enhanced e-commerce with Google analytics is very good.
2 votes
0 answers
160 views

Magento2 Guest Checkout not tracking in Analytics

I have Magento CE 2.2.6 and one page checkout. I've set up Google Analytics per the built in configuration. After a few days I've discovered that a percentage of our orders are just never getting to ...
1 vote
0 answers
114 views

Magento Goal Conversion Tracking

I'm trying to track member applications referred by my CPC Ads. I've set everything up on the Adwords end to track this and they have produced a snippet to place in the header of the "thank you" page. ...