Forum Discussion
Sarah1
2 years agoCollaborator
Update a custom attribute for a user based on email button click?
Hi all, is there a way to update a custom attribute of a user based on a button click in an email? Similar to the ${set_user_to_unsubscribed_url} I've been trying a workaround with an action base...
BenLerner-Paio
2 years agoExpert
Hey Sarah1 - there are quite a few ways you could tackle this in my opinion, but first you'd need to create a segment depending on the goal if it is either "clicked in ANY email" or "clicked in a specific campaign" or "clicked on a specific link within an email":
1. You can create a canvas that will capture users who enter the segment and with a user update step in the canvas you can update an attribute.
2. You can run a Webhook campaign based on the same trigger / segment which will run an API call internally and update the custom attribute.
Either scenarios would work for you, but need to establish what is the criteria for the trigger first.
Best,
Related Content
- 2 years ago
- 2 years ago
- 2 years ago