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
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • 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.

      Let your business shine with Listings AI
      Moz Local

      Let your business shine with Listings AI

      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.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • 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.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

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

      • 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
                      • A_Q

                        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_Q
                        0
                      • jayoliverwright

                        Google Analytics reporting traffic for 404 pages

                        Hi guys, Unique issue with google analytics reporting for one of our sites. GA is reporting sessions for 404 pages (landing pages, organic traffic) e.g. for this page: http://www.milkandlove.com.au/breastfeeding-dresses/index.php the page is currently a 404 page but GA (see screenshot) is reporting organic traffic (to the landing page). Does anyone know any reasons why this is happening? Cheers. http://www.milkandlove.com.au/breastfeeding-dresses/index.php GK0zDzj.jpg

                        Reporting & Analytics | | jayoliverwright
                        2
                      • 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
                      • DaveGuyMan

                        Is it possible to use Google Tag Manager to pass a user’s text input into a form field to Google analytics?

                        Hey Everyone, I finally figured out how to use auto event tracking with Google Tag Manager, but didn't get the data I wanted. I want to see what users are typing into the search field on my site (the URL structure of my site isn't set up properly to use GA's built-in site search tracking). So, I set up the form submit event tracking in Google Tag Manager and used the following as my event tracking parameters: Category: Search Action: Search Value When I test and look in Google Analytics I just see: "search" and "search value." I wanted to see the text that I searched on my site. Not just the Action and Category of the event.... Is what I'm trying to do even possible? Do I need to set up a different event tracking parameter? Thanks everyone!

                        Reporting & Analytics | | DaveGuyMan
                        0
                      • nyc-seo

                        Google Analytics for example.com and www.example.com

                        Hello. I have had a Google Analytics account set up to track the property www.example.com for several years. In Google Webmaster Tools, I recently set the preferred domain to example.com (without the www), and we put in a rewrite from www to no-www in the .htaccess file. Should I now change the url of the property in Google Analytics to example.com (without the www), or does Google Analytics see the two urls as the same? Thank you!

                        Reporting & Analytics | | nyc-seo
                        0
                      • dangaul

                        Comparing % Change, Google Analytics

                        Hey Mozzers, Is there a simple way to compare the "% Change" in traffic when comparing two separate time periods in a single Google Analytics report? When comparing data from two separate time periods, an exported CSV doesn't include the % Change (booo!), and there's no option to sort by % Change within the GA report, essentially forcing you to scroll through all the results to pinpoint the major movers and shakers. I'm not averse to using spreadsheets to sort this data, but I'm thinking that I'd likely need a macro to make this work, something like this. However, none of the macros on that page are working (possibly because they were designed for a previous version of Analytics). All suggestions are appreciated. Thanks!

                        Reporting & Analytics | | dangaul
                        0
                      • Red_Mud_Rookie

                        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_Rookie
                        1

                      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
                      • Digital Marketers
                      Free SEO Tools
                      • Domain Authority Checker
                      • Link Explorer
                      • Keyword Explorer
                      • Competitive Research
                      • Brand Authority Checker
                      • Local Citation 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.