在Google Analytics(分析)中跟踪按钮视图和点击事件 [英] Track button views and clicks as events in google analytics

查看:954
本文介绍了在Google Analytics(分析)中跟踪按钮视图和点击事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要在电子邮件中放置一个按钮,并且希望跟踪按钮视图和点击次数(Google Analytics(分析)事件)。

I am trying to place a button that will be inside email and I want to track button views and clicks (Google Analytics events). Can you tell me if that is possible and how to do that?

推荐答案

您不能从技术上跟踪一个按钮的点击电子邮件,但您可以做的是控制按钮链接到哪里。

You can't technically track a button click from an email, but what you can do is control where the button links to.

如果您将按钮的URL设置为指向您的服务器,您可以拦截链接,发送使用 Measurement Protocol 访问Google Analytics(分析),然后将用户重定向到

If you set the button's URL to point to your servers, you can intercept the link, send a hit to Google Analytics using the Measurement Protocol, and then redirect the user to where the button was originally pointing.

或者,您可以将自定义广告系列参数附加到网址末尾( utm_medium utm_source 等)。这将允许你知道命中来自哪个来源。以下是有关自定义广告系列的一些信息:
https://support.google.com / analytics / answer / 1033863?hl = en

Alternatively, you could append custom campaign parameters to the end of the URL (utm_medium, utm_source, etc.). This would allow you to know what source the hit came from. Here's some information on custom campaigns:
https://support.google.com/analytics/answer/1033863?hl=en

这篇关于在Google Analytics(分析)中跟踪按钮视图和点击事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆