Is it possible to get the values of user attributes programatically? | Community
Skip to main content
Answered

Is it possible to get the values of user attributes programatically?

  • Mar 8, 2021 4:48 PM UTC
  • 3 replies
  • 247 views

Is is possible to get the user attributes from intercom to javascript function on my webpage? I want to use intercom attributes in some of the pages.

Best answer by Eric Fitz

Hey @pushkar​, we do expose the values of attributes as parameters in the intercom.Settings object in our JS function. I'd imagine you'd need to write some custom code on your end to transpose these values into the different elements of your site.

View original

3 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Answer
  • Mar 11, 2021 10:35 AM UTC

Hey @pushkar​, we do expose the values of attributes as parameters in the intercom.Settings object in our JS function. I'd imagine you'd need to write some custom code on your end to transpose these values into the different elements of your site.


  • Author
  • New Participant
  • Jun 16, 2021 8:52 AM UTC

Thanks for your response Eric. I just came back to it now. Can you please point me towards documentation for using the intercom.settings object?

 

Thanks.


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Jun 16, 2021 10:35 AM UTC

Sure thing, @pushkar​! You can find all the documentation you need for our Javascript API here.