Questions tagged [google-analytics]

Configuration and usage of Google Analytics & ecommerce tracking

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 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
27 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
1 vote
3 answers
106 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 ...
  • 5,686
2 votes
2 answers
169 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 ...
  • 21
1 vote
0 answers
56 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 ...
  • 11
0 votes
0 answers
79 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 ...
0 votes
0 answers
100 views

Magento Page builder Add to Cart button add datalayer

We have the magento page builder and when adding a shop now product which ads the product to the cart. egsample: https://www.[Store].com/internal_cart/add?sku=[ProductSku]&dest=checkout&qty=1 ...
0 votes
1 answer
248 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 ...
1 vote
3 answers
326 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.
0 votes
0 answers
750 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
  • 330
0 votes
1 answer
138 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,476
0 votes
0 answers
77 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
287 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 ...
1 vote
1 answer
436 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 ...
  • 1,436
0 votes
1 answer
305 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 ...
0 votes
1 answer
556 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 ...
0 votes
1 answer
384 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 ...
1 vote
0 answers
381 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 ...
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 ...
5 votes
0 answers
118 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 ...
  • 521
0 votes
1 answer
560 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.
0 votes
1 answer
97 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.
0 votes
1 answer
524 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 ...
1 vote
1 answer
428 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 ...
  • 4,743
0 votes
2 answers
458 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 ...
  • 256
0 votes
1 answer
909 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>...
0 votes
1 answer
689 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 ...
  • 2,025
1 vote
0 answers
270 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, ...
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 ...
  • 2,563
0 votes
1 answer
684 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 ...
  • 693
1 vote
0 answers
45 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 ...
  • 2,146
4 votes
1 answer
637 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....
2 votes
0 answers
156 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 ...
  • 679
1 vote
0 answers
113 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. ...
  • 11
1 vote
0 answers
934 views

Magento 2 How to add rich snippets code on products using Schema.org tags?

I am looking to add Google snippets schema organization code on product page in Magento 2.2.I have searched on forums but didn't get any exact answer. I have implemented in Magento1 but not idea how ...
  • 2,847
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 ...
  • 693
0 votes
1 answer
97 views

Uppgrading from Classic GA to Global site tag via GTM in Magento 1.8

we are currently using Magento v1.8 and using the classic GA tracking. We have implement Google Tag manager and also upgraded to the new analytics using Global Site tag. However, the statistic that we ...
1 vote
1 answer
67 views

Problem adding Google Analytics Code and Facebook pixel in Magento Community 1.9.3 [closed]

Our site was hacked a while back and ever since we 'brought it back' we are unable to add Google Analytics code or a new Facebook pixel in - System/Configuration/General/Design/HTML Head/Miscellaneous ...
1 vote
1 answer
1k views

Magento 2.2.5 google-analytics code not show Frontend

We have installed Lastest Magento Version 2.2.5 and Also add google analytics id but not show on frontend
0 votes
1 answer
480 views

Catch event product click in Magento 2

I am implementing gtm and I want to added data layer when user click on product from catalog, search result or related product. Data layer will be like this { "data": { "action": "category",...
  • 65
0 votes
1 answer
247 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.
  • 31
1 vote
0 answers
280 views

Magento2.2 - Send event to Google Analytics in a .phtml file

I have tried to send an event in .phtml file using <script>ga('send', 'event', { eventCategory: '...', eventAction: '...', eventLabel: '...' });</script> But Browser Console ...
2 votes
0 answers
154 views

Magento 2 push event to Google Analytics on register

Has anyone ever pushed an event to Google Analytics when a customer registers? I need to be able to report in GA how many customers for each customer group has registered
  • 2,519
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-...
1 vote
1 answer
706 views

Google Analytics tracking and reports per each store view

I'd want to have different reports for each store view in a single Magento store, if I add a different GA tracking code in each store view (e.g. ITA, ENG, FRA) this could make sense? According your ...
0 votes
0 answers
152 views

Google analytics not working in payment success page in Magento 1.9.3.7

i am using Magento 1.9.3.7 and here i have add a google analytics code using admin panel. It is working fine everywhere but payment successfull page. What things are going wrong ?
1 vote
1 answer
448 views

Where to put the code for a Google Adwords campaing on Magento 1.9.1?

Magento 1.9.1 Porto theme We are running an Adwords campaing and we were given the following code to place into the Magento shopping cart in order to track how successful the campaign is: <!-- ...
  • 256
1 vote
1 answer
149 views

Include a script after a custom form has been submitted

My case is the following: I need to output in the document a google analytics script after a custom contact form has been submitted, i have thought about many things like: observers. layout handles ...
0 votes
1 answer
149 views

How to implement GA Events?

I have a requirement to add GA Events throughout the Website. I found this plugin http://www.anowave.com/marketplace/magento-extensions/magento-google-analytics-event-track/ Found this article is ...
user avatar
0 votes
1 answer
215 views

Magento 1.9 strange links in layerer navigation

I am having this problem in my magento site. Sometimes in layered navigation when I hit a link of a category or filter I get the right link but in the end I get this: ?gclid=...
  • 1,022