wordpress链接跳转_如何在WordPress中跟踪出站链接

wordpress链接跳转

Do you want to track outbound links in WordPress? Outbound links are the links that take users away from your website. These could be links to affiliate products, social networks, or simply other websites that you have linked to from your website. In this article, we will show you how to easily track outbound links in WordPress to see which outbound links get the most clicks.

您要跟踪WordPress中的出站链接吗? 出站链接是使用户离开您的网站的链接。 这些可能是指向会员产品,社交网络的链接,或者只是您已从网站链接到的其他网站的链接。 在本文中,我们将向您展示如何轻松地在WordPress中跟踪出站链接,以查看哪些出站链接获得最多的点击。

How to Track Outbound Links in WordPress
为什么要跟踪WordPress中的出站链接? (Why Track Outbound Links in WordPress?)

After you build your website, you need to learn how users interact with your website, so you can grow it. The best way to do this is by using Google Analytics.

建立网站之后 ,您需要了解用户如何与您的网站进行交互,以便您可以发展它。 最好的方法是使用Google Analytics(分析)

It allows you to see where your users are coming from, what pages they are viewing, and how much time they are spending on your website. This information helps you adjust your strategy and improve your website accordingly.

它使您可以查看用户来自何处,他们正在查看哪些页面以及他们在网站上花费了多少时间。 此信息可帮助您调整策略并相应地改善网站。

Similarly, learning about outbound or external links can help you understand which outgoing links are clicked more often. If you recommend affiliate products, then tracking outgoing links help you learn which products perform better with your audience.

同样,了解出站或外部链接可以帮助您了解点击频率更高的出站链接。 如果您推荐会员产品,则跟踪传出链接可帮助您了解哪些产品在受众群体中表现更好。

Having said that, let’s take a look at how to easily track outbound links in WordPress.

话虽如此,让我们看一下如何轻松地跟踪WordPress中的出站链接。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

跟踪Google Analytics(分析)中的所有出站链接 (Tracking All Outbound Links in Google Analytics)

First, you will need to install and activate the MonsterInsights plugin. There is a free version as well which you can use. For more details, see our step by step guide on how to install a WordPress plugin.

首先,您需要安装并激活MonsterInsights插件。 还有一个免费版本 ,您可以使用。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

MonsterInsights is the most popular Google Analytics plugin for WordPress. It allows you to properly connect your website with Google Analytics.

MonsterInsights是最受欢迎的WordPress Google Analytics(分析)插件。 它使您可以正确地将您的网站与Google Analytics(分析)关联。

For complete setup instructions, see our step by step guide on how to install Google Analytics in WordPress.

有关完整的设置说明,请参见有关如何在WordPress中安装Google Analytics(分析)的分步指南。

Upon activation, you need to visit Insights » Settings page in your WordPress admin area and click on the ‘Tracking’ tab.

激活后,您需要访问WordPress管理区域中的数据分析»设置页面,然后点击“跟踪”标签。

Enable outbound link tracking

Under the ‘Engagement’ section, you need to select ‘Yes’ next to the ‘Enable MonsterInsights events tracking’ option.

在“参与度”部分下,您需要在“启用MonsterInsights事件跟踪”选项旁边选择“是”。

That’s all, you have enabled outbound link tracking on your WordPress site.

就是这样,您已经在WordPress网站上启用了出站链接跟踪。

跟踪内部会员链接为出站链接 (Tracking Internal Affiliate Links as Outbound Links)

Many WordPress site owners use affiliate marketing plugins to manage and cloak affiliate links. This allows them to use pretty URLs like this:

许多WordPress网站所有者使用联盟营销插件来管理和隐藏联盟链接 。 这使他们可以使用如下漂亮的URL:

http://example.com/refer/productname/

http://example.com/refer/productname/

By default, Google Analytics doesn’t track these URLs as outbound links, so they will not appear under your outgoing-link reports.

默认情况下,Google Analytics(分析)不会将这些网址作为出站链接进行跟踪,因此它们不会出现在您的出站链接报告下。

MonsterInsights allows you to easily fix this.

MonsterInsights使您可以轻松解决此问题。

Head over to Insights » Settings page and then click on the ‘Tracking’ tab. The tracking page is divided into different sections. Click on the ‘Affiliate Links’ section to continue.

转到“数据分析»设置”页面,然后单击“跟踪”标签。 跟踪页面分为不同的部分。 点击“会员链接”部分以继续。

Track affiliate links

Now you need to provide the path that you use for your affiliate links. This is the prefix added by your link cloaking or affiliate link manager plugin.

现在,您需要提供用于会员链接的路径。 这是您的链接隐藏或会员链接管理器插件添加的前缀。

After that you need to provide a label for those links. This label will be added to your Google Analytics report and will help you identify those links in your reports.

之后,您需要为这些链接提供标签。 此标签将添加到您的Google Analytics(分析)报告中,并帮助您在报告中识别这些链接。

Don’t forget to click on the save changes button to store your settings.

不要忘记单击“保存更改”按钮来存储您的设置。

在Google Analytics(分析)中查看出站链接报告 (Viewing Outbound Link Reports in Google Analytics)

If you have just enabled outbound link tracking on your WordPress site, then allow Google Analytics at least 24 hours to collect the data.

如果您刚刚在WordPress网站上启用了出站链接跟踪,则请允许Google Analytics(分析)至少24小时收集数据。

After that you can login to your Google Analytics dashboard and click on Behavior » Events » Top Events page.

之后,您可以登录到Google Analytics(分析)信息中心,然后点击“ 行为”»“事件”»“热门事件”页面。

You will see your outbound links listed as ‘outbound-link’ event category and your affiliate links will be listed with the label you added in plugin settings.

您将看到出站链接被列为“出站链接”事件类别,而您的会员链接将与您在插件设置中添加的标签一起列出。

Outbound link event category in Google Analytics

Clicking on it will show you the URLs users clicked on your website.

单击它会向您显示用户在您的网站上单击的URL。

Outbound link URLs

You can also view outbound link activity in real time. Inside your Google Analytics dashboard, simply go to the Real-time » Events page.

您还可以实时查看出站链接活动。 在您的Google Analytics(分析)信息中心内,只需转到“ 实时»事件”页面。

Viewing outbound link reports in real time

You will see your outbound link, and your outbound affiliate links reported as events.

您将看到您的出站链接,以及您的出站会员链接报告为事件。

We hope this article helped you learn how to track outbound links in WordPress. You may also want to see our ultimate step by step WordPress SEO guide for beginners.

我们希望本文能帮助您学习如何在WordPress中跟踪出站链接。 您可能还想看看我们针对初学者的终极一步一步WordPress SEO指南

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-track-outbound-links-in-wordpress/

wordpress链接跳转

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值