-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathmiaw_local_prechat_new.html
More file actions
27 lines (25 loc) · 926 Bytes
/
miaw_local_prechat_new.html
File metadata and controls
27 lines (25 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title>Test Page</title>
</head>
<body><script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
embeddedservice_bootstrap.init(
'00Dxx0000006GpL',
'MIAWPrechatDep',
'https://chatorg258.my.localhost.sfdcdev.site.com:6101/ESWMIAWPrechatChannel1761840641805',
{
scrt2URL: 'https://chatorg258.my.localhost.sfdcdev.salesforce-scrt.com:18000'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>
<script type='text/javascript' src='https://chatorg258.my.localhost.sfdcdev.site.com:6101/ESWMIAWPrechatChannel1761840641805/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
</body>
</html>