Here's how you would proceed to set the visitor's data:
// Feed this call with your own internal segment.
$crisp.push(["set", "session:segments", [["registered_users", "lead"]]])
Of course, this example is using two segments. It's possible to use only one. Also you need to replace registered_users and lead with your own segments!
Published on: 03 / 11 / 2017