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

                      • cPanel-LLC.

                        How to change domains in Google Analytics without losing the data

                        Hi there, We recently changed our domain from .COM to .NET so that all our subdomains from external pages matched. Right now in Google Console we have our new .NET website being tracked, but in GA we are still tracking .COM. It is also causing issues with MOZ crawling our site because of the .COM/.NET discrepancy. My question is what is the best way to change our Google Analytics from .COM to .NET without losing historical data and what considerations do we need to change before implementing this? Our team was concerned that just downloading the old data would be too vast and it we wouldn't be able to continue manipulating it dynamically in GA. Thanks!!

                        Reporting & Analytics | | cPanel-LLC.
                        0
                      • lmoraes

                        Paid traffic or "Paid Search" is not showing in my Google Analytics

                        Hi, I have two campaigns running in Google Adwords or Google Ads now and I saw in Google Ads account that I had 5 clicks today (09/18/2018) but when I try to search for this clicks in my Google Analytics in ACQUISITION > All Traffic > Channels I don't find nothing about "Paid Search" or something like that. Bellow is a picture of my Google Analytics account to prove it. The accounts are linked and I can find the 2 campaigns in the Analytics. How can I interpret this picture? Where the paid traffic is showing? or not showing there? Thanks Leandro uvAtrsg

                        Reporting & Analytics | | lmoraes
                        0
                      • ViviCa1

                        Attribution of conversions to payment gateway in Google Analytics

                        Hi all, We have been having a problem for a while now where most transactions are attributed to referrals from our payment gateway Sagepay. The issue started a couple of months ago, when we finally upgraded our website to https:// for logged in users and transactions. Before, when we were using http://, transactions were attributed to the correct channel. Even weirder, we upgraded 4 websites and only 2 of them have the issue now, the other two continue to attribute transactions correctly. I added Sagepay to the referral exclusion list which made no difference. Over the weekend, we upgraded to the global site tag and it seems to have improved somewhat, but yesterday 50% of transactions were still attributed to referral/sagepay. I am also seeing an odd issue, where for half of the transactions, the revenue and transaction are attributed to one channel, but the products (quantity) are attributed to another. One of the channels is always referral/sagepay and the other is the channel that the transaction should be attributed to. Has anyone seen this issue before? I'd appreciate any tips that might help us fix this issue. Thanks in advance!

                        Reporting & Analytics | | ViviCa1
                        0
                      • Gavo

                        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 | | Gavo
                        0
                      • JohnPalmer

                        % Change - Google analytics - how to calculate?

                        Hi All,
                        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. J

                        Reporting & Analytics | | JohnPalmer
                        0
                      • geckonm

                        Tracking time spent on a section of a website in Google Analytics

                        Hi, I've been asked by a client to track time spent or number of pages visited on a specific section of their website using Google Analytics but can't see how to do this. For example, they have a "golf" section within their site and want to measure how many people either visit 5 page or more within the golf section or spend at least 6 minutes browsing the various golf section pages. Can anyone advise how if this can be done, and if so, how I go about it. Thanks

                        Reporting & Analytics | | geckonm
                        0
                      • EvansHunt

                        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 | | EvansHunt
                        0
                      • Robert-B

                        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-B
                        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

                      Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

                      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.