mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 12:37:56 +00:00
feat: Add chatwoot:error sdk event (#3998)
This commit is contained in:
5
app/javascript/sdk/cookieHelpers.js
Normal file
5
app/javascript/sdk/cookieHelpers.js
Normal file
@@ -0,0 +1,5 @@
|
||||
export const getUserCookieName = () => {
|
||||
const SET_USER_COOKIE_PREFIX = 'cw_user_';
|
||||
const { websiteToken: websiteIdentifier } = window.$chatwoot;
|
||||
return `${SET_USER_COOKIE_PREFIX}${websiteIdentifier}`;
|
||||
};
|
||||
Reference in New Issue
Block a user