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 -
PPC & Google analytics - super advanced online course ?
Hi guys, I'm looking for online course for PPC & Google analytics... I'm not looking something for starter and im not looking for something
Conversion Rate Optimization | | EdmondHong87
that you can find on YouTube...I'm talking about super advanced...The best of the best! Anyone know something like this ? Thx1 -
Google Remarketing Conversions - Possible Issue
Hi All, When it comes to Google Adwords, when considering conversions, Google assigns each conversion back to the click that originally drove that visitor on the day they clicked. so, even if someone converts today, Google would show that conversion as occurring two weeks ago when the visitor originally clicked on a paid search ad and came to my site. fine...whatever. My question now is if we use a remarketing campaign through the Display Network, and someone converts, will that conversion be shown under their new visit or back on their original click where they did not originally convert, causing them to be included in our remarketing audience? Cant seem to find a straight answer anywhere and hoping someone out there has some guidance.
Conversion Rate Optimization | | dsinger0 -
I am confused on adding Google+ authorship markup to a multiauthor WP blog
The blog for a client is at http://blog.multiview.com . I am not sure how to tell them to add Google+ authorship tags to the site, and link the posts to the individual G+ profiles of each individual author. One source shows it is highly complex, seesee http://searchengineland.com/the-definitive-guide-to-google-authorship-markup-123218 However, in the Google webmaster account, there is a real simple explanation, i.e. https://support.google.com/webmasters/answer/2539557?hl=en Considering that this is an area that is very murky for me, is one of these directives out of date? Is one preferable? How complicated would that be, for this particular blog?
Conversion Rate Optimization | | DianeDP0 -
Tracking Adwords Conversions for eCommerce ROI
I'm working with a rather large eCommerce customer who needs to be able to track their Adwords conversions for the purpose of determining the ROI of their Adwords campaigns. I've installed code from Google Adwords Conversions on their eCommerce page, but it doesn't seem to be calculating values correctly. Also, where would setting goals in Analytics come in to play if I'm trying to track the conversions of specific Adwords conversions?
Conversion Rate Optimization | | SmokewagonKen0 -
What is the best solution to track conversions on local plumbing site (non-mobile)?
What is the best solution to track conversions on our local plumbing site? 95% of leads coming from phone calls, the rest – from the contact form we have on every page. Is there a reliable solutions to track conversion rate for non-mobile local site? As a side note, we have 6 different phone numbers on our site that users can call in order to reach us.
Conversion Rate Optimization | | dinok_ya0 -
CRM, CRO and Google Analytics
Hi, I am making a paid marketing, and organic too, at the moment i am promoting a small product, peoples are signup every day, but i cannot meassure from which keyword which signup(CRO) do you know any software or something like that, to use together with google analytics and google adwords, and to monitor conversions and to know which keyword is bringing me sales and which not. Tell me any how to guide, a software to use for this etc.. help me if you are doing this job. THanks
Conversion Rate Optimization | | leadsprofi0 -
Can I track user journeys from a particular source?
We want to track users from a particular campaign to see what they do when they get to the site. The site generates revenue from clicks out so we want to be able to see whether visitors from a particular source click on multiple deals. i.e. enters from the source and then clicks on 3 different deals that take the user to other sites. Using GA, can I track this by implementing UTM on both the campaign links and outgoing links? Can I see exactly how many deals the average user is clicking on? As far as I know I can: Track visitors from the campaign Track overall clicks on deals Divide click outs by visitors But I can't track how many deals the visitors from campaign A clicked on... or can I?
Conversion Rate Optimization | | Red_Mud_Rookie0