Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Reporting & Analytics
    4. "index.htm" for all url's in google analytics

    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

    Reporting & Analytics
    4
    9
    1438
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • cceebar
      cceebar last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Vijay-Gaur
        Vijay-Gaur @cceebar last edited by

        Hi _Cindy,

        Please do update about the results, it might help us all learn something new.

        Regards,

        Vijay

        1 Reply Last reply Reply Quote 0
        • cceebar
          cceebar @Vijay-Gaur last edited by

          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

          Vijay-Gaur 1 Reply Last reply Reply Quote 0
          • Vijay-Gaur
            Vijay-Gaur last edited by

            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

            cceebar 1 Reply Last reply Reply Quote 0
            • cceebar
              cceebar @Martijn_Scheijbeler last edited by

              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

              1 Reply Last reply Reply Quote 0
              • cceebar
                cceebar last edited by

                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

                1 Reply Last reply Reply Quote 0
                • tFox
                  tFox last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • cceebar
                    cceebar last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • Martijn_Scheijbeler
                      Martijn_Scheijbeler last edited by

                      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.

                      cceebar 1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post

                      Got a burning SEO question?

                      Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                      Start my free trial


                      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.

                      • See all categories

                      Related Questions

                      • Johnroger

                        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.
                        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 Thanks

                        Reporting & Analytics | | Johnroger
                        0
                      • Armen-SEO

                        Tracking 301 redirect traffic in Google Analytics

                        if I 301 redirect www.mywebsite.com to go to www.yourwebsite.com, how can I track the traffic in Google Analytics that is coming from mywebsite.com??  I don't think that's a referral traffic, is it?

                        Reporting & Analytics | | Armen-SEO
                        0
                      • CoGri

                        Migrated website but Google Analytics still displays old URL's and none new?!

                        I migrated a website from a .aspx to a .php and hence had to 301 all the old urls to the new php ones. It's been months after and I'm not seeing any of the php pages showing results but I'm still getting results from the old .aspx pages. Has any one had any experience with this issue or knows what to do? Many thanks,

                        Reporting & Analytics | | CoGri
                        0
                      • marketingmediamanagement

                        Is there a way to find out who the admin of a Google Analytics account is?

                        We have a client who has been searching high and low to gain access to the GA account that is tied to their website, but previous agencies keep stating they don't have access. Is there a way to find out who the admins are on a GA account with the tracking number so we can reach out to that person and ask them to admin the client?

                        Reporting & Analytics | | marketingmediamanagement
                        0
                      • KarlMarxTheBear

                        Google Analytics Real Time Not Working! :(

                        Hello Everyone, Today, the real time feature in my google analytics stopped working. I am able to see that traffic is visiting my site, but not in real time. The real time count is usually at 0. But, there are some instances where real time will come back online, but there will be only 1 unique visitor.  At any given time, our website usually has 20 visitors or so..Has anyone encountered this issue? Where should i start looking for fixes? What are the possible problems? Thanks!

                        Reporting & Analytics | | KarlMarxTheBear
                        0
                      • 10SL

                        Google Analytics Organic Search Keywords Suddenly Displaying FulL Urls

                        In my Google Analytics, the top keywords for Organic Search are suddenyl displaying full URLs. For example, now the third and fourth keywords are http://www.domain.com/highly-specific-URL. These have all started recently around the same day, July 12th. I've checked back, and we've made no internal changes to the site around that time that could affect this. Any thoughts on this? Thanks! P.S. It might be related to rich snippets, but I cannot tell at this point.

                        Reporting & Analytics | | 10SL
                        0
                      • Sarbs

                        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 | | Sarbs
                        0
                      • ErinTM

                        How do shortened links show up in Google Analytics?

                        Hey, How do shortened links show up in GA? So if I tweet about something and use bitly, does twitter get the referral? I am thinking not. I have never seen bitly show up as a referrer, but we gets lots of clicks from those links. Hmmmm. Anyone? E

                        Reporting & Analytics | | ErinTM
                        0

                      Get started with Moz Pro!

                      Unlock the power of advanced SEO tools and data-driven insights.

                      Start my free trial
                      Products
                      • Moz Pro
                      • Moz Local
                      • Moz API
                      • Moz Data
                      • STAT
                      • Product Updates
                      Moz Solutions
                      • SMB Solutions
                      • Agency Solutions
                      • Enterprise Solutions
                      Free SEO Tools
                      • Domain Authority Checker
                      • Link Explorer
                      • Keyword Explorer
                      • Competitive Research
                      • Brand Authority Checker
                      • MozBar Extension
                      • MozCast
                      Resources
                      • Blog
                      • SEO Learning Center
                      • Help Hub
                      • Beginner's Guide to SEO
                      • How-to Guides
                      • Moz Academy
                      • API Docs
                      About Moz
                      • About
                      • Team
                      • Careers
                      • Contact
                      Why Moz
                      • Case Studies
                      • Testimonials
                      Get Involved
                      • Become an Affiliate
                      • MozCon
                      • Webinars
                      • Practical Marketer Series
                      • MozPod
                      Connect with us

                      Contact the Help team

                      Join our newsletter
                      Moz logo
                      © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy

                      Looks like your connection to Moz was lost, please wait while we try to reconnect.