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

Will changing from target=_blank to target=_self affect SEO or analytics?

· 52CE 我爱测

I saw that my website is using target="_blank" on internal links due to something I totally missed in the code. So, I changed that to _self , as there is no need to target a new window while they are all internal links. Is it (st…

问题原文

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

I saw that my website is using target="_blank" on internal links due to something I totally missed in the code. So, I changed that to _self, as there is no need to target a new window while they are all internal links.

  1. Is it (still) okay to use target=_self? Will it in any way affect my SEO or performance?
  2. Do I need to change something in Google Analytics?

已采纳解答

原帖链接 · Henry Visotski · CC BY-SA 4.0

While you won't see any changes to your SERP positions or indexing regardless of which path you take here, you're doing the right thing by having internal links open in the same tab. (As @closetnoc pointed out above, including the attribute at all is a bit redundant, since the default behavior of links is to open in the same tab, unless otherwise specified.)

Conventionally, webmasters have chosen to open links leading to other websites in a different tab, and links that keep you on the same domain in the same tab. There could be business use cases for opening an internal link in a different tab; for example, event registration funnels or purchase flows. But it doesn't affect SEO, and there's nothing that needs to be adjusted in Google Analytics.

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

资料来源与适用范围

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

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

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