简体   繁体   English

更改Drupal 6网站的URL别名是否会影响Google Analytics统计信息?

[英]Will Changing URL aliases of Drupal 6 site affect Google Analytics statistics?

If I change the URL aliases for a Drupal 6 site, will Google Analytics data be affected? 如果我更改Drupal 6网站的网址别名,Google Analytics数据是否会受到影响?

For instance, if node A is changed from http://www.example.com/path-a to http://www.example.com/path-b , will GA Page Views data be reset? 例如,如果节点A从改变http://www.example.com/path-ahttp://www.example.com/path-b ,将GA页面访问量数据被重新设定?

Is GA intelligent enough to treat these pages as one and the same or will I need to set up a redirect? GA是否足够聪明,可以将这些页面视为同一页面,还是需要设置重定向?

Google Analytics data does not adjust itself retroactively, and is blind to "true" configuration settings. Google Analytics数据不会追溯调整,并且对“真实”配置设置视而不见。

If you send a URL as /path-a , and then change it to /path-b , Google Analytics will assume that they are totally separate URLs. 如果您将网址发送为/path-a ,然后将其更改为/path-b ,则Google Analytics会认为它们是完全独立的网址。

GA will take these 2 paths as 2 pages. GA将这2条路径作为2页。 However when you change paths, always try to add a redirect. 但是,当您更改路径时,请始终尝试添加重定向。 Page redirect module(D6. Redirects in D7) can add redirects automatically when path-auto pattern changes. 页面重定向模块(D6。在D7中重定向)可以在路径自动模式更改时自动添加重定向。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM