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 -
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 -
Goals and funnels in Google Analytics
I have an e-commerce site and I'm trying to set up goals and funnels in Google Analytics. I've set the goal URL to my thank you page and am now setting up the funnel steps from home page through category page - product page - shopping cart - checkout. I seem to have set it up wrong though because according to the funnel 100% of the of the people coming in to the home page exists from there too, even though I can see that they have moved on to a category page. I have obviously several categories and product pages. Is there a way to set it up to include all category pages in one funnel step and all product pages in another? The way the website is set up is like this: Categories:
Conversion Rate Optimization | | Livet
domainname.com/category/category-name/ Products:
domainname.com/product/product-name How would you guys recommend i set up my goals and funnel steps in Google Analytics?0 -
How to find average organic traffic growth rate for ecommerce startup?
Happy Friday Everyone, I have a quick question: I am in the process of crunching some numbers to try and figure out an organic traffic forecast for a client. One of the crucial metrics I can't seem to figure out is traffic rate of growth over the next year or so. The reason this is complicated for me is that I have only ever done this sort of thing for an established business before, and had plenty of past organic traffic data to work with. What I am looking for is a source that could give me a reasonable idea of what kind of growth rates I might expect for a startup with practically no data; I would be perfectly happy with a national average for online retail startups. Any help would be greatly appreciated. Thanks!
Conversion Rate Optimization | | G2W0 -
Analytics (Other Than Google) & A/B Testing Tools
Hey, I have Google Analytics on my website, like most people, but I was looking at some other analytics and testing tools like heat maps, click maps, A/B, etc. I was hoping that some of you could recommend a few that you use to see where pages are going wrong, track user behaviour and to how improve conversion rate. I have had a look at a few websites like: https://www.clicktale.com/
Conversion Rate Optimization | | JonathanRolande
https://www.optimizely.com/ It would also be interesting to know how acurate these tools actually are, they seem quite legit. Cheers0 -
Review Functionality Plugins for eCommerce. Which are the best and most cost effective?
Hi Mozzers! Let me give you a bit of background for my question. I currently look after two eCommerce sites and naturally I want to get them using reviews for products for customer interaction / content and rich snippets. I am basically looking for a cost effective plugin that can plugin to our CMS system that can give us review functionality and will be compatible with rich snippets. At the moment we use Disqus for the blog commenting system and i've heard this can be used for product reviews. Any ideas would be great. At the moment our client is holding back due to 'lack of funds' so the most cost effective measures would be appreciated. Cheers,
Conversion Rate Optimization | | SEOAndy0 -
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