I'm in the process of setting up Google Tag Manager on one of my sites and want to track email link clicks.
我正在我的某个网站上设置Google跟踪代码管理器,并希望跟踪电子邮件链接点击次数。
This would normally be straightforward but the challenge is that to reduce SPAM the email links on this site are encrypted using javascript so they look like this:
这通常是直截了当的,但挑战在于减少垃圾邮件,本网站上的电子邮件链接使用javascript加密,因此它们看起来像这样:
<a href="javascript:void(location.href='mailto:'+String.fromCharCode(102,117,110,100,114,97,105,115,105,110,103,64,98,114,101,110,100,111,110,99,97,114,101,46,111,114,103,46,117,107))">click here</a>
Does anyone know how I would go about creating a tag to track clicks of these links and send the data to Analytics?
有谁知道如何创建标记来跟踪这些链接的点击并将数据发送到Google Analytics?
Thanks in advance,
提前致谢,
Tom