Track button views and clicks as events in google

2019-03-01 00:33发布

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?

2条回答
祖国的老花朵
2楼-- · 2019-03-01 00:50

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

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.

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

查看更多
戒情不戒烟
3楼-- · 2019-03-01 00:57

This is able to track button views by using Measurement protocol, and using UTM tagging to track sessions come from this button (but not actual clicks).

查看更多
登录 后发表回答