谷歌分析设置后更改页面位置
当前的网站结构设置为所有 ASPX 页面都位于主文件夹中。它变得越来越难以维护,所以我想创建新文件夹并移动相关页面。这会将 URL 从
http://mydomain.com/DoStuff.aspx
更改为
http://mydomain.com/DoingFolder/DoStuff.aspx
我担心这会扭曲谷歌分析结果。是否建议我进行此更改?如果是这样,有没有办法链接更改前后的页面位置?
另外,当我实现 URL 重写时会发生什么?我会再次遇到同样的问题吗?有人吗?
The current website structure is setup such that all the ASPX pages are in the main folder. It's becoming increasingly difficult to maintain, so I would like to create new folders and move the relevant pages. This would change the URL from say:
http://mydomain.com/DoStuff.aspx
to
http://mydomain.com/DoingFolder/DoStuff.aspx
I fear that this will skew up the google analytics results. Is it recommended I do this change? If so, is there a way to link the page locations of after and before the change?
Also, what would happen when I implement the URL rewrite? Would I run into the same issue again? Anyone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因此,总的来说,我认为添加文件夹是一个好主意,以便您的两个用户可以通过 URL 直观地看到他们所在的部分,并帮助搜索引擎找出这些区域,谁知道您甚至可能会得到一个(小) SEO从中受益。
我的建议是在 Analytics 中设置第二个配置文件,然后添加一个过滤器,从请求中删除文件夹名称,并在报告中留下与当前相同的平面结构。 (注意,请在具有相同跟踪代码的新配置文件下执行此操作,以避免出现无法撤消的重大混乱)。
干杯
Z
So in general I think it is a good idea to add the folder for both your users to visually see the section they are in via the URL and to help the search engines figure out the areas and who knows you may even get a (small) SEO benefit out of it.
What I would advise is to setup a second profile in Analytics and then add a filter which removes the folder name from the request and will leave you with the same flat structure in your reports as you have currently. (NB Do this under a new profile with the same tracking code to avoid major mess-ups that you can't undo).
Cheers
Z