从电子邮件下载的文档统计
我通常会发送带有文档下载链接的电子邮件。是否有机会登记使用 Google Analytics 的统计数据?
I usually send out emails with links to document downloads. Is there any chance of registering statistics on those using Google Analytics?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Javascript 和 Google Analytics 不适用于 HTML 电子邮件,因此您无法直接衡量这些电子邮件的点击次数。
如果您使用电子邮件服务提供商,例如 Mailchimp 或其他众多服务提供商之一,他们将提供点击跟踪,无需支付额外费用,因此您可以考虑这样做。大多数 ESP 都有免费或免费增值计划,您可以尝试。
否则,您可以执行以下操作:
我会推荐一个电子邮件服务提供商。除了点击跟踪之外,它还将为您提供更好的交付能力、测试工具和报告选项。
Javascript and Google Analytics doesn't work in HTML emails, so you can't measure the clicks on those directly.
If you use an email service provider, like Mailchimp or one of the many others, they will provide click-tracking at not additional cost, so you could consider that. Most ESPs will have a free or freemium plan you can try.
Otherwise, you can do the following:
I would recommend an email service provider. Besides the click-tracking, it will give you much better deliverability, testing tools, and reporting options.
您可以尝试使用中间页面,在重定向到下载之前发送 GA 跟踪信标。这可以使用与出站链接跟踪类似的 JavaScript 来完成,也可以使用元刷新来完成。无论哪种方式,您都希望在页面上放置一条消息,说明下载将很快开始,并在出现问题时放置一个重定向链接。
You could try using an intermediary page that sends off the GA Tracking Beacon before redirecting to the download. This could either be done using JavaScript that works in a similar way to outbound link tracking or using a
meta-refresh
. Either way you would want to put a message on the page stating that the download will start shortly and a redirect link in case something goes wrong.