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 -
App Store Optimization - Google Play Console A/B Testing: Should I Optimize for Active Devices or Users
Can't seem to find any ASO type of communities to ask this question to and since the Moz community has been so helpful, I thought I'd try this out. I've been doing A/B Testing for featured graphics on the Google Play Store. There are segments of active devices and users and I've been keeping track daily for ~1.5 months. The data that I have written down displays that active devices shows a positive, however users show a negative. Google Play Console choose to display the scaled installs for active devices. When we do A/B Tests on Google Play Console, should we choose the winner based on the active devices or users?
Conversion Rate Optimization | | imjonny1230 -
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 -
Has anyone ever used Adwords' Forwarding Numbers as a Call Tracking Service?
Hi, I was taking over a client's Adwords account from a previous agency. It appears the former agency added the Google Forwarding Number (for call tracking on call extensions) and added it to the client's website. Therefore, if anyone calls that number from the website, it would register within Adwords (just not as a conversion but as a click under "call extensions") The problem: you can't filter by phone number (the same number calling +1 would indicate spam) you can filter by device (so tablet / computer) can be considered spam generally. Questions: Anyone ever used this before? Your thoughts? Does anyone know if there is spam coming from mobile devices now-a-days? Please tell me what I'm missing. Any advice / anyone else seen this / done this? Thanks Moz Community, Cole
Conversion Rate Optimization | | ColeLusby0 -
Advice and recommendations for ecommerce CMS
One of my clients uses oscommerce as the CMS for their ecommerce websites. I think it it quite dated and inflexible for layout and design purposes. We have been looking at Woocommerce plugin with Wordpress as an alternative. Client has the following minimum requirements: 1. Ability to Manually enter and edit existing orders/ 2. Export Orders and Sales Tax Information to QuickBooks etc. 3. Sync inventory with Quickbooks POS. 4. One Page Checkout 5. Ability to either send out directly or through third party integration, a email marketing service to customers. 6. The site needs to be SEO'ed thoroughly so SEO is a top priority. Anyone have any experience with Woocommerce? So far, Woocommerce looks pretty exhaustive, but I am unable to contact WooCommerce for support unless I purchase their theme or extension plugins. Thoughts, advise, recommendations?
Conversion Rate Optimization | | amitramani0 -
Event Tracking or Goal Tracking?
Hi guys, What do I need to implement if I want to track sign-ups (and where this successful transaction/goal came from) and email inquiries (from a contact form)? Event Tracking or Goal Tracking? If you can share some of your guides or blogs/articles you found online, that would be great. Thanks in advance! 🙂
Conversion Rate Optimization | | esiow20130 -
Can using the Google Keywords tool and/or SEOmoz cause problems for my company's IP address?
I just started with a company a few weeks back, working on-site doing SEO work. I've been using SEOmoz as well as Google Adwords' Keywords tool. I just got a message from one of our reps saying that people at the office (and this is a huge office) have reported tons of CAPTCHAs being thrown up frequently. I told them I had been running searches with Google Keywords tool and SEOmoz, but would that really cause that much of a problem? Is there anything I can do in order to fix this, some keyword finders that won't get me in trouble, etc.?
Conversion Rate Optimization | | SmokewagonKen0 -
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