Skip to main content

Questions tagged [google-analytics]

Configuration and usage of Google Analytics & ecommerce tracking

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

The cookie with "wp_ga4_customerId" cookieName couldn't be sent. Please try again later

We are getting this exception for last two days but did not found any clue why the cookie unable to sent. [2024-09-04 03:27:19] main.CRITICAL: The cookie with "wp_ga4_customerId" cookieName ...
Abdul Rafay's user avatar
1 vote
1 answer
127 views

PageSpeed Insights returns ERR_TIMED_OUT

i was testing my magento 2 sight in https://pagespeed.web.dev/ in desktop view. it does't give any respose and keep showing following error : Lighthouse was unable to reliably load the page you ...
MageComp Project Team's user avatar
0 votes
0 answers
29 views

Magento 2.4.4p4 EE - GTM Session Regeneration on Every Page Load

I'm encountering a discrepancy between user/session activity and transaction count in Google Analytics (GA) for a Magento 2.4.4p4 Enterprise Edition project. The culprit seems to be frequent GTM ...
Mohd Farhan Bin Ramli's user avatar
1 vote
0 answers
46 views

Checkout parameters not passing to google analytics dashboard

We used below code in Magento PWA venia setup to pass the checkout values to Google analytics dashbaord. it is firing checkout event in google dashbaord. it is fine. const proceedToCheckoutButton = !...
Baby in Magento's user avatar
1 vote
0 answers
122 views

Add to cart event not passing values to google analytics dashboard

As We are using Magento PWA Venia setup, we integrated google analytics code to our website manually. After adding the below code , Once we click on ADD TO CART, add_to_cart event is firing in Google ...
Baby in Magento's user avatar
0 votes
0 answers
39 views

Google Analytics support for PWA studio venia setup

By default Magento provides an option to track Google Analytics by configuration. As We are using PWA Studio Venia setup, Is there any by default support by magento for Google analytics tracking ? Or ...
Baby in Magento's user avatar
1 vote
2 answers
563 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
3 votes
4 answers
1k 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,450
1 vote
0 answers
356 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
27 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
  • 392
0 votes
1 answer
147 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
310 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
1 answer
248 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
68 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
949 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,980
2 votes
2 answers
878 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
72 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
906 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
5 answers
2k 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
1k 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
392 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,606
0 votes
0 answers
85 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
467 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
553 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,422
0 votes
1 answer
645 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
600 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
515 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
456 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
165 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
156 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
  • 611
0 votes
1 answer
607 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
111 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
585 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
497 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,923
0 votes
2 answers
568 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
  • 280
0 votes
1 answer
968 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
860 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,065
1 vote
0 answers
289 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
2k 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,653
0 votes
1 answer
899 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
  • 725
1 vote
0 answers
51 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,254
4 votes
1 answer
884 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
182 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
  • 729
1 vote
0 answers
118 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,967
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
  • 725
0 votes
1 answer
101 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
68 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
586 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