Recognize logged in users with Front Chat identity verification


When you set up Front Chat, you can securely pass visitor email addresses to the Front Chat widget to recognize logged in users automatically.


Step 1

Install the Front Chat script on your site, web app, or Electron desktop app.

Step 2

Your web or app developer will need to modify the script with additional code that calls the Front Chat API to pass visitor email addresses to the widget.

You will need to sign the user identity with the Verification Secret found in your Chat settings to ensure that the information is trusted and secure. If you have any questions about the setup process after reading the Chat API documentation, please reach out to our support team.

Passing this information is entirely up to you. You can also pick in your channel settings whether to only accept messages from logged in users and reject messages from unverified (logged out) users, or to accept messages from both.


User identity status 

Identified users can trigger integrations that match on email, like contact details, CRMs (Salesforce, Hubspot, etc.), or custom plugins.

If a user is not logged in, teammates using Front Chat will see their identity status at the top of the conversation.

Here’s what each status means:

Anonymous: The visitor has not logged in and has not submitted their email address in the email capture form. Conversations will be listed as:

 Conversation with Color Animal (anonymous)

Unverified: The visitor has not logged in but has provided their email in the email capture form. Conversations could be listed two ways, depending on if there’s a matching contact in Front or not:

Conversation with (unverified) 
Conversation with First Last (unverified) 

If a user is anonymous when they start a chat and logs in later, their name and email will be associated with their conversation as long as they have not cleared their cache/cookies. 

If a user is logged in and their information has been passed to the widget using the Verification Secret, you will not see an identity status on the conversation.

Email capture and conversation follow up

There is an option in your Front Chat channel settings to capture email addresses and send a conversation transcript after 5 minutes of inactivity. See these articles to learn more:

If you enable these options, here's how it behaves for logged in and logged out users:

  • Anonymous users will be prompted for their email in the pre-chat form or Notify Me form and sent a transcript after 5 minutes of inactivity
  • Verified users will not be prompted for their email in the pre-chat form or Notify Me prompt, but they will be sent a transcript after 5 minutes of inactivity

1 reply

    • Pascal_Germain
    • 3 yrs ago
    • Reported - view

    Hi Cori, we're encountering a problem when a user, that has previously been identified, logs out of our website. When it happens, the page reloads, and the chat is initialized without the "email" and "userHash" parameters anymore. But the chat button doesn't appear and we have an error 400 in the JavaScript console. We can see some cookies starting with "fc", and if we delete them and reload the page, the chat works as expected. Is there a proper way to tell FrontChat that the user logged out and doesn't have to be identified anymore? Thanks!