大网数据广告活动
网站运营与故障问答

Domain name appended to the end of every URL as tracked in Google Analytics

· 52CE 我爱测

We have been tracking the content pages which are getting the traffic from different sources through Google Analytics for our website. Google Analytics append the domain URL after every content page strangely. On our website exam…

问题原文

原帖链接 · Rahul · CC BY-SA 3.0

We have been tracking the content pages which are getting the traffic from different sources through Google Analytics for our website. Google Analytics append the domain URL after every content page strangely.

On our website example.com, content pages in Google Analytics are being tracked as:

  • /example.com (instead of /)
  • /men-shoes/example.com (instead of /mens-shoes/)
  • /men-shoes/casuals/example.com (instead of /mens-shoes/casuals/)
  • /men-shoes/sandals/example.com (instead of /mens-shoes/sandals/)
  • /men-shoes/formals/example.com (instead of /mens-shoes/formals/)

What could be causing this problem?

社区高分解答

原帖链接 · DevilaN · CC BY-SA 4.0

I've encountered the same situation.

It appears that this behaviour is affected by settings in: Admin -> View Settings -> Default site (optional)

You've probably placed there your site name, and now it is appended to every url in reports, because proper use for it is alias for default page when no page parameter is set, i.e. placing there index.html means treating / and /index.html as the same page).

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-07-14)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。