Copy and paste this code below your Memberstack and Crisp scripts but just above the "</body>" tag.

Delete "name" and replace it with the field ID from a custom field from your Memberstack account.

<script>
 MemberStack.onReady.then(function(member) {  
   var email = member["email"]
   var name = member["name"]  
   if (member.loggedIn) {
    try {
     $crisp.push(["set", "user:email", [email] ])
     $crisp.push(["set", "user:nickname", [name] ])
    } catch(e) {}
 }})
</script>


Need more help? Try posting a question in our community forum.

Did this answer your question?