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
-
Google-powered search bar suddenly returning totally different results than usual - User Intent?
Our website has a Google powered search bar and for some popular keywords it has always returned the same results but for the past week it has been returning totally different and nonsensical results with the previous top 2 entries now on the 2nd and 4th pages of the results. It seems to be mixing up two separate keywords which the same user may search for but which both mean two very different things. Is this a User Intent issue do you think? Anyone know if there's anything we can do to stop it? I'm guessing not...
Conversion Rate Optimization | | missus0 -
Does anybody know of a reliable website phone call lead tracking service that integrates with Google Analytics?
We are trying to get more detailed data about where direct website phone calls are coming from (not just Adwords call extensions). We know there are a few services available that do this. However are there any recommendations for a reliable one? We would like to show our clients Google Analytics conversion metrics that shows incoming phone calls from different campaigns.
Conversion Rate Optimization | | RosemaryB1 -
Google Adwords Offered to Redesign My Website & A/B Test... Thoughts?
I received a call from the Google Adwords team today offering to redesign major pages of my website & A/B test their design against mine. The rep said that this is not a standard service they offer and that we had been "selected". Despite it's overt marketing overtones, I would hate to pass by the opportunity to apply Google's conversion insight to my site. Has anyone experienced this before? Good experience? Bad experience?
Conversion Rate Optimization | | Glathrop1 -
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 -
Is it possible to set a Goal conversion tracking from a subdomain to a root domain?
Hi Mozzers, Here is an issue I am going through: I have a root domain(www.example.com) that is the core website where you are able to schedule a service I have a subdomain (sub.example.om) that is part of content strategy offering free tips and follows a different branding strategy. There are internal links from sub to root domain I have a GA subdomain tracking code installed on every page for both domains I would love to set goal tracking on GA for visitors coming to my subdomain, then going to root domain and then schedule a sevices? Is this possible? If it is, can someone show me a How To because I tried it anddidn't work? Thanks mozzers!
Conversion Rate Optimization | | Ideas-Money-Art0 -
Question regarding eCommerce sites, relative URLs and secuirty certificates
We recently installed a new SSL certificate on an ecommerce site. Our IT Director is insisting that all pages on the site must be coded in such a way so that the address bar maintains a green background when a visitor is navigating the site after navigating to a secure page or logging in. I have worked on many ecommerce sites and never has this been an issue. Amazon does not use the green bar....but they are Amazon. In order for this to work, he is insisting that all internal URLs be coded as relative instead of absolute. How bad is this for SEO or does it really not matter that much? How crucial is it for trust and security? Opinions welcome!
Conversion Rate Optimization | | danatanseo0 -
Adwords Tracking
Hi, With Adwords conversion tracking is it worth allow Analytics data in as well? Does that confuse the adwords tracking data? Does it only include Analytics data that has been set up for conversion tracking? I hope i am asking the right questions 🙂
Conversion Rate Optimization | | wood1e19680 -
Google Plus account - Should I use Brand or Product Type
Hi Let's assume that our company's name is "Smith Computers" and we specialize in Ultrabooks (for those who don't know - super light and slim computers - a niche within computers for the matter). Under which name would you open the Plus account - Smith Computers Ultrabooks Smith Ultrabooks Smith Ultrabooks Computers The example is not 100% but the question remains - No one knows Smith Computers and even if we turn up in search results for computers, the customers are not looking for our type products.
Conversion Rate Optimization | | BeytzNet
However, it is our brand name! Ultrabooks - I assume it will help us gain followers faster but will be hard to brand. The followers will be people who like the product and not the company but might be good people to sell to in the future. I'd say that option 3 is half branding and option 4 is 75% branding 🙂
Both will also have good chances to pop up in search results. The company at hand is a family owned business. We do not plan to rule the industry but rather taking it to the next level. We do not count on having thousands of people searching Google for "Smith Computers" like Best Buy etc. Please consider that at the end we want to use it both for promoting our brand (slowly) but also (and maybe mainly) SEO (by getting more people that click +1 onsite). We currently have lots of Facebook followers but naturally they only Like and not +1 Please help...0