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
-
Tracking a Deposit Page Through Google Analytics: Which is a better way?
Good day to all, I do have game download website (Works like Google Play and Steam) and currently working on the deposit page which is payable by fund transfer and Paypal. The thing is I do not have a confirmation page that I can use to track all incoming successful and unsuccessful conversions for this deposit page. My question is, which is better to use for this kind of tracking a goal in Google Analytics? Are we going to use a virtual page or and event tracking method? How can I track users that visit the deposit page that weren't able to do a deposit attempt? Thanks for answering this question. Have a good day ahead.
Conversion Rate Optimization | | Francis.Magos0 -
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 -
Question regarding on tracking
Hi guys, We are tshirts printing company.
Conversion Rate Optimization | | WayneRooney
We have of course a website and we have around 18k monthly visitors.
We get around 75 daily quotes.
We are not E commerce so we dot sale on the website. We can get all the information from Google analytic regarding to how many quotes we got and from where they came from but we can't know how many quotes was converted. I heard that i can add ref code on the url and then i will see that code in our quotes system and i will know from where that quote arrived.
Another thing that i know i can do is that the system will remember that first url that the visitor enters the site so like that i can know exactly from each url we got the quote and i know that the professional name for this is SESSION. So after all this, the obvious questions here is, Is everything that im saying here is make sense ?
Can i add SESSION to WordPress site ? And how easy is that/or the cost for that ?
For all of you the expert out there, is this the right way to track everything if you are not eCommerce ? Any help are welcome !!0 -
Which eCommerce site you consider using best practices? Site we can learn from
Hi, I'm looking to hear thoughts and suggestions as per sites that you consider to have great practices in the eCommerce world. Almost none of the sites do everything good so you can split your suggestions by any criteria -
Conversion Rate Optimization | | BeytzNet
the site structure
conversion funnel
Converting product pages (good design)
content creation and blog management / structure
content marketing
SEO guidelines / practices
... Thanks0 -
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 -
Non-branded search before branded search in Google Analytics
A lot of organic search phrases contain branded terms. Does Google Analytics provide a possibility to track wheteher the first interactor with the website is due to a non-branded search term? Example: On monday someone search for 'online shoes' and on thursday this visitor search for 'shoestore.com'. Ist it possible in the Thursday report in Google Analytics to see that this visitor has first arrived on the site with the search term 'online shoes'? The same question can be asked for direct/none traffic. is it possible to see whether these visits ca be attributed to an organic search term?
Conversion Rate Optimization | | xicero0 -
Google Adwords Quality Score Driving me I-N-S-A-N-E
Here's my issue, I have an Air Conditioning client for whom I've been managing their SEO and Adwords PPC for the past year. The SEO is going good, we are seeing tangible results every month will soon be on page 1 for their most competitive keyword. On the adwords side, we are having some major issues though and I'm racking my brain. We are somehow getting quality scores in the 2's and 3's on the regular. I've streamlined my campaigns down to the city and within those I've streamlined my keyword groups into the following groups: City (Campaign) - AIr Conditioning (keyword group) - AC Repair (keyword group) - Fix AC (keyword group) - Contractor (keyword group) - Air Conditioner (keyword group) Every keyword we're bidding on falls nicely into one of these keyword groups and we're putting about 10 key words in each. Landing pages have exact phrase match in page title, h1, bold words, contact form and a coupon image with all the meta tags indicating the image offer matches the offer in our ads. We are running 3-4 ads in each keyword and testing new ads almost daily. Still getting 2s and 3s on the highest trafficked keywords (air conditioning & ac repair). I've read everything out there, I signed up for wordstream which had some decent recommendations (basically break your ad groups into smaller verticals) which I've implemented to no avail. I'm beginning to think Google is just hustling all these companies in service industry who they know rely on adwords to get phone calls in the summer - especially the HVAC industry. I'm running out of ideas here other than just going to Vegas and putting all my client's on black at the roulette wheel. Seems like a much more fun way to piss away thousands of dollars and at least they'll give me some cocktails.
Conversion Rate Optimization | | BrianJGomez0 -
Tracking Sales to Sources
We're trying to set up a commission system for the different people who contribute to our site. We just want to see a list of transactions and the path back to source for all of them. We haven't been able to figure it out and know other ecommerce sites have had to have figured this out.We have GA Ecommerce tracking on. How can we find last months sales: source / medium / keyword / landing page / revenue / etc Sorry if this is an obvious question. We have spent a lot of time trying to figure it out.
Conversion Rate Optimization | | chrishansen0