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 fix canonicalization so Google shows our company's website and not LinkedIn
I work for a company that builds and manages apartments. I would like to know how we can fix canonicalization. You see, we have been posting our company's blog articles not only on our company's website, but also on LinkedIn. When people search for one of our articles, Google is displaying the article for LinkedIn. Except, that's not what we want. I'd prefer for Google to display our company's website, to drive more traffic to our website and not LinkedIn. For instance I just Googled the title to one of our company's blog article "Great Leadership is about Influence not Authority." The first thing to show up was a link to see the article on LinkedIn. There was nothing referring to our company's website. Here is a link to the LinkedIn account where we have been posting the blogs: https://www.linkedin.com/pulse/great-leadership-influence-authority-mike-kaeding/ Here is a link to the same article, but on our company's website: https://www.norhart.com/blog/2018/08/08/great-leadership-is-about-influence-not-authority/ Why is Google showing the article for Linkedin and not our Company's website? Might LinkedIn have canonicalization over Google? If so, how might we be able to reverse this and drive people to our company's blog instead. Any ideas I'd greatly appreciate it! Thanks.
Conversion Rate Optimization | | mikleing0 -
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 -
Tracking Adwords users who sumbit a contact form after clicking through my Landing page.
I have a user, Jane, who comes to my landing page through an AdWords campaign. She click off my landing page, browses the website, then submits a contact form on one of the other pages on the site. My problem is when I receive the email from the contact form, there is no identification that this user came through adwords. If she had submitted the contact form on my landing page this wouldn't be a problem, but she submitted the form from elsewhere on the site. I know that I can see a NUMBER of how many goal conversions were achieved this way in Analytics. This is not what I want. I need something to identify it on the CONTACT FORM so that the intake staff in my office can credit that lead to the correct campaign. Any idea on how to achieve this. Technically, I am using the latest version of Wordpress and the Contact Form 7 plug-in. I can change plug-ins if needed.
Conversion Rate Optimization | | McShaneFirm0 -
Optimising /product/ pages for our 15,000 product ecommerce store.
Hi guys! We're constantly working on evolving our /product/ pages on the site, however some times it's pretty easy to get lost in your own mess. Especially when the sites consists of 15,000+ products. So it's pretty painful to handcraft every single page. So I thought I'd jump in here to see if anyone had any suggestions for stuff we're missing, and or should improve? These are product pages: http://www.warcom.com.au/products/9954_draytek-vigor-120-single-port-adsl-122-modem http://www.warcom.com.au/products/49884_warcom-deluxe-double-lcd-monitor-stand---free-shipping There is a few issues we're aware of already.. Negatives: To many links in the left menus. To many links in the footer. Positives: We recently included rich snippets.. We're always testing out colors and styles. We're always testing meta data. Any and all suggestions will be greatly appreciated. Thanks!
Conversion Rate Optimization | | warcom
Paul.0 -
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 -
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 -
Ecommerce Store Sales
I am the webmaster/developer/seo guy for my company's online stores. Of course doing this gets a lot of pressure based on the sales the websites are bringing in. In the past month or so, we've had a somewhat steep dropoff of sales and I've been having an extremely hard time figuring out why. I have researched our visits, and those are staying steady, our ranks have actually gone up for a few of my targeted keywords, the sites are working fine, all statistics seem like everything is normal other than the amount of sales. So the question is: does anyone else here run an Ecommerce store that has run into this kind of problem? Have you found any outside influences from google or other search engines that have had this kind of effect that you wouldn't normally think of looking at? I'm just completely out of ideas for things to check... it may very well be they need to re-price things, but I want to make sure I've done my due diligence to find anything I may be able to fix! Thanks!
Conversion Rate Optimization | | Ask_MMM0 -
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