GithubHelp home page GithubHelp logo

Comments (9)

srenon avatar srenon commented on June 13, 2024

@grantkemp .... can you compile a list of all your questions and I will try to answer them as best as possible?

from magento1-google-tag-manager.

grantkemp avatar grantkemp commented on June 13, 2024

Thanks @srenon - just one question - is there any instructions for how the developer should install the module.
It mentions something in the read me about adding XML - but doesn't specify what XML should be added and to where.

If this is indicated elsewhere- can you link to that location from the readme/ elsewhere?

from magento1-google-tag-manager.

srenon avatar srenon commented on June 13, 2024

@grantkemp ... Sorry for the confusion, the only thing you need to do is install the extension and enter your account id in admin.

Advanced users could use layout XML to add additional value to the data layer

Example, if you want the cart to be a high-value page


<?xml version="1.0"?>
<layout version="1.0.0">
    <checkout_cart_index>
         <reference name="magepal_gtm_datalayer">
              <action method="addVariable">
                 <name>visitorType</name>
                 <value>high-value</value>
              </action>
        </reference>
    </checkout_cart_index>
</layout>

from magento1-google-tag-manager.

paalsoberg avatar paalsoberg commented on June 13, 2024

Hey great module, just one question the datalayer push through the catalog_category_view, catalog_product_view etc rather than product, category, cart etc which is what the google adwords / dynamic remarketing expects. Any ideas @srenon ?

from magento1-google-tag-manager.

grantkemp avatar grantkemp commented on June 13, 2024

Thanks @srenon - I am not seeing the tag manager snippet or the data layer on the site we are testing it on. It might be that the layout has been customized too much. Do you have any ideas of where to look if its not showing up?

We are looking at it today- I will post the result if we find the cause.

from magento1-google-tag-manager.

srenon avatar srenon commented on June 13, 2024

@grantkemp .. Did you add your account id and enable the module in Magento admin?

from magento1-google-tag-manager.

alex-koepke avatar alex-koepke commented on June 13, 2024

@grantkemp what do you get when you type dataLayer into the console of your browser?
You should see something like the following.
screen shot 2017-08-15 at 9 43 54 am

from magento1-google-tag-manager.

grantkemp avatar grantkemp commented on June 13, 2024

Hi @alex-koepke and @srenon - thanks for the follow up. We had another legacy version of GTM in the code which was overriding it - when we removed it , the snippet code appeared nicely.

I have one more issue though which is the snippets aren't appearing on each of the pages that they should be.
I can't really see the datalayer calls for productImpressions, AddToCart or CheckoutStep - would these need to be hand customized?

It would be excellent to have the basic list of datalayer calls. Then we can add others on our projects and share the code back. (if approved)

The starting ones that I would use are: ( hyperlinked to sample calls)

from magento1-google-tag-manager.

grantkemp avatar grantkemp commented on June 13, 2024

After digging into the code - this feels more like a feature request now - so I have added it as a seperate issue #14. Feel free to close this - thanks for the support

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.