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? 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		UTM Links Showing Up as Separate Pages in Google Analytics
 Hey everyone, I was just looking at landing pages in Google Analytics, and in addition to just the URL of the landing page, the UTM links are being listed as separate pages. Is this normal? I anticipated seeing the landing page URL and then using the secondary dimension to see source/medium. If this isn't normal, what would I check next? Reporting & Analytics | | rachelmeyer0
- 
		
		
		
		
		
		Google Analytics - Average Position
 Hi Just trying to get some clarity on Google Analytics Average Positions in "Aquistions/Search Engine Optimisation". For a very competitive keyword Google Analytics is saying i am on average position of 6. Is this Page 6? I am assuming position six would be 1.6? Reporting & Analytics | | Cocoonfxmedia0
- 
		
		
		
		
		
		How to identify rising keywords in analytics?
 Hi Guys I just spotted in the Google Analytics > Traffic Sources > Search Engine Optimisation > Queries section a keyword that on the 27th Feb went from generating 35 impressions per day to 2000 impressions per day. This was down to people searching for a newly launched product. Does anyone know how I can identify any increases like this easily? I only came across this by accident, and I am 1 month behind the times. It would have been ideal to pick this up closer to the time so I could capitalise and write some great content on the topic. Thanks Paul Reporting & Analytics | | TheUniqueSEO0
- 
		
		
		
		
		
		Localhost:4444 Showing Up in Google Analytics
 Hello All, Lately in my Google Analytics account I have noticed a referral source labelled: localhost:4444 The number of visits is really high from this source, but I have no idea (no clue!) what it actually means. Can anyone shed some light on what this is about? Should I be creating some sort of filter to screen out this as a referral source (assuming it is not legitimate)? Many thanks in advance. Cheers! Reporting & Analytics | | Robert-B0
- 
		
		
		
		
		
		Comparing % Change, Google Analytics
 Hey Mozzers, Is there a simple way to compare the "% Change" in traffic when comparing two separate time periods in a single Google Analytics report? When comparing data from two separate time periods, an exported CSV doesn't include the % Change (booo!), and there's no option to sort by % Change within the GA report, essentially forcing you to scroll through all the results to pinpoint the major movers and shakers. I'm not averse to using spreadsheets to sort this data, but I'm thinking that I'd likely need a macro to make this work, something like this. However, none of the macros on that page are working (possibly because they were designed for a previous version of Analytics). All suggestions are appreciated. Thanks! Reporting & Analytics | | dangaul0
- 
		
		
		
		
		
		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
- 
		
		
		
		
		
		AW Stats vs Google Analytics
 Hey Moz Community, I am looking to get opinions on the best practice for analytics/traffic analysis. From experience I know that AW Stats reads high and Google Analytics reads low for traffic for reason in this article http://www.smartz.com/blog/2009/01/23/analytic-confusion-%E2%80%93-awstats-vs-google-analytics/ It drives me a little nuts how far off both are for some pages. I have one article that shows 100 views (GA) and AW stats shows 5 times that number of views. Any suggestions or systems you recommend? Thanks Reporting & Analytics | | johnshearer0
 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				