Google Ecommerce Tracking
-
Hey all,
I have GTM set up on a site and I am trying to enable the Ecommerce tracking functionality.
My problem is this, I have access to the basket variables all they way through the checkout funnel to the payment page, but they are then lost on the payment completed page. Does anyone know how I can pass the value of the basket across to the payment completed page so I can mark the transaction completed with an actual value present. I cannot post hidden input fields or change the url get variables as the third party system that us used fails.
I have thought maybe javascript calls, but not managed to get to work as yet. Can the Google session pass and hold them in the cookies that are set?
Any help greatly appreciated.
Cheers
Tim
-
Hi Tim,
I am happy I could be of help. I ran into a similar issue and that was the fix it was good timing.
Let me know if there's anything else I can do.
All the best,
Tom
-
Cheers Tom, this does look like what I am after - will feedback if I get it going
-
Cheers Guys, i've looked into the methods before, just always struggled integrating into the sites poor architecture. Will try again. Much appreciated.
Tim
-
Hi there.
It seems like you need to look into Enhance Ecommerce tracking from GA.
Here is the link: https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce
Hope it helps.
-
Your transactional tag needs to fire on {{event}} equals transactionComplete. This way you’ll be 100 % certain that the data is in
dataLayer
by the time the tag fires, because the trigger event is pushed at the same times as the transactional data!dataLayer.push({
'ecommerce': {
'currencyCode': 'EUR', // Local currency, type string
'impressions': [
{
'name': 'Triblend Android T-Shirt', // Name, type string
'id': '12345', // ID, type string
'price': '15.25', // Price, type string
'brand': 'Google', // Brand, type string
'category': 'Apparel', // Category, type string
'variant': 'Gray', // Variant, type string
'list': 'Search Results', // List, type string
'position': 1 // Position, type number
...https://www.savio.no/analytics/easier-enhanced-ecommerce-product-promo-tracking
dataLayer.push({
'ecommerce' : {
'purchase' : {
'actionField' : , // WRONG! This key requires a value
...
});
dataLayer.push({
'ecommerce' : {
'purchase' : {
'actionField' : '', // BETTER!
...
});For example, if you’re using a Custom HTML Tag to build your eCommerce
dataLayer
, add an ‘event’ push in there, which you’ll then use as the firing rule for your transactional tags:case 'cart': // Track Add to Cart clicks
dataLayer.push({'event':'addToCart',
'ecommerce':{
'add':{'actionField':{'list':pid.list},
'products': [{
'name':pid.name,
....code................
'dimension1':pid.dimension1, // Discount in percent
'metric1':pid.discount // Discount amount
}]}}});
..........more code......................http://www.simoahava.com/analytics/track-content-enhanced-ecommerce/
http://www.simoahava.com/analytics/enhanced-ecommerce-tips-and-learnings/
https://www.savio.no/analytics/easier-enhanced-ecommerce-product-promo-tracking
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
UX and/or Conversion Help for Ecommerce
Good Morning, We recently revamped and relaunched our ecommerce website and we believe we have built a great site that is easy to navigate, find what you're looking for, get all details, and purchase. We were hoping to get some of the Moz community to take a look at the site and let us know if you have any suggestions on usability or conversion techniques that we could implement to improve user experience and amount of orders placed. You can view our site here Looking forward to your feedback. Thanks in advance
Conversion Rate Optimization | | Prime850 -
How to track conversions?
Hi Mozers, Anyone know how I can go about finding what my conversion is on my site? Or how to go about setting up tracking?
Conversion Rate Optimization | | edward-may0 -
How to track conversions from a third party email campaign?
Heyy.. New to the Moz community, first question so here goes! I'm going to be running an email campaign with an e-magazine and I want to know how to track conversions from the email they're sending out so I can monitor success/failure. I've found Google's URL builder:
Conversion Rate Optimization | | 9868john
https://support.google.com/analytics/answer/1033867?hl=en
But this doesn't really explain what i'm trying to do. Can anyone of you in this fine community shed some light on this please?
Johnny1 -
Help with ecommerce duplicate pages and SEO advice(magento base site)
Hi, We have a magento build site (www.mokee.eu) and are selling our own branded goods. So far it is a very limited range of products. It's 1 baby crib in 5 variations. We recently started getting more sales from the site, so I started to look a bit more into optimising our site. I rewrote item name, created better descriptions, added meta titles and description etc. and subscribed to the MOZ analytics platform to understand a bit better ways to improve things up. From what I saw we have a big issue of duplicated content because our product pages are the same and only the product colour changes, which is something google apparently doesn't like However it is important for us that each colour get referenced by google so people who search for grey cot can find a picture of our grey cot etc... Also I was thinking to create only on multi variation page with all colour but when you have only 1 product to sell it might look a bit empty on the site. 1- Do you guys have some advise on how to go round this issue? 2- Do you have any other advise for my site in particular to optimise things and actually do you think i should be worried at all with such a small catalogue? Thanks Sam
Conversion Rate Optimization | | mokeestore0 -
Google Product Ads - Improving our Cost Per Conversion?
Hi all, We have been running Google Product Ads (paid for) ever since it began in the UK. We are still struggling to get to grips with the best way to make it worthwhile for us. Our data for the last 14 days:
Conversion Rate Optimization | | complete_outdoors
Clicks: 1827
Impressions: 65789
CTR: 2.78%
Average CPC: £0.22
Cost Per Conversion: £15.13 We've added some auto targets for our most popular brands, with a higher CPC than "all products". We've also added negative keywords so we only come up with relevant searches. Basically, what we'd like to know is: how we can best set-up our product ads to reduce our Cost Per Conversion (I guess everyone would like to do that!), as it is barely worth us using it currently. If you require any further data to help answer my question, please ask. Any help would be much appreciated. Thanks.0 -
Is there a way to track who clicks on these links?
At the bottom of my single page posts, I have some related posts. I'd like to set up some sort of GA tracking that lets me know how many people are actually clicking on those links. Anyone know if there is a way to do this? Thanks!
Conversion Rate Optimization | | NoahsDad0 -
Is it advisable to use meta refresh for Google Website Optimiser?
We'd like to track conversions using Google's Website Optimiser, but the conversion page is hosted on a different sub domain so Google won't allow us to use this as the conversion page. The plan was then to add a blank page on the original domain that contains Google tracking code and a meta refresh to the page on the sub domain. We would then block this page in the robots file so Google doesn't try to index the page with the meta refresh. Does anyone see any harm that may come of this? Or any other way around the issue? Thanks in advance
Conversion Rate Optimization | | heatherrobinson0 -
Ideal product page conversion/retention rate for eCommerce sites
Hi SEOmoz-ers, I was wondering if anyone has data regarding product page abandonment rate (% of potential customers that leave the site after seeing product pages) for websites like Overstock, REI or Zappos? As you may know the above mentioned sites do an exceptional job with product pages. It would be helpful to know what some of the leaders in this space are achieving in terms of conversion rate. What is your personal opinion about this? Thanks,
Conversion Rate Optimization | | Kush_VMI
Kush0