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
-
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 -
Google Trusted Stores Badge in the UK
Hi All Does anybody know when the Google Trusted Stores Program will be available in the UK ? Thanks Adam
Conversion Rate Optimization | | AMG1000 -
Analytics : Goal tracking for multiple payment methods
ello! I don't know if anyone else has come across this problem, but our ecommerce site offers two payment methods during checkout. I've set up goals and they successfully record the total number of transactions. Our site offers two payment methods (credit card and purchase order) and once you hit the 'select your payment' page, you're directed to different pages to make payment and end up on the thank you page. I created two goals, a credit card one that has "funnel" turned on and lists every page a 'credit card' customer would undertake, and a 'purchase order' goal listing all the pages a customer who undertake when making a "purchase order" payment. Google is however recording figures for both. Say I had 10 credit card orders and 5 purchase order, my Goals report 15 for both. Anyone come across this?
Conversion Rate Optimization | | Bio-RadAbs0 -
Google Analytics e-commerce tracking on multiple pages
Hi, I work in the airline industry and we are trying to implement Google analytics on our site. We are at the stage of getting e-commerce tracking setup. The problem we face is that we have multiple receipt pages (booking confirmation pages in our case) instead of just one as most carts would have. These are completely independent of each other. My question is can I use the same e-commerce tracking code on each page or do I need to setup multiple trackers. I reviewed the documentation here: https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce#multitracker however I'm unsure if multiple trackers are needed when using it on multiple pages or is this just for multiple trackers on the same booking confirmation page. any help on this would be greatly appreciated
Conversion Rate Optimization | | aerlingus0 -
Have Google Shopping show site listings instead of Amazon and eBay listings
An e-commerce site I'm currently working with also has storefronts on eBay and Amazon. When searching Google Shopping, their Amazon and eBay product listings come up but NOT their primary site's listings. Can anyone shed some light on how to a) feed the main site's products to Google Shopping and subsequently b) have Google remove the eBay and Amazon listings? Obviously, this would be a boon to business and hey wouldn't have to pay the Amazon and eBay fees associated with each sale. Thanks for any help!
Conversion Rate Optimization | | Nobody15330770827561 -
How Do I Create a Google Analytics Dashboard for My Designer To Monitor Landing Page A/B Testing
Hello All, We recently started doing some "AdWords Experiments" using A/B testing of our search landing pages. My web design team does not have access to our AdWords account, but they do have "user" access to our Google Analytics account. What I need to figure out how to do is setup an easy dashboard (or custom report) that will show them at a quick glance how the two versions of their page are performing in terms of: Goal Completions (Conversions) where the specific page is the entrance/landing page. Bounce Rate Time spent on site where the specific page is the entrance/landing page. Pages viewed where the specific page is the entrance/landing page. Possibly a way to see the most popular page visited 'next' after starting on the specific entrance/landing page Anything else that might be useful The two URLs would be like: http://www.domain.com/search/testa/
Conversion Rate Optimization | | Robert-B
http://www.domain.com/search/testb/ Any insight about the best way to do this is greatly appreciated! Cheers!0 -
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