Comments (7)
Hey @grantkemp,
Can you site the "Google recommended , enhanced ecommerce data layer format" you are referring to?
from magento1-google-tag-manager.
@srenon - I have found some workarounds for some of the data- and manually adding the code.
If you can do the addToCart - then I think we are probably ok to do the rest in GTM - and you will have a more powerful project.
Others can add the other features as more people use it
@srenon agreed I could use GA extension - but GTM is infinitely more powerful and flexible for most businesses.
If you are doing real business then GTM is the only way to go.
from magento1-google-tag-manager.
Hi @alex-koepke - If you look at the bottom of the issue above- I included a section where I list each page and hyperlinked each page to the relevant place in the documentation.
The whole page is found here:
https://developers.google.com/tag-manager/enhanced-ecommerce
eg Product Detail page should have the following markup:
( I customized the code based on my local instance, but I am happy to do the same for the other snippets, if needed. Have done these implementations loads - but mainly on Magento Enterprise)
dataLayer.push({
'ecommerce': {
'detail': {
'actionField': {'list': 'Category'}, // 'detail' actions have an optional list property.
'products': [{
'name': 'Death Star Lego,
'id': '1223213', // Sku
'price': '15.25',
'category': 'Toys' // If magento has multiple categories - just pick the first in the array
}]
}
}
});
from magento1-google-tag-manager.
@grantkemp @alexkoepke ... Not sure if I will have the time to fully implement EE. Keep in mind that you could also accomplish EE using a Google Analytics extension.
from magento1-google-tag-manager.
@srenon if you want a hand - drop me a line. I am happy to help out.
from magento1-google-tag-manager.
@grantkemp ... Sure.
My main focus is M2 and I took over 60 hours to implement this in M2
from magento1-google-tag-manager.
nice work - do you want to setup an instance on something like magecloud - then I am happy to run through it ( if needed)
from magento1-google-tag-manager.
Related Issues (20)
- Composer.json requires v1.0.1
- Documentation for installation? HOT 9
- DataLayer - PageType HOT 2
- DataLayer empty on checkout success HOT 5
- Broken php5 compatibility in DataLayer.php
- Can this work for Magento 1 Onestepcheckout HOT 1
- How are we handling GDPR here? HOT 3
- Feature request: catalog send products list HOT 2
- feature request: how do we handle a sale?
- What is/was the meaning of addCustomVariable HOT 1
- //$this->addVariable('productPrice', $_product->getPrice()); HOT 1
- Pushing and matching configurable transaction data HOT 1
- New version on the horizon HOT 1
- Script Rendering Incorrectly? HOT 1
- Would you mind adding this module to packagist? HOT 1
- How to install the plugin? HOT 3
- Google Tag Assistant Legacy Error: Number field should not be quoted: 'transactionTotal' , 'transactionTax' and 'transactionShipping' HOT 3
- configure event purchase HOT 1
- How to implement the Google Tag Manager container code has changed. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento1-google-tag-manager.