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
- 
		
		
		
		
		
		Google Analytics Goals - Button Tracking
 Does anyone know if there is a really easy way to track a button in Google Analytics yourself? It seems that most button click goal setups involve some use of tricky code and I'm wondering if there is a much easier way to do this that will allow us to simply setup and track certain button clicks as goal conversions in Analytics. Your help here is much appreciated! Reporting & Analytics | | Gavo0
- 
		
		
		
		
		
		Tasks for Google Analytics training
 Hi Mozzers, I'm delivering some Google Analytics (Fundamentals level) training, and trying to make it was fun and as interesting as possible... which is quite a challenge when it comes to GA. I was just wondering if you're aware of training tasks, or interactions, I could bring into this kind of training session? The group are particularly interested in user journeys and the effectiveness of content. Thanks! Reporting & Analytics | | A_Q0
- 
		
		
		
		
		
		% Change - Google analytics - how to calculate?
 Hi All, Reporting & Analytics | | JohnPalmer
 I have two dates with two different numbers I want to calculate the "% Change" like google analytics, The numbers of June 2015 - 127,931 sessions
 The numbers of June 2014 - 90914 sessions please tell me what is the %Change. Best. J0
- 
		
		
		
		
		
		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
- 
		
		
		
		
		
		Google Analytics - Next Page Path is the Same URL?
 Hey Everyone, I have a Google analytics question. I'm looking through a client's site and when I look at the next page path, I get the same URL as the next path. For example, on the homepage, the next page path I get is the homepage again? This happens for all URL's, is this an implementation error? Is there a way to fix this? Thanks! Reporting & Analytics | | EvansHunt0
- 
		
		
		
		
		
		What is s.ytimg.com in google analytics?
 My clients GA reports 273 visits from s.ytimg.com. I go to the site, it doesn't exist. I googled it, there were some code with s.ytimg.com in it, but nothing I could understand. Anybody have an idea where this comes from? Reporting & Analytics | | endlessrange0
- 
		
		
		
		
		
		How to track what people type on my text boxes on Google Analytics?
 Hi there! In our website, we have a few text boxes that users need to use to complete the goal. The boxes aren't search boxes, but it's still important to us to track what people type on it. I'm looking for a way to track the data through the "event" feature in Google Analytics, but it seems that this tracker can only calculate clicks, or video views etc. Does anyone knows how to track do it? Reporting & Analytics | | ivan.precisodisso0
- 
		
		
		
		
		
		Tracking pdf downloads
 hello, I have a site with 100's of pdf's for download and I would like to track how many people are downloading these, does anyone have a simple solution for this? Is there anyway I can do this in Google Analytics using one piece of code, thanks... Reporting & Analytics | | Socialdude0
 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				