'How to get the list of contacts that clicked the link in the email
In order to track down the users through a purchase funnel, we need to get the IDs (or emails) of the contacts that clicked the link in the email, how to do that in Sendgrid?
Not possible to do that through UTM tags, since the campaign is targeted at existing users and they have their UTM tags assigned previously.
Solution 1:[1]
To do this, you should register for the Event Webhook. With the Event Webhook, events, like engagement events including link clicks, are batched and sent to a URL you provide so that you can process them.
You can use the user's email address that comes as part of the event object, or you can send custom arguments with the email when you send it in order to tie back to specific messages that you sent. I wrote a blog post on how to track and record which email was opened in a Rails application which might give you some insight into how this works.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | philnash |
