Hi everyone, could you please tell me how I can retrieve the user object when the site loads? I'm particularly interested in displaying the user's email in the UI. Is this possible, and how can it be implemented? Thanks in advance!
Hey
It won’t give you the email address natively, but it will give you the ID and username of the visitor.
Hey
It won’t give you the email address natively, but it will give you the ID and username of the visitor.
Hi, thanks for the response!
I’ve looked into that object, but unfortunately it doesn’t provide access to the email.
I also tried making an API request, but I’m getting an error.
I’d really like to understand how to do this properly step by step
Gotcha
Hey, there is perhaps a data protection reason why you can't retrieve user email addresses like that, no?
Thanks!
Reply
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.