Questions tagged [google-analytics]

Configuration and usage of Google Analytics & ecommerce tracking

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Tracking User Interactions, Saving them to Database Table and then send it to GA4 . Events and data events are saved as null in my table

This is the function that captures some data protected function captureRequestData(RequestInterface $oRequest, $aPostParams) { return [ 'request' => [ '...
Enisa Abazi's user avatar
1 vote
2 answers
253 views

Google Analytics 4 not receiving purchase values from Magento 2

I am using Magento 2.4.5p1. I have set up Google Analytics 4 via Google Tag Manager and implemented Google Tags. Connection is there, visits and number of purchases are being measured. But value of ...
Ben's user avatar
  • 141
0 votes
0 answers
59 views

Magento 2.3.7 - Google Analytics 4 with Google Adwords

Regarding a Magento 2.3.7 website, I was asked to assist a company with Google Analytics 4 setup this week. They are using Google Adwords and are now concerned about the conversion to Google ...
CvRChameleon's user avatar
3 votes
4 answers
409 views

How to configure Google Analytics 4 in Magento 2.4.4-p2

I want to configure Google Analytics 4 in my Magento 2.4.4-p2 version. Is there any way to configure it in Magento 2.4.4-p2? I know Magento already provides this functionality in 2.4.6 but I want to ...
Ronak Rathod's user avatar
  • 6,309
1 vote
0 answers
263 views

Google Analytics 4 vs Magento Open Source 2.4: GA4 / GTM ecommerce tracking

I am currently trying to set up ecommerce tracking for GA4 in Magento 2.4.5 (open source). Therefore I have set under Stores > Configuration > Sales > Google API at Google GTag / Google ...
Pixelrocker's user avatar
1 vote
0 answers
25 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 ...
Mani's user avatar
  • 383
0 votes
1 answer
109 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! ...
Shirinhk's user avatar
0 votes
0 answers
252 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. ...
Steve Khong's user avatar
0 votes
0 answers
150 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 &...
shankar boss's user avatar
  • 1,451
0 votes
1 answer
190 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 ...
Hybrid Developer's user avatar
0 votes
0 answers
63 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 ...
Chris's user avatar
  • 1
1 vote
1 answer
884 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 ...
paj's user avatar
  • 5,775
2 votes
2 answers
653 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 ...
Teo's user avatar
  • 21
1 vote
0 answers
66 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 ...
karan's user avatar
  • 11
0 votes
1 answer
622 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 ...
IntraPersonalLearner's user avatar
1 vote
4 answers
1k 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.
Kuldeep Sharma's user avatar
1 vote
0 answers
956 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
mechanic's user avatar
  • 440
0 votes
1 answer
229 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 ...
Arjun's user avatar
  • 3,566
0 votes
0 answers
84 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 ...
Lucas Fernandez's user avatar
0 votes
0 answers
371 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 ...
Armindo Pereira's user avatar
1 vote
1 answer
531 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 ...
JGeer's user avatar
  • 1,416
0 votes
1 answer
548 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 ...
Ahsan Horani's user avatar
0 votes
1 answer
578 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 ...
David Duong's user avatar
0 votes
1 answer
447 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 ...
GrapeSoda's user avatar
1 vote
0 answers
443 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 ...
William Oakley's user avatar
1 vote
1 answer
153 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 ...
Armindo Pereira's user avatar
5 votes
0 answers
150 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 ...
Nadroj467's user avatar
  • 561
0 votes
1 answer
598 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.
Vineet Sajwan's user avatar
0 votes
1 answer
108 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.
AcidBurn's user avatar
0 votes
1 answer
563 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 ...
Gustavo Ulyssea's user avatar
1 vote
1 answer
491 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 ...
Holly's user avatar
  • 4,863
0 votes
2 answers
544 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 ...
Allysin's user avatar
  • 250
0 votes
1 answer
964 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>...
Vincent Teyssier's user avatar
0 votes
1 answer
826 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 ...
Vinod Kumar's user avatar
  • 2,045
1 vote
0 answers
284 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, ...
Mage Explorer's user avatar
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 ...
Ketan Borada's user avatar
  • 2,603
0 votes
1 answer
852 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 ...
Jayreis's user avatar
  • 705
1 vote
0 answers
50 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 ...
Sylvester's user avatar
  • 2,204
4 votes
1 answer
746 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....
insoftservice's user avatar
2 votes
0 answers
165 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 ...
S Adamson's user avatar
  • 699
1 vote
0 answers
116 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. ...
Aaron's user avatar
  • 11
1 vote
0 answers
1k 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 ...
akgola's user avatar
  • 2,917
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 ...
Jayreis's user avatar
  • 705
0 votes
1 answer
100 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 ...
Confused's user avatar
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 ...
Dave3Rings's user avatar
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
M2Master's user avatar
0 votes
1 answer
553 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",...
Randy's user avatar
  • 65
0 votes
1 answer
289 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.
jcgf02's user avatar
  • 31
1 vote
0 answers
355 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 ...
nb171994's user avatar
2 votes
0 answers
235 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
Goose84's user avatar
  • 2,581