As per spec https://segment.com/docs/spec/alias/ it says that "Unique identifier for the user in your database. A userId or an anonymousId is required"
I'm exactly in situation when I know previous anonymous id and I know another (new) anonymous id - I know this is the same visitor but on another device, so I'd like to pass previous_id and anonymous_id but library says I need to specify user_id, but putting anonymous_id in user_id field could result in unexpected scenario.
Any suggestions?
As per spec https://segment.com/docs/spec/alias/ it says that "Unique identifier for the user in your database. A userId or an anonymousId is required"
I'm exactly in situation when I know previous anonymous id and I know another (new) anonymous id - I know this is the same visitor but on another device, so I'd like to pass previous_id and anonymous_id but library says I need to specify user_id, but putting anonymous_id in user_id field could result in unexpected scenario.
Any suggestions?