How to manually set an attribute's value

How can I set an attribute's value, without relying on clicking a button? Perhaps in a message text?


  • Hi Dan Murdoch,

    Thank you so much for submitting your question!

    I understand that you're wondering how you can set values for your custom attributes. I can certainly help you with this.

    Here is how you set up the button text being written as the value for your attribute:

    Here is how you apply an attribute to the user based on the specific button they click:

    If you would like to learn more about custom attributes and attribute mapping I encourage you to check out this help doc -

    Hopefully, this helps. Let me know if you have any further questions!

    Natalia from Drift Support ⚡️