GithubHelp home page GithubHelp logo

Comments (7)

alexkoepke avatar alexkoepke commented on June 1, 2024 1

Hey @grantkemp,
Can you site the "Google recommended , enhanced ecommerce data layer format" you are referring to?

from magento1-google-tag-manager.

grantkemp avatar grantkemp commented on June 1, 2024 1

@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.

grantkemp avatar grantkemp commented on June 1, 2024

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.

srenon avatar srenon commented on June 1, 2024

@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.

grantkemp avatar grantkemp commented on June 1, 2024

@srenon if you want a hand - drop me a line. I am happy to help out.

from magento1-google-tag-manager.

srenon avatar srenon commented on June 1, 2024

@grantkemp ... Sure.

My main focus is M2 and I took over 60 hours to implement this in M2

from magento1-google-tag-manager.

grantkemp avatar grantkemp commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.