Comments (9)
@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.
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.
@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.
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.
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.
@grantkemp .. Did you add your account id and enable the module in Magento admin?
from magento1-google-tag-manager.
@grantkemp what do you get when you type dataLayer
into the console of your browser?
You should see something like the following.
from magento1-google-tag-manager.
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)
- Cat Page - Product Impressions
- Cat Page - Product Click
- PDP Page - ProductDetail
- PDP Page - Add to Cart
- Checkout - Checkout Call
- Order Confirmation - Purchase call
from magento1-google-tag-manager.
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)
- Composer.json requires v1.0.1
- Feature Request: Support the enhanced ecommerce Data Layer format HOT 7
- 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.