Skip to main content

Cookies

We do not use cookies but localStorage to save some information about the current messaging session. All the data we save in the localStorage is listed below

NameExplanationRequired for messagingContainsTypeAccessValidDomainVersion
parleychat_xIrisidentificationDevice identification, used to recognize this browser during calls to ParleyyesIDstring (alphanumeric)Parley, local JavaScript, servers on domainsession\1.0.1
parleychat_showMessengerDateLast time the chat was openednoUnix timestampintegerLocal JavaScript, servers on domainsession\1.0.1
parleychat_messengerOpenStateLast 'state' the chat was in. Is used to show preserve the state when people navigate through your siteyesenum not use cookies but localStorage to sastringLocal JavaScript, servers on domainsession\1.0.1
parleychat_minimizeMessengerDateLast time the chat was minimizedyesUnix timestampintegerLocal JavaScript, servers on domainsession\1.0.1
parleychat_closeMessengerDateLast time the chat was closedyesUnix timestampintegerLocal JavaScript, servers on domainsession\1.0.1
parleychat_pushReadyIndicates if push is available on this device or we need to start polling for new messagesyestrue/falsebooleanLocal JavaScript, servers on domainsession\1.0.1
parleychat_lastNewMessageDate of latest message. Used to mark to the user what the last message was that they could have read.yesUnix timestampintegerLocal JavaScript, servers on domainsession\1.0.1
parleychat_lastInviteNotificationTimeLast time the invite notification was shown to a user. We use this to prevent that we show the invite notification every time a user navigates around your site to prevent from looking like we 'spam' them.yesUnix timestampintegerLocal JavaScript, servers on domainsession\1.0.1
parleychat_sendedMessageTimeLast time the users send a message to the companyyesUnix timestampintegerLocal JavaScript, servers on domainsession\1.0.1
parleychat_xIrisAuthHeaderUser authorisation, is used to authenticate a 'registered'/logged-in user to ParleyyesHash (Authorization header)stringParley, local javascript, servers on domainsession\1.0.1
parleychat_pushTokenThe pushToken as generated by FCM. This is used to send the browser push notifications when the company replies to the user.yesHashstringParley, local javascript, servers on domainsession\1.0.3
parleychat_pushTypeThe type of push used by this device. This is used to "upgrade" old push tokens to be used with the new push type 6. If this value doesn't exist or doesn't match the value hardcoded in the library; it deletes the push information from the storage and generates a new one for this new type.yesNumberintegerParley, local javascript, servers on domainsession\1.5.0
parleychat_userAdditionalInformationThe additional information that is send with the device registration API call.yesObjectobjectParley, local javascript, servers on domainsession\1.2.0
Deprecated use of sessionStorage instead of localStorage

This functionality has been removed in version 1.0.2. The chat uses localStorage for both unregistered as registered clients. Instead the hideCloseButton setting should be used so the client can remove its cookies by clicking the close button.

The messenger uses html5 localStorage and sessionStorage.

Upon loading the messenger, it will check whether or not there is an authHeader set in the settings.
If there isn’t one present, the messenger will delete all data from localStorage.
If there is one present, all data that is in the sessionStorage will be moved to the localStorage.

All the saved data for an “unregistered” user (unregistered means, there is no authHeader supplied in the settings) will be deleted when the browser tab, that contains the messenger, is closed. This data is saved in the sessionStorage.

All the saved data for an “registered” user (registered means, there is a valid authHeader supplied in the settings) will be kept when the browser tab, that contains the messenger, closes. This data is saved in the localStorage.