In the new browser sdk can we set the user properties by passing object ?

Badge +1

In the new Browser SDK to set multiple user properties we need to call .set() method multiple times … is it possible that we directly pass the user properties object.

2 replies

Userlevel 4
Badge +9

You should be able to use object array splitting @Vishal . The example here shows how to do this for Event Properties…but, splitting also seems to be possible on User Properties (just had a look in the UI!) so you should be able to use the same logic there.


Badge +1

Hi @dangrainger thanks for you reply,
But I don’t think we are on same page … I want to do this on SDK side not on the dashboard, is it possible to do it with sdk while setting user properties ?