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
-
We changed our domain, I used the move tool in Google Search Console and I am having our site redirected and go daddy, and now I spoke with someone who suggest we do a 301 redirect for all pages on our site and I’m not sure that’s the correct move.
We just changed our domain name after 15 years. when I bought the new domain name I called Go Daddy and they instructed me to contact my google G sweet admin account and change all of our emails over which I did and then I went into Shopify who is my host and changed my primary domain there and then I went back to Go Daddy and had my old website forwarded to my new site. since then there has been nothing but problems with Google. my product feed from my merchant center account has been suspended three or four times now, I tried to rename and move all of my Google accounts from my old domain to my new one, but I am not an SEO person... after making the changes I have started google chats with analytics department with the merchant center with Google as they all keep saying that it looks fine but I’m not convinced because the product feed keeps getting disapproved. So I posted an ad for help and the Guy I spoke with suggested I do a 301 redirect for every single page on my old site, But I’m concerned that might confuse things further? I’ve already started the move in Google Search console And in Shopify I added the old domain back into the domains section and am having it redirectEd that way too... I guess I’m just looking to know which way I should proceed, any and all advice is warmly welcome thank you in advance Maureen
Conversion Rate Optimization | | TooFast130 -
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 -
Use "Brand Name" or things like "Free Shipping" in Ecommerce Product Title Tags?
Given the current industry best practices and changes to Google algorithms, should I be using "Product name...Brand Name" or something like "Product Name...Free Shipping (or similar)" in my ecommerce title tags? Thanks!
Conversion Rate Optimization | | jeffbstratton0 -
Which eCommerce site you consider using best practices? Site we can learn from
Hi, I'm looking to hear thoughts and suggestions as per sites that you consider to have great practices in the eCommerce world. Almost none of the sites do everything good so you can split your suggestions by any criteria -
Conversion Rate Optimization | | BeytzNet
the site structure
conversion funnel
Converting product pages (good design)
content creation and blog management / structure
content marketing
SEO guidelines / practices
... Thanks0 -
Goal Tracking in Google Analytics
Hi guys, I just want to ask if you have videos or blogs about setting up goal tracking using conversion page or a "thank you page" in Google Analytics. This will help me to get how many inquiries (from contact form) I am getting and for me to know where they came from using Google Analytics (countries, source/site they used, time on site, category page and landing page, etc.). #2 question - In case I don't have a "thank you" page, is it possible for me to get these "goals"? Do I need to insert a code in each of the "send" button in my contact form? Looking forward for a positive response from you guys. 🙂 Thanks, JC
Conversion Rate Optimization | | esiow20130 -
Ecommerce Store Sales
I am the webmaster/developer/seo guy for my company's online stores. Of course doing this gets a lot of pressure based on the sales the websites are bringing in. In the past month or so, we've had a somewhat steep dropoff of sales and I've been having an extremely hard time figuring out why. I have researched our visits, and those are staying steady, our ranks have actually gone up for a few of my targeted keywords, the sites are working fine, all statistics seem like everything is normal other than the amount of sales. So the question is: does anyone else here run an Ecommerce store that has run into this kind of problem? Have you found any outside influences from google or other search engines that have had this kind of effect that you wouldn't normally think of looking at? I'm just completely out of ideas for things to check... it may very well be they need to re-price things, but I want to make sure I've done my due diligence to find anything I may be able to fix! Thanks!
Conversion Rate Optimization | | Ask_MMM0 -
How to track PPC conversions?
I use both adwords and Microsoft Adcenter. I am looking to be able to track my conversions from each PPC site. I do not have a "Thank You" or "Check Out" page that I can tag because any sales that I make are through clicks on a link that goes offsite to an affiliate company that I receive commission from. However, the link on my site is a "Buy Now" button, so to get some idea of which source is giving me better conversions I'd like to know whether adcenter or adwords is sending more people that end up clicking this link. Canb anyone suggest a way or a program to set up in this manner? Thanks in advance for your help!
Conversion Rate Optimization | | VictorVC0 -
Google adsense what is the best way to display the ads
Hi. I am using google adsense and trying to find the best way to have them on my pages but being knew i am not sure the best way to lay them out. I am playing around with the pages and would love to see some good examples of adsense pages that work. If anyone can give me advice on the following page and let me know what is wrong or right with this page to help me understand where i am going wrong, then that would be great. I am trying to sort it out so each page is set out the same. http://www.cheapflightsgatwick.com/news/easyjet-news/easyjet-tell-disabled-man-to-get-off-plane
Conversion Rate Optimization | | ClaireH-1848860