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 -
Tracking Facebook Mobile Visits to Desktop Conversions?
Hi. If I set an ad in Facebook, I can obviously track visits, conversions and so on from that ad and see if they where mobile or desktop. However, how do I, if possible track a mobile visitor who the converts on a desktop? Eg. I go on XXX Facebook Ad on my mobile whilst in work, look around. Like what I see. Then I go home from work, open my laptopn and go on XXX website and send an email enquiry form in. Is this possible to track? Thanks
Conversion Rate Optimization | | YNWA0 -
Help! Tracking Conversion Source of Specific Users: Possible? How?
Just as an example, let's say we generate a website lead from John Smith. Can we trace John Smith's activity back through AdWords or Analytics to see exactly where he came from and (with AdWords for example) what keyword he typed in before clicking our ad and converting? Thanks for the help!
Conversion Rate Optimization | | RickyShockley3 -
Video for Ecommerce
Hi all- I am currently making videos to put on our site about some of our products. The same video will appear on a few different product pages as they will be about the category of products (i.e. how many gumballs fit in a few different size jars). My questions are: Should I worry about duplicate content issues if the rest of the page is unique? and for hosting the videos/SEO: Should I put the videos on youtube or use another hosting service. I don't think any of these are going to go viral, it's mostly about more content on the page to increase conversions. Any thoughts would be appreciated Thanks Ken.
Conversion Rate Optimization | | CandymanKen0 -
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 to you determine what a good CPA is on an ecommerce site?
Do you calculate shipping, warehouse cost, cost of goods into your CPA? Lets say my current CPA is $20 and average order is $100. Its 20% of each order cost goes to lets say ppc, seo, email or affiliate. Do I include cost of shipping lets say its $7.00 and cost of goods are $40.00 I end up with a profit of $33 and that doesn't include taxes, salary, warehouse cost ect. *this is all hypothetical, Im trying to see if my real CPA is inline or I should work on decreasing it. Any thoughts? Thanks
Conversion Rate Optimization | | perytestusr0 -
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 -
How accurate is the Geo-Targeting of Google and Bing/Yahoo PPC ads?
I have a client who serves a local market and who has had trouble in the past with people out of her service area clicking on ads. She asked how accurate the geo-targeting option is. I know it's not possible to be completely accurate resolving the location of IP addresses, but was wondering if there are any recent statistics out there regarding how accurate or inaccurate geo-targeting is. I did some quick searches but did not see any current numbers. Many Thanks!
Conversion Rate Optimization | | JKuly0