Skip to main content
Solved

Array in user Property

  • August 23, 2021
  • 1 reply
  • 1672 views

can we get all the array element which are set against any particular key while setting values. or any way to delete any element in array.

Best answer by Saish Redkar

Hey @rishi_ 
Not quite sure if I interpreted your question correctly here.

You can set an array as a user property in Amplitude as shown here in the JS SDK doc. You can leverage the set is/is not operators when querying the array properties as highlighted here

Hope this helps. If not, can you elaborate more on your use case?

 

 

View original
Did this topic help you find an answer to your question?

1 reply

Saish Redkar
Expert
Forum|alt.badge.img+10
  • Expert
  • 1377 replies
  • Answer
  • August 23, 2021

Hey @rishi_ 
Not quite sure if I interpreted your question correctly here.

You can set an array as a user property in Amplitude as shown here in the JS SDK doc. You can leverage the set is/is not operators when querying the array properties as highlighted here

Hope this helps. If not, can you elaborate more on your use case?

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings