Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Does analytics track an order two times by refresh on the confirmation-page?
-
Hi there,
I have a quick question. Does Google analytics track an order two times, if the user buys a product, see the confirmation page and then click refresh/click or back and forward again?
The order/tracking data must be the same, but i guess the tracking code runs for every refresh and therefore tracks the order two times in Analytics or does analytics know that it is the same order?Someone that can clearify this?Thanks!
Regards
Kasper -
I don't think there is a solid YES/NO answer to this that you're wanting.
Not sure why you couldn't do one test since you're already concerened about the problem being present. This would be the ultimate way to find out if your setup allows this.
It depends on if the user accepts cookies and whether you've configured your ecomm software to allow refreshes to trigger the GA code a second time. USUALLY GA will only log one conversion per visit so you're probably okay.
Just dont take your data to be 100% accurate all the time because if not this particular problem it may be another.
TL;DR: Test it on your setup.
-
It shouldn't, but simply run your own test and look at the result in your analyics package across a few browsers.
-
It still depends a bit on how your analytics tracking code is installed on your site. So I can't say for sure, but the way Google Analytics ecommerce tracking is built is that when you reload the page with the same ecommerce tracking variables as the first time your data is overwritten in Analytics itself. So if the code hasn't changed in between refreshing the page your order will be processed twice but there will only be 1 transaction as just the data gets overwritten.
-
Another option, a bit time consuming, but it might give you some information, is to go through the orders you received, let's say in the past week and see if the number matches with the number of conversions reported in analytics.
But I do believe that running a test is the best option because your data may not be accurate already.
Good luck!
-
I agree.
What I would do is make a $1 test product and run my American Express card to see if it reported. Also I would buy quantity 2 to see if GA is recording that I made 1 transaction with 2 items.
-
Hi there,
FDFPres, it is not a known shop system and it allow that the scripts runs again on refresh.
PremioOscar, it is not a option to test that, as we cant allow our analytics data to be inaccurate.
Someone who know this?
/Kasper
-
Hello there,
Well that shouldn't happen as you also have cookies that recognize it. Because of your particular situation what I'd suggest you to do is to place a test order within your site, refresh the confirmation page and see how it is reported in Analytics. I'd suggest you to do so during the period of the day/week when you receive the less traffic/conversion.
-
most sophisticated ecomm platforms wont let this happen - Magento for example, if you refresh or go back after the success page you will get the basket empty page.
what platform are you using?
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 important is Lighthouse page speed measurement?
Hi, Many experts cite the Lighthouse speed as an important factor for search ranking. It's confusing because several top sites have Lighthouse speed of 30-40, yet they rank well. Also, some sites that load quickly have a low Lighthouse speed score (when I test on mobile/desktop they load much quicker than stated by Lighthouse). When we look at other image rich sites (such as Airbnb, John Deere etc) the Lighthouse score can be 30-40. Our site https://www.equipmentradar.com/ loads quickly on Desktop and Mobile, but the Lighthouse score is similar to Airbnb and so forth. We have many photos similar to photo below, probably 30-40, many of which load async. Should we spend more time optimizing Lighthouse or is it ok? Are large images fine to load async? Thank you, Dave bg_05.jpg
Reporting & Analytics | | erdev0 -
Tracking PDF downloads from SERP clicks
For the longest time, our company policy has always been to put PDFs in a secure folder (hence they are not indexed and do not appear in search results). After evaluating this strategy, there has been clamor in recent months to allow Google to index our whitepapers. My question: Once PDFs start appearing in search results, what is the best way to start tracking clicks due to these "downloads"?
Reporting & Analytics | | marshdigitalmarketing0 -
Google Analytics Goal/Event/SOMETHING to show only Wordpress "Posts", not pages, etc
Hi all, Our site is build on Wordpress and formerly the post URL's had the typical date format at the beginning. This made it easy for me to look at, for example, all search traffic to the blog. I would just view URL's containing /2014/ and /2015/ and boom. We have since removed the dates from the URL's with proper redirects etc, which is great, but now I can't figure out a way to look at ONLY the blog in GA. I like to track a KPI of 'search visits to blog posts' and I can't figure out how to now. Can I set up a GA event that only fires when the post type template for blog posts loads? Some other solution? I'm lost here, and there's gotta be a good way to do it...
Reporting & Analytics | | 3DR0 -
How does switching to HTTPS effect Google Analytics?
We are looking at making our site HTTPS. We have been using the same Google Analytics account for years and I like having the historical data. All of our pages will be the same, we are just going to redirect from the http to https. Does anything need to be done with Google Analytics? What about other addons such as Optimizely, Crazy Egg, or Share this?
Reporting & Analytics | | EcommerceSite0 -
How to track subfolders in GA?
Is it possible to get the visitor statistics for a subfolder (example.com/blog/) in Google Analytics? I already have GA tracking set-up like normal, and visitors do get logged, but to see data only for /blog/ I have to go to Content > Site Content > All pages and search for "/blog/". Should I create a new profile in Google Analytics? Or is there a better way to only see stats for a subfolder?
Reporting & Analytics | | Qon0 -
Analytics Alternative
Google analytics '"not provided" is driving me insane. Can anyone recommend a half decent analytics program that will not clog up my site. I cant help but feel that Google are devaluing their own product as more and more people switch to chrome and are encouraged to use a logged in account. For me it makes analytics about as much use as a chocolate fireguard.
Reporting & Analytics | | easyrider20 -
Weird info from google analytics?
Hi Could anyone explain what these visits are in Google Analytics? Under traffic sources and organic I am seeing lots of entries with data like below. Any ideas what kind of traffic this is? Is it a bot and if so what is their purpose of it and is it recommended that you block it? Pages/Visit 1.00 Avg. Time on Site 00:00:00 % New Visits : 100% Bounce Rate: 100.00% Many Thanks
Reporting & Analytics | | ocelot0 -
Setting up Google Analytics default URL
If someone has set: the default url in Google Analytics to a non-www address (http://mysite.com) then placed the UA tracking script from that GA account within the CMS framework of the website... ... and then set the permanent 301 redirect in the htaccess file to redirect to the www address (http://www.mysite.com). How less accurrate will my GA analytics measurements be considering the default url within GA is non-www and the permanent 301 redirect in htacess is to the www-address? Anyone know how reliable GA reports are until the default url in GA analytics is changed to match what is the redirected url in htaccess file? _Cindy
Reporting & Analytics | | CeCeBar0