Web client-side implementation
This article is intended for developers who will be doing the front integration.
Last updated
This article is intended for developers who will be doing the front integration.
Last updated
In this section, you will learn how to :
Enable authenticated mode
Setup authentication
Sign-in
Logout
Deal with activation success or failure
Deal with visitor identity expiration.
Conversation scenario
Scenario
1
Across multiple computers / browsers
Sarah visits the website on her personal mobile
Sarah starts a conversation as an anonymous visitor
Sarah authenticates in the customer space, and can continue her conversation
Sarah visits again the day after (whatever the delay) on her professional computer
Sarah authenticates in the customer space
Sarah sees her ongoing conversation again
2
Across mobile site & mobile app of the brand using one device
Sarah visits the mobile site on her smartphone / tablet etc.
Sarah starts a conversation as an anonymous visitor
Sarah’s conversation is closed or not by an agent
Sarah visits the mobile app on her smartphone / tablet etc.
Sarah authenticates in the customer space
Sarah doesn’t see her ongoing conversation or closed conversation, she can just see the last authenticated conversation
3
Multiple on-going conversation
Sarah visits the mobile site on her smartphone / tablet etc.
Sarah authenticates in the customer space
Sarah starts a conversation, but leaves it open
Sarah visits again the day after (whatever the delay) on her computer
Sarah starts a conversation as an anonymous visitor
Sarah authenticates in her customer space
Sarah starts a conversation
Sarah sees the on-going conversation she created on her smartphone, and she can’t continue the anonymous conversation she just created. If she wants to get back at her anonymous conversation, she has to logout.
4
Expired Session
Sarah visits the mobile site on her smartphone / tablet etc.
Sarah authenticates in the customer space
Sarah starts a conversation, and leaves it open
Sarah leaves the site without logout, and visits again the day after (whatever the delay) on her smartphone / tablet etc. The session has expired, she’s not authenticated anymore. She can’t see anymore the conversation.
Sarah authenticates in the customer space
Sarah sees her ongoing conversation again
5
Multiple visitors
Sarah visits the website on her family computer
Sarah starts a conversation as an anonymous visitor
Sarah’s conversation is not closed by an agent
Sarah leave the website
Paul visits the website the day after (whatever the delay) on the same computer
Paul authenticates in the customer space
If Paul never had an authenticated conversation before, he sees Sarah’s on-going anonymous conversation. But if he already have one, then he sees his conversation and not Sarah’s.