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.
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
-
Strange landing page in Google Analytics
Hello MOZ Community, The website in question is https://x-y.com/ When i looked at the landing pages report in GA , x-y.com is appended at the end of every URL like this. https://x-y.com/x-y.com When i open the above URL in GA interface, it shows page not found. This is obvious as there is no such URL.
Reporting & Analytics | | Johnroger
The metrics like sessions, Users, Bounce rate all look good. In the property settings, The default URL is written like this http:// cell-gate.com (Please note that s is missing in property settings). But how is traffic tracked correctly How do i solve this problem. What settings should we change to make the landing pages report look ok Thanks0 -
Google Analytics SEO Queries Not Showing
Hi All, This might be a silly question, but for all the properties I monitor in Google Analytics, I'm now showing no data for SEO Queries under Acquisition for the past 6 days. Normally I would expect a few day delay in queries, but nothing for 6 days is somewhat peculiar especially as it was functioning fine prior to November 12th. Does anyone have insight into what might be going on? Thanks! URaNMa3
Reporting & Analytics | | amichaels0 -
Google Analytics shows most referrers as "Direct" -- What are some better tools?
Very often Google Analytics will show 50-90% of our referrers as (direct) which is not very helpful. Are there other tools out there that will provide a clearer breakdown of what other websites are sending us our traffic? Specifically, I want to be able to be able to tell who are the top traffic referrers to my top performing pages on my site for the last 30 days. (I want to be able to study this on a per-page basis.) Thanks in advance!
Reporting & Analytics | | Brand_Psychic0 -
How many users completely block Google Analytics cookies ?
Hello everyone! In your experience, how many of your visitors' browsers completely block cookies including those of Google Analytics ?
Reporting & Analytics | | Masoko-T0 -
Google Analytics - Keywords (not set) or ( not provided) WHY???
In Analytics, most of my visitors are landing on my home page, but when trying to see wich keywords they use, most of them are: (not set) or ( not provided) See screencast: http://screencast.com/t/AKwPW76qLVsN Can you tell why? What is going on? Is there a way to solve this? Thank you, BigBlaze
Reporting & Analytics | | BigBlaze2050 -
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 -
Google Analytics - paid & unpaid visits messed up
I guess Google Analytics messes up my paid and unpaid visits. In the list of top 10 kw's sending non-paid traffic it shows 5 very short kw's that we don't rank for at all (checked with RankTracker - we are not in first 50 search results). But these are the kw's we advertise for... One more proof: Webmaster Tools 'Search queries' shows 10 times less 'Clicks' from organic search than Google Analytics. Is there anyone who is experiencing this kind of problems with GA? Is there anything you can do with it?
Reporting & Analytics | | Alexey_mindvalley0 -
Why does Google Analytics think PPC traffic is organic?
I have a bastard of a problem... Google Analytics is incorrectly tracking PPC traffic as SEO which is screwing up all my reporting . I don't care for rankings, I care for actual SEO traffic and I can't be sure that what i am seeing is correct which is driving me nuts. Any ideas?
Reporting & Analytics | | Red_Mud_Rookie1