Skip pre-chat email question for logged-in users

If your chat widget requires customers to enter their email to start a chat, NeetoChat can prefill the email if you already have it, skipping that step. This method is also helpful to track user activities, even if the customer doesn't start a conversation.

To do this, add the following script to your project:

<script>
 window.NeetoWidgetUserIdentity = {
  user_identifier: "USER_ID_HERE",
  name: "USER_NAME_HERE",
  email: "USER_EMAIL_HERE",
  started_at: "YYYY-MM-DD",
}
</script>

This can also be used at run-time in SPA's like React, Vue, etc.

Video