Google Analytics adds index.cfm to the end of my URLs.

For some reason, Google Analytics adds index.cfm to the end of all my URLs when I look at them in GA. The domain used to create ColdFusion, but is now a WordPress PHP website running on an Apache server without ColdFusion installed.

We added new pages to the site, and GA still reports index.cfm at the end of the URL, although this page never existed on the old ColdFusion site.

At first I did not set up a GA account, maybe the option is turned on? Or do you need some time to find out that this is not a ColdFusion site?

By the way, this website is http://www.westgatereservations.com . Thanks.

- ADDED -

Screenshot from the Google Analytics list. All of these pages are WordPress PHP pages that use a clean URL for a permalink.

Screenshot of Google Analytics Pages for site

+4
source share
1 answer

This is the default feature in Google Analytics. If you go to your account settings and change your profile information, you will see the "Default Page" field there. Basically, this does what the theoretical filter described above does: it automatically adds a default page (in this case index.cfm) to every page URL that does not have a page suffix. This is a shortcut, since most of the time users want / foo and / foo / index.html to be considered the same thing. But it completely breaks down into WordPress and the "prettified" URL, since they don't have a file suffix.

Just delete the default page (leave the field blank) and the problem should be resolved. I'm not sure if this will be retroactive (Google Analytics rarely allows retroactive changes), but it will solve the problem of moving forward.

Learn more about the Google Analytics Settings Page.

+3
source

Source: https://habr.com/ru/post/1336478/


All Articles