"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
-
Google Analytics, Wordpress, Sumo - who to trust
Something is wrong. I have a website that according to Google Analytics gets zero relevant clicks, with most of the clicks it does get coming from Russia. Wordpress says it gets a hundred or so visitors a month, with most traffic going to the pages that I know rank. Sumo says the heat map got 76 clicks. How would you figure out what's really going on?
Reporting & Analytics | | julie-getonthemap0 -
No Search Data in Google Search Console (Search Analytics)
Wondering if anyone has experienced 0 data in their Google Search Console (Search Analytics) and found possible solutions to retrieve data? We have a few clients who, prior to the update to Google Search Console, were getting data regularly in terms of the Search Queries report, but ever since the update to Google Search Console, they are no longer receiving data. As an FYI, both the www and non-www versions of the website are verified in Search Console and the XML Sitemaps and Robots.txt files are clean, tested and working fine. Any insights or experience of sites showing 0 data in Search Analytics? Any possible solutions would be greatly appreciated. Thanks!
Reporting & Analytics | | SEO5Team0 -
How to FILTER in Google Analytics an ad campaign from linkedin?
Hi mozzers We are setting up an a linkedin ad campaign for our agency and want to track its traffic and conversions. The linkedin ad will carry UTMs for each link. For tracking this campaign accurately I thought about creating a new GA View with a specific filter. So my question is about the filtering, should i use the INCLUDE, REFERRAL with pattern LINKEDIN.COM (see image)? if not what would be the best way to track this campaign? My other concern is that we are also running other a job ad on linkedin and I feel these hits will be tracked as well. Is there a way to separate those 2 campaigns? Thanks guys! MzE5hqE.png
Reporting & Analytics | | Ideas-Money-Art0 -
What's the problem with this code for Google Analytics
Hello, I'm using this code in my thank you page to track ecommerce sales in GA. The problem that I'm having is that in the google event the _trackPageview doesn't register the proper page but puts the url of the ecommerce website. The transaction is properly tracked. Any ideas of what could be the issue looking at this code? Maybe there could be other code could be causing the problem? Thanks a lot.
Reporting & Analytics | | nagar0 -
How to track what people type on my text boxes on Google Analytics?
Hi there! In our website, we have a few text boxes that users need to use to complete the goal. The boxes aren't search boxes, but it's still important to us to track what people type on it. I'm looking for a way to track the data through the "event" feature in Google Analytics, but it seems that this tracker can only calculate clicks, or video views etc. Does anyone knows how to track do it?
Reporting & Analytics | | ivan.precisodisso0 -
Why is Webmaster Tools not Linking Correctly Google Analytics?
I have a global site with .com as the US site and then /country for all other markets i.e. .com/uk .com/de etc. Each site has it's own WMT profile. Each site has it's own GA profile. Since Google added Search Engine Optimization to the GA interface, I can't track these sites separately under this new feature. It seems to me that it can only be associated with a single WMT profile at a time or rather that WMT can only be associated with a single GA profile at a time. The numbers for the UK and US site are identical, but when I try and link the UK WMT account with GA it removes it from the US profile and vice versa.
Reporting & Analytics | | Red_Mud_Rookie0 -
Google Analytics - multiple counters
Hey there Mozzers! One of our customers wants to seperate one Google Analytics account into multiple accounts. The website is divided in three parts: Main: www.website.nl Sub1: www.website.nl/sub1 Sub2: http://www.website.nl/sub2 And they would like 4 different reports under one account. R1: Total count R2: Website.nl (without Sub 1 & Sub2) R3: Sub1 R4: Sub2 I know multiple counters will get in conflict with each other, so I have to implement some filters. E.g: We can configure a filter for R3 on "astmakids" in URL. My question is: is there a safe way to implement multiple Analytics filters on one website? And how will R3 see visitors that come from the root domain astmafonds.nl? Are they referrals? Thanks a lot in advance!! Partouter
Reporting & Analytics | | Partouter0 -
Google analytics tracking
Is their a built-in or easy way to track the amount of times an exit link is clicked on a page and show that with other links of the page. For instance: I had a page with several external ad links on it and I want to track how many each got and rank them in google analytics
Reporting & Analytics | | insitegoogle0