Obtain User Details from JavaScript

Can anybody tell me if it’s possible to obtain the following information about a user via JavaScript?

  • email address
  • external_id (their WordPress user ID)

I need to be able to pass either of these to a UserGuiding JavaScript so as to identify the user. Thanks for any help!

– Aaron

2 Likes