File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -47,5 +47,25 @@ <h1 id="welcome-message">Benvenuto!</h1>
4747 chatLink . href = chatUrl ;
4848 chatLink . innerText = 'Vai alla chat' ;
4949 </ script >
50+ < script type ='text/javascript '>
51+ function initEmbeddedMessaging ( ) {
52+ try {
53+ embeddedservice_bootstrap . settings . language = 'it' ; // For example, enter 'en' or 'en-US'
54+
55+ embeddedservice_bootstrap . init (
56+ '00DfZ000000Aod3' ,
57+ 'Case_Support_Agent_Test' ,
58+ 'https://chogangroup--devai1.sandbox.my.site.com/ESWCaseSupportAgentTes1764164304917' ,
59+ {
60+ scrt2URL : 'https://chogangroup--devai1.sandbox.my.salesforce-scrt.com'
61+ }
62+ ) ;
63+ } catch ( err ) {
64+ console . error ( 'Error loading Embedded Messaging: ' , err ) ;
65+ }
66+ } ;
67+ </ script >
68+ < script type ='text/javascript ' src ='https://chogangroup--devai1.sandbox.my.site.com/ESWCaseSupportAgentTes1764164304917/assets/js/bootstrap.min.js ' onload ='initEmbeddedMessaging() '> </ script >
69+
5070</ body >
5171</ html >
You can’t perform that action at this time.
0 commit comments