开发者

Google Analytics appending index.cfm to end of my URLs

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

We've added new pages to the website, and GA is still reporting an index.cfm at the end of the URL, even though that page never existed on the old ColdFusion site.

I didn't set up the GA account initially, is there maybe a setting that was enabled? 开发者_如何学编程 Or does it take GA a while to figure out it's not a ColdFusion website anymore?

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

--ADDED--

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

Google Analytics appending index.cfm to end of my URLs


This is Google Analytics's 'Default Page' feature. If you go to the Account Settings and Edit the Profile Information, you'll see there's a field called "Default Page". It basically does what the theoretical filter I described above does: it automatically appends the default page (in this case, index.cfm) onto every page URL that doesn't have a page suffix. It's a shortcut, since most of the time, users want /foo and /foo/index.html to be counted as the same thing. But it totally breaks on WordPress and 'prettified' URLs, since they don't have a file suffix.

Just remove the Default Page (leave it blank) and the problem should be resolved. I'm not sure if it will be retroactive (Google Analytics rarely allows retroactive changes), but it will resolve the problem moving forward.

Read more about Google Analytics Default Page

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜