Skip to main content

All Questions

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

Magento 2 : Block Google From Indexing the price in my store as its a b2b site

I have a b2b store running on Magento 2.4.4. I am trying to block google from indexing only the price from my product page! Is it even possible?
Amer Mansour's user avatar
0 votes
0 answers
22 views

Magento 2 : Punchout Store - Purchase Button Click GTM Tracking Not Working

I have setup button click Purchase event with data-layer in Magento 2 Punchout store. But when I click the button "Transfer Cart to Ariba" (Purchase button) event is not triggering in GTM. ...
Hiral's user avatar
  • 1
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
0 votes
0 answers
183 views

Google tag manager on Magento2 - Double GTAG ID on my site

I'm facing a particular problem with google tag manager. In the error console the browser gives me this type of error: GET https://www.googletagmanager.com/gtag/js?id=G-1XXXXXXX&l=dataLayer&cx=...
Jackom's user avatar
  • 503
1 vote
2 answers
561 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
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
1 vote
1 answer
850 views

How to push add to cart event in datalayer on magento widget

I'm using magento2.4.2 and added catalog widget in homepage.Need to add datalayer to addtocart event in MagentoCatalogWidgets. Note:Add to cart event for listing and detail pages are working perfectly
Jothi Subramanian's user avatar
0 votes
0 answers
49 views

$_SESSION that has been unset is saved back in magento with custom GTM (google tag manager) x GTM Weltpixel

I have some issue after add custom tag in GTM and setting configuration in magento by Weltpixel for GTM extension so, i have custom tag for tracking event login, logout, banner click, brand click, etc ...
Ismynr's user avatar
  • 111
0 votes
2 answers
385 views

Search through magento admin panel to see which script are loaded where

I am using magento2.3.5-p2 Community Edition I am having a problem on finding the location of certain code, I have tried templatehints, search using grep and find all contents in file but to no avail ...
Mohd Farhan Bin Ramli'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
0 votes
0 answers
724 views

Add extra data to Datalayer(GoogleTagManger) Magento2

I am working on GoogleTagManger module in my magento2.3.6. i want to add price, brand and its values to the existing productClick event. I tried the below steps in magento_catalog/product/list.phtml.. ...
Santhosh Kumar CA'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
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
87 views

How to retrieve the SKU of the first simple product for a configurable product

I am trying to retrieve the SKU of the first simple product of configurable product as soon as a certain SKU type is found to be "configurable" type. The code below helps find out if the main SKU is ...
CodeForGood's user avatar
2 votes
1 answer
3k views

Magento 2 js library(Magento_Customer/js/customer-data) how to get custom product attributes in js

I've a little problem with an override of google tag manager in Magento 2 enterprise. google-analytics-universals.js have some function that trigger the events: addToCart, removeFromCart. To get the ...
Michele Lezzi's user avatar
0 votes
1 answer
189 views

Google Search Console and Magento Multistore

I have a multistore set up with an english domain.com/en_ca and french store domain.com/fr_ca, fr_ca and en_ca are added by Magento, by enabling the configuration Add Store Code to Urls to Yes. My ...
tarek fellah's user avatar
1 vote
0 answers
51 views

Use JS + Simple SKU to lookup configurable sku

I'm setting up enhanced ecommerce tracking using GTM for our site & a problem I'm running into is product lists & product details output the config sku to the dataLayer but adds to cart, ...
ted_zarzeczny's user avatar
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
1 vote
1 answer
254 views

Magento 2, Google Tag Manager script in header creates display issue in cart page in IE browser

Throughout debugging I realized Google Tag Manager script in header leads to displaying extra text ---------Tracking code: Standard (Asynchronous) "Add To Car"------- in cart page as follow: Any clue ...
Zinat's user avatar
  • 2,079
0 votes
1 answer
343 views

Google TAG MANAGER extension impossible located [closed]

I have installed via composer extension Google Tag Manager from Yireo: https://www.yireo.com/software/magento-extensions/googletagmanager2 After install I have enable module (on below screenshot can ...
Sylvester's user avatar
  • 2,254
2 votes
3 answers
3k views

Google tag manager: Magento-2

According to this guide http://docs.magento.com/m2/ee/user_guide/marketing/google-tag-manager.html there should be some options in magento2 2.2.2 to choose google tag manager instead of just google ...
Michael's user avatar
  • 105
1 vote
5 answers
8k views

Add google tag manager code inside head and body

I have a question regarding magento. I would like to know where the head and body are located. I want to do this because i would like to add a Google tag manager code inside it. I can somehow not seem ...
Kevin's user avatar
  • 13
3 votes
6 answers
28k views

Add Google Tag Manager to Magento 2?

I'm using magento 2 and I'm trying to add the Google Tag Manager code (noscript and script parts) to my magento 2 installation , what's the best way to do it ? I found this module to do it https://...
alexcr's user avatar
  • 1,497