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.
"index.htm" for all url's in google analytics
- 
					
					
					
					
 I don't have this issue with other wordpress websites, only this one website, and I don't know what's causing the issue: Google Analytics is adding an "index.htm" to every single page on the website. So it is tracking the pages, I see no errors - is it tracking the right page? When I click on the page link in a report, I naturally go to a "404 page not found" since the website address isn't "www.example.com/rewards/index.htm" - but instead the actual address would be: 
 "www.example.com/rewards/".I have navigated to View Settings in GA to insure "default page" is empty. Although adding anything else to this field does not effect the page url in analytics reports either. Could it be htaccess file - or a plugin effecting the htaccess file?_Cindy 
- 
					
					
					
					
 Hi _Cindy, Please do update about the results, it might help us all learn something new. Regards, Vijay 
- 
					
					
					
					
 Vijay, Thank you for sending the link. I did read google's info about the default setting and thought adding index.htm(l) would actually remove it, as say permalinks feature does, not add it. My default page setting is clear now and I'm just wondering how long it will take to get clean urls, since this does seem to be the issue. I guess I could create a filter in GA, but lunametrics provides examples to add the index.htm(l) or .php and I would want to remove it, if possible, and my regex is not up to speed here. But I do believe this default page is the issue and will get back to you. thanks again! _Cindy 
- 
					
					
					
					
 Hi Cindy, I did some research and found a solution here, it looks like a settings issue in google analytics and not any plugin. Let me know if this works for you. http://www.lunametrics.com/blog/2010/12/17/cleaning-urls-google-analytics/ If it doesn't then, I would like to dig further. Looking forward to your response. Regards, Vijay 
- 
					
					
					
					
 I am still grappling with this "index.htm" issue - appended on all urls, and sometimes the correct url is listed along with it, ex: /about-us and also /about-us/index.htm I've manually added the UA code to my header file in wordpress. I removed the plugin that was previously configuring the GA account. In GA for such Acquisition reports as 'Adwords|Final URLs' and 'Search Console|Landing Pages' and 'Social|Landing Pages' the urls are listed properly with NO index.htm. But all urls listed within the Behavior reports, mostly that would be 'Site Content' all append the index.htm. Could it be the Inbound Landing Page plugin, which I can not turn off for how long to see results? Is there something in the .htaccess file I should look for? Additionally I am setting up a ghost spam filter in GA (through the hostname dimension in the Network report - article by Carlos Escalera in the Moz Blog) and I see the UA code for the property listed there - why would this be in that report? Related in any way? Still in search mode and any further suggestions would be greatly appreciated. site in question: dupontservicecenter.com _Cindy 
- 
					
					
					
					
 I have used google tag assistant - showing no issues. I deleted the WordPress plugin (monster insights) and manually inserted GA code in header file. Still I am getting "index.htm" appended to end of all urls in Google Analytics. It doesn't seem to be effecting the metrics in GA, but still would like to know why this is happening on this one client site and not other client sites where I have those sites setup the same. could it be another plugin? Can I filter out the "index.htm" for the entire property so that the urls read correctly? If so, is this an acceptable solution? in GA admin | view | view settings | default page I have inserted "index.htm" but this has no effect. any help again would be greatly appreciated. the site in question: dupontservicecenter 
- 
					
					
					
					
 Hi _Cindy, It seems to be resolved, at least at the collection level. It could be a filter in GA though. If you ever see values in GA that look unusual, a great tool to debug GA data collection is the Google Chrome extensions, Google Tag Assistant. Just click the extension icon and it will display what data is being sent to Google Analytics. In this case, just click "1 Pageview Request" and then click "URLs," then display the data as a table to see exactly what is being sent to Google Analytics. Hope that helps this time and in the future. 
- 
					
					
					
					
 Thank you Martijn. I was going to use filters to eliminate the "index.htm" - but I need to understand what's different here; my other sites are not experiencing this issue, without adding a filter in GA, so why then is this one site, and will it effect the metrics? The only difference between this site setup is that the client was using, and wanted to continue using, Yoast Google Analytics... (now monster insights plugin) - so maybe that's it, my trackers? here's the site dupontservicecenter.com Very much appreciate your help. _Cindy 
- 
					
					
					
					
 Hi Have you checked your filters in Google Analytics? Otherwise are you able to share the site so I can take a look by debugging your trackers? M. 
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
- 
		
		
		
		
		
		How to Diagnose "Crawled - Currently Not Indexed" in Google Search Console
 The new Google Search Console gives a ton of information about which pages were excluded and why, but one that I'm struggling with is "crawled - currently not indexed". I have some clients that have fallen into this pit and I've identified one reason why it's occurring on some of them - they have multiple websites covering the same information (local businesses) - but others I'm completely flummoxed. Does anyone have any experience figuring this one out? Reporting & Analytics | | brettmandoes2
- 
		
		
		
		
		
		What is Local SEO in Google Analytics (Organic Source)
 Recently, I saw "Local SEO" is mentioned as the organic source. Can someone please tell what is this and from where Google is fetching data for this source? Reporting & Analytics | | Kevin.Monks0
- 
		
		
		
		
		
		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
- 
		
		
		
		
		
		Referral Traffic vs. Campaign Traffic in Google Analytics
 I have two sites: a blog and an ecommerce site. The blog funnels people to the ecommerce site. In Analytics I'm seeing declines in referral traffic from the blog to the ecommerce site. During the same time I'm seeing an increase in campaign traffic to the ecommerce site, with most campaign traffic coming from the blog. I believe the increase in campaign traffic is largely a result of simply having installed more tracking links. This leads me to believe that the declines I'm seeing in referral traffic is simply a result of the increase in campaign traffic. In other words, what was once counted and reported as being referral traffic is now being counted and reported as campaign traffic. So my question is this: In Google Analytics is campaign traffic ALSO reported as referral traffic, or is campaign traffic reported separately and not duplicated in referral traffic reports? I'll provide a concrete example to make this more clear in case it isn't: Say site X sends 1000 visits each month to site Y. Say 50 of those visits come from a single link on X. If that link is changed so that campaign Z data info added (via the Google URL Builder), would you expect to then see 950 referral visits each month from site X to site Y plus 50 campaign visits to site Y via new campaign Z, or would you continue to see 1000 referral visits plus the new 50 campaign visits? Many thanks in advance to anyone that can shed some light on this. Reporting & Analytics | | aaronprimal0
- 
		
		
		
		
		
		How do I manually add transactions to Google Analytics
 We are seeing Google Analytic's drop transaction on our site so therefore all the figures are skewed. Is there a way I can manually add transactions to GA to cover the missing one? Reporting & Analytics | | Towelsrus0
- 
		
		
		
		
		
		Totally Remove "localhost" entries from Google Analytics
 Hello All, In Google Analytics I see a bunch of traffic coming from "localhost:4444 / referral". I had tried once before to create a filter to exclude this traffic source, but obviously I did it wrong since it's still showing up. Here is the filter I have currently: Filter Name: Exclude localhost Reporting & Analytics | | Robert-B
 Filter Type: Custom filter > Exclude
 Filter Field: Referral
 Filter Pattern: .localhost:4444.
 Case Sensitive: No Can anyone see what I'm doing wrong and give me a push in the right direction? Thanks in advance!0
- 
		
		
		
		
		
		Setting up Google Analytics for Subsites
 I currently have one main .com site and am planning on launching geo-location subsites .co.uk, .com.au, .ru, etc... Traffic will flow between both sites and some of the content on the subsites will be duplicate and therefore include a canonical tag to the main site. I want to set up GA to capture who is going to the subsites and vice versa and correctly capture crossover traffic. Any advice on implementing advanced analytics directly (or links to sources that will direct me the right direction for this project) Reporting & Analytics | | theLotter0
- 
		
		
		
		
		
		How to remove unwanted dynamic parameters from a URL in Google Analytics
 Hi, Would really appreciate some help with this. I have been experimenting with RegEx to achieve this but as I’ve never used it before am currently failing miserably. We have conversion pages i need to set goals for that are formatted as below: https://www.domain.co.uk//Application_Form/(S(ewhbqp5cki0mppuzukunkqno))/enterCardDetails.aspx I need to remove the (s(xxx)) section from the URL as rather than one pages i currently have thousands of unique URL's. What’s catching me out is that as it’s not a URL parameter I can’t discount and as half way through can’t just do head matches etc to /entercarddetails Help would be much appreciated. Thanks. Reporting & Analytics | | Sarbs0
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				