<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-DC%2FCurrent%2FDevelopers%2FChatCrossDomain</id>
	<title>PEC-DC/Current/Developers/ChatCrossDomain - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://all.docs.genesys.com/index.php?action=history&amp;feed=atom&amp;title=PEC-DC%2FCurrent%2FDevelopers%2FChatCrossDomain"/>
	<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Developers/ChatCrossDomain&amp;action=history"/>
	<updated>2026-05-16T21:55:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Developers/ChatCrossDomain&amp;diff=133000&amp;oldid=prev</id>
		<title>WikiSysop at 05:00, March 22, 2024</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Developers/ChatCrossDomain&amp;diff=133000&amp;oldid=prev"/>
		<updated>2024-03-22T05:00:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:00, March 22, 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Section={{Section&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Section={{Section&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|alignment=Vertical&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|alignment=Vertical&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|structuredtext=Digital channels supports chat persistence across different domains, allowing your customers to continue chat conversations with agents across the organization's sites they visit. It also allows your organization to have a consistent group of agents to support customers visiting different domains. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|structuredtext=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{NoteFormat|&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*Mozilla Firefox browsers do not support this functionality since it requires Cookie Partitioning. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*Starting from 2024, Chromium has announced its [https://developers.google.com/privacy-sandbox/3pcd end of support for Cookie Partitioning] for both Chrome and Edge browsers. If you're using this feature with the aforementioned browsers, Genesys recommends you update your integration to avoid usage of third-party cookies.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Digital channels supports chat persistence across different domains, allowing your customers to continue chat conversations with agents across the organization's sites they visit. It also allows your organization to have a consistent group of agents to support customers visiting different domains. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following sections describe how to implement a cross domain persistent chat.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following sections describe how to implement a cross domain persistent chat.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before setting up persistent chat across different domains, ensure you configure the {{Link-AnywhereElse|product=WID|version=Current|manual=SDK|topic=WebChatService-combined}}. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before setting up persistent chat across different domains, ensure you configure the {{Link-AnywhereElse|product=WID|version=Current|manual=SDK|topic=WebChatService-combined}}. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Third-party Cookie Notification====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Third-party Cookie Notification====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ensure that the third-party cookies are enabled on your customer's browser and you can suggest them to enable cookies with your custom messages on your site or in the Widget.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{NoteFormat|Mozilla Firefox browsers do not support this functionality. Google Chrome will stop supporting this functionality during 2024 ([https://developers.google.com/privacy-sandbox/blog/cookie-countdown-2023oct see announcement here]).|}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ensure that the third-party cookies are enabled on your customer's browser and you can suggest them to enable cookies with your custom messages on your site or in the Widget.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Status=No&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Status=No&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{Section&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{Section&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Developers/ChatCrossDomain&amp;diff=132881&amp;oldid=prev</id>
		<title>WikiSysop at 07:30, January 9, 2024</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Developers/ChatCrossDomain&amp;diff=132881&amp;oldid=prev"/>
		<updated>2024-01-09T07:30:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 07:30, January 9, 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Prerequisites===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Prerequisites===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before setting up persistent chat across different domains, ensure you configure the {{Link-AnywhereElse|product=WID|version=Current|manual=SDK|topic=WebChatService-combined}}.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before setting up persistent chat across different domains, ensure you configure the {{Link-AnywhereElse|product=WID|version=Current|manual=SDK|topic=WebChatService-combined}}. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Third-party Cookie Notification====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Third-party Cookie Notification====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ensure that the third-party cookies are enabled on your customer's browser and you can suggest them to enable cookies with your custom messages on your site or in the Widget.{{NoteFormat|Mozilla Firefox browsers do not support this functionality.|}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ensure that the third-party cookies are enabled on your customer's browser and you can suggest them to enable cookies with your custom messages on your site or in the Widget.{{NoteFormat|Mozilla Firefox browsers do not support this functionality&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Google Chrome will stop supporting this functionality during 2024 ([https://developers.google.com/privacy-sandbox/blog/cookie-countdown-2023oct see announcement here])&lt;/ins&gt;.|}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Status=No&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Status=No&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{Section&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{Section&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l231&quot; &gt;Line 231:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 231:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|structuredtext=Chat persistence does not work when a browser is configured to disable third-party cookies. Each browser manages and defines third-party cookies and data differently.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|structuredtext=Chat persistence does not work when a browser is configured to disable third-party cookies. Each browser manages and defines third-party cookies and data differently.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mozilla Firefox and Apple Safari browsers block the third-party cookies and data by default, but they allow you to set cookies manually. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mozilla Firefox and Apple Safari browsers block the third-party cookies and data by default, but they allow you to set cookies manually&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. Google Chrome will stop supporting third-party cookies during 2024&lt;/ins&gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following documents provide guidelines and settings for third-party cookies across different browsers.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following documents provide guidelines and settings for third-party cookies across different browsers.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Developers/ChatCrossDomain&amp;diff=125174&amp;oldid=prev</id>
		<title>Balaji: Published</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PEC-DC/Current/Developers/ChatCrossDomain&amp;diff=125174&amp;oldid=prev"/>
		<updated>2022-07-26T03:45:11Z</updated>

		<summary type="html">&lt;p&gt;Published&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Article&lt;br /&gt;
|Standalone=No&lt;br /&gt;
|DisplayName=Persistent Chat across Different Domains&lt;br /&gt;
|Context=Learn how to make chat conversations persistent across different domains.&lt;br /&gt;
|ComingSoon=No&lt;br /&gt;
|Section={{Section&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Digital channels supports chat persistence across different domains, allowing your customers to continue chat conversations with agents across the organization's sites they visit. It also allows your organization to have a consistent group of agents to support customers visiting different domains. &lt;br /&gt;
&lt;br /&gt;
The following sections describe how to implement a cross domain persistent chat.&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
Before setting up persistent chat across different domains, ensure you configure the {{Link-AnywhereElse|product=WID|version=Current|manual=SDK|topic=WebChatService-combined}}.&lt;br /&gt;
====Third-party Cookie Notification====&lt;br /&gt;
Ensure that the third-party cookies are enabled on your customer's browser and you can suggest them to enable cookies with your custom messages on your site or in the Widget.{{NoteFormat|Mozilla Firefox browsers do not support this functionality.|}}&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Overview of the solution&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Suppose that a customer started a chat on domain-a.com and intends to continue on domain-b.com, Digital Channels persists the chat conversation, and the customer can continue the interaction with the agent across the two domains.&lt;br /&gt;
&lt;br /&gt;
The solution combines a third-party JavaScript file that you include on the webpages with a hidden Iframe added to the webpages.  The module uses a &amp;lt;b&amp;gt;window.postMessage()&amp;lt;/b&amp;gt; function of HTML5 to establish connections among the webpages and the Iframe site. The function sets the cookies and saves them on the Iframe site.&lt;br /&gt;
&lt;br /&gt;
[[File:Digital Channels .png]]To implement this solution, complete the configuration steps.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Step 1: Create and host an Iframe HTML file&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Create a plain HTML page with no server-side dependencies and host this file on a webpage you own. Include the attached  '''iframe.min.js''' file and use the following sample iframe.html file. Modify the '''TRUSTED_DOMAINS''' array with the list of websites you would like to implement the chat persistence with agent.&lt;br /&gt;
&lt;br /&gt;
{{Repository|iframe.min.js|| iframe.min.js }}&lt;br /&gt;
&lt;br /&gt;
For example:&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html&amp;gt;&lt;br /&gt;
&amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
    &amp;lt;meta charset=&amp;quot;UTF-8&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;meta http-equiv=&amp;quot;X-UA-Compatible&amp;quot; content=&amp;quot;IE=edge&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;meta name=&amp;quot;viewport&amp;quot; content=&amp;quot;width=device-width, initial-scale=1.0&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;script&amp;gt;&lt;br /&gt;
       //EXAMPLE: add in this array your own list of trusted domains&lt;br /&gt;
      const TRUSTED_DOMAINS = [&lt;br /&gt;
        &amp;quot;https://domain-a.com&amp;quot;,&lt;br /&gt;
        &amp;quot;https://domain-b.com&amp;quot;&lt;br /&gt;
      ];&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;script src=&amp;quot;./iframe.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;Iframe&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;After hosting the HTML file, note down the direct URL of the site such as &amp;lt;nowiki&amp;gt;https://www.iframe.com/iframe.html&amp;lt;/nowiki&amp;gt;. This URL is used in Step 3.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Step 2: Include the Cookie Provider JavaScript file&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Include the attached '''cookie-provider.min.js''' across all the webpages (in our example, it was domain-a.com and domain-b.com) where your Genesys chat widget is started.&lt;br /&gt;
&lt;br /&gt;
{{Repository|cookie-provider.min.js||cookie-provider.min.js|}}&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;&amp;lt;nexus-url&amp;gt;/cookie-provider.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!-- your widget initialization script --&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Step 3: Create an Instance of Cookie Provider or Add Cookie Provider Extension in Widget&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=To start chat persistence across different websites, you can either &lt;br /&gt;
&lt;br /&gt;
{{Link-SomewhereInThisVersion|manual=Developers|topic=ChatCrossDomain|anchor=CookieProviderInstance|display text=Create an Instance of Cookie Provider}} or&lt;br /&gt;
&lt;br /&gt;
{{Link-SomewhereInThisVersion|manual=Developers|topic=ChatCrossDomain|anchor=CookieProviderExtension|display text=Add Cookie Provider Extension in Widget}} {{AnchorDiv|CookieProviderInstance}}&lt;br /&gt;
&lt;br /&gt;
===Create an Instance of Cookie Provider===&lt;br /&gt;
Create an instance of CookieProvider in the script where you configure your chat widget. While creating an instance, the CookieProvider adds Iframe to your webpages. The following table describes the parameters of the CookieProvider class.&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter Name&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Description&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}SESSION_COOKIE_NAME&lt;br /&gt;
{{!}}Yes&lt;br /&gt;
{{!}}Add your own session cookie name.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}IFRAME_URL&lt;br /&gt;
{{!}}Yes&lt;br /&gt;
{{!}}Add the Iframe URL obtained from Step 1.&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}showThirdPartyCookieNotification&lt;br /&gt;
{{!}}No&lt;br /&gt;
{{!}}Add this parameter if you want to show a message that third-party cookies are disabled in the customer's browser. For more information about third-party cookie notifications, see {{Link-SomewhereInThisVersion|manual=Developers|topic=ChatCrossDomain|anchor=ThirdpartyCookieNotification|display text=Third-party Cookie Notification}}.&lt;br /&gt;
{{!}}}&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// provide your own SESSION_COOKIE_NAME (example 'customer-defined-session-cookie')  and IFRAME_URL (example 'https://iframe.com/iframe.html')&lt;br /&gt;
// showThirdPartyCookieNotification is an optional parameter to show message if third party cookies are disabled&lt;br /&gt;
let cookieProvider = new CookieProvider(SESSION_COOKIE_NAME, IFRAME_URL, showThirdPartyCookieNotification);&lt;br /&gt;
//load cookie&lt;br /&gt;
cookieProvider.loadCookie();&lt;br /&gt;
 &lt;br /&gt;
// chat initializing&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;After creating the instance, you can call the '''loadCookie''' method to receive your newly created session cookie.&lt;br /&gt;
&lt;br /&gt;
====Save Cookie====&lt;br /&gt;
To use the cookie across various websites, you must save the created cookie into the Iframe. To do this, call the '''saveCookie''' method after your chat session cookie is set. In the following example, the registered plugin is subscribed to the '''WebChat.started''' event, to save the cookie inside the callback function.&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var cookieProviderPlugin = window._genesys.widgets.bus.registerPlugin(&amp;quot;CookieProvider&amp;quot;);&lt;br /&gt;
cookieProviderPlugin.subscribe(&amp;quot;WebChat.started&amp;quot;, function (e) {&lt;br /&gt;
    // call saveCookie when you want to save chat session cookie&lt;br /&gt;
    cookieProvider.saveCookie();&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;br /&amp;gt;{{AnchorDiv|ThirdpartyCookieNotification}}&lt;br /&gt;
&lt;br /&gt;
===Third-party Cookie Notification===&lt;br /&gt;
You can check if third-party cookies are unavailable on your customer's browser and suggest them to enable cookies with your custom messages.{{NoteFormat|Mozilla Firefox browsers do not support this functionality.|}}&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// example of function to show if third party cookies are enabled&lt;br /&gt;
function showThirdPartyCookieNotification(isEnabled) {&lt;br /&gt;
    // you can show here your own notification to enable third-party cookies&lt;br /&gt;
    alert(&amp;quot;Third-party cookies are &amp;quot; + isEnabled ? &amp;quot;enabled&amp;quot; : &amp;quot;disabled&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
// you can call cookieProvider.cookieTest with callback&lt;br /&gt;
cookieProvider.cookieTest(showThirdPartyCookieNotification);&lt;br /&gt;
// or without parameter if you provide callback when created instance of CookieProvider&lt;br /&gt;
cookieProvider.cookieTest();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;{{AnchorDiv|CookieProviderExtension}}&lt;br /&gt;
&lt;br /&gt;
===Add Cookie Provider Extension in Widget===&lt;br /&gt;
The following option is an alternate solution to enable chat persistence across different websites. In this approach, instead of creating an instance of CookieProvider, add the CookieProviderExtension in the extensions field of your Widget's configuration. As a part of an extension, you can call the callback function in initCookieProviderExtension to check whether third-party cookies are enabled in your customers' browser.&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// add it in you init configuration&lt;br /&gt;
if (!window._genesys) window._genesys = {};&lt;br /&gt;
 &lt;br /&gt;
// EXAMPLE of options value&lt;br /&gt;
const IFRAME_URL = &amp;quot;http://domain-a/iframe.html&amp;quot;;&lt;br /&gt;
const SESSION_COOKIE_NAME = &amp;quot;customer-defined-session-cookie&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
// EXAMPLE of function to show notification for third-party cookies&lt;br /&gt;
function showThirdPartyCookieNotification(isEnable) {&lt;br /&gt;
  if (!isEnable) {&lt;br /&gt;
    alert(&amp;quot;please enable your third-party cookies&amp;quot;);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
window._genesys = {&lt;br /&gt;
    widgets: {&lt;br /&gt;
        extensions: {&lt;br /&gt;
            CookieProviderExtension: initCookieProviderExtension(SESSION_COOKIE_NAME, IFRAME_URL, showThirdPartyCookieNotification)&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
// or add it separately after initialization&lt;br /&gt;
if(!window._genesys.widgets.extensions){&lt;br /&gt;
    window._genesys.widgets.extensions = {};&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
window._genesys.widgets.extensions[&amp;quot;CookieProviderExtension&amp;quot;] = initCookieProviderExtension(SESSION_COOKIE_NAME, IFRAME_URL, showThirdPartyCookieNotification);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Complete Chat Initialization Sample===&lt;br /&gt;
The following code sample shows the chat configuration with chat persistence across different websites.&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot; line=&amp;quot;1&amp;quot; start=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
const IFRAME_URL = &amp;quot;http://127.0.0.1:5500/iframe.html&amp;quot;;&lt;br /&gt;
const SESSION_COOKIE_NAME = &amp;quot;customer-defined-session-cookie&amp;quot;;  &lt;br /&gt;
 &lt;br /&gt;
if (!window._genesys) window._genesys = {};&lt;br /&gt;
 &lt;br /&gt;
window._genesys = {&lt;br /&gt;
  widgets: {&lt;br /&gt;
    webchat: {&lt;br /&gt;
      transport: {&lt;br /&gt;
        type: &amp;quot;&amp;lt;insert your type&amp;gt;&amp;quot;,&lt;br /&gt;
        dataURL: &amp;quot;&amp;lt;insert your dataURL&amp;gt;&amp;quot;, // Provided by Genesys&lt;br /&gt;
        endpoint: &amp;quot;&amp;lt;insert your endpoint&amp;gt;&amp;quot;, // Provided by Genesys&lt;br /&gt;
        headers: {&lt;br /&gt;
          &amp;quot;x-api-key&amp;quot;: &amp;quot;&amp;lt;insert your key&amp;gt;&amp;quot;, // Provided by Genesys&lt;br /&gt;
        },         &lt;br /&gt;
        async: {&lt;br /&gt;
          enabled: true,&lt;br /&gt;
          getSessionData: function (sessionData, Cookie, CookieOptions) {&lt;br /&gt;
            // Note: You don't have to use Cookies. You can, instead, store in a secured location like a database.&lt;br /&gt;
            Cookie.set(&lt;br /&gt;
              SESSION_COOKIE_NAME,&lt;br /&gt;
              JSON.stringify(sessionData),&lt;br /&gt;
              CookieOptions&lt;br /&gt;
            );&lt;br /&gt;
          },&lt;br /&gt;
          setSessionData: function (Open, Cookie, CookieOptions) {&lt;br /&gt;
            // Retrieve from your secured location.&lt;br /&gt;
            return Cookie.get(SESSION_COOKIE_NAME);&lt;br /&gt;
          },&lt;br /&gt;
        },&lt;br /&gt;
      },&lt;br /&gt;
    },&lt;br /&gt;
    // you need add this option only if you use alternative connection&lt;br /&gt;
    extensions: {&lt;br /&gt;
      CookieProviderExtension&lt;br /&gt;
    }&lt;br /&gt;
  },&lt;br /&gt;
};&lt;br /&gt;
 &lt;br /&gt;
const widgetScriptElement = document.createElement(&amp;quot;script&amp;quot;);&lt;br /&gt;
const widgetBaseUrl = &amp;quot;https://apps.mypurecloud.de/widgets/9.0/&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
// provide your own SESSION_COOKIE_NAME (example 'customer-defined-session-cookie')  and IFRAME_URL (example 'https://iframe.com/iframe.html')&lt;br /&gt;
let cookieProvider = new CookieProvider(SESSION_COOKIE_NAME, IFRAME_URL);&lt;br /&gt;
//load cookie&lt;br /&gt;
cookieProvider.loadCookie();&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
// chat initializing&lt;br /&gt;
widgetScriptElement.setAttribute(&amp;quot;src&amp;quot;, widgetBaseUrl + &amp;quot;cxbus.min.js&amp;quot;);&lt;br /&gt;
widgetScriptElement.addEventListener(&amp;quot;load&amp;quot;, async function () {&lt;br /&gt;
  await CXBus.configure({&lt;br /&gt;
    debug: true,&lt;br /&gt;
    pluginsPath: widgetBaseUrl + &amp;quot;plugins/&amp;quot;,&lt;br /&gt;
  });&lt;br /&gt;
  await CXBus.loadPlugin(&amp;quot;widgets-core&amp;quot;);&lt;br /&gt;
  await CXBus.command(&amp;quot;WebChat.open&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
  // set cookie to iframe when chat started&lt;br /&gt;
   var cookieProviderPlugin = window._genesys.widgets.bus.registerPlugin(&amp;quot;CookieProvider&amp;quot;);&lt;br /&gt;
   cookieProviderPlugin .subscribe(&amp;quot;WebChat.started&amp;quot;, function (e) {&lt;br /&gt;
    //save cookie&lt;br /&gt;
    cookieProvider.saveCookie();&lt;br /&gt;
  });&lt;br /&gt;
});&lt;br /&gt;
 &lt;br /&gt;
document.head.appendChild(widgetScriptElement); &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Limitations&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Chat persistence does not work when a browser is configured to disable third-party cookies. Each browser manages and defines third-party cookies and data differently.&lt;br /&gt;
&lt;br /&gt;
Mozilla Firefox and Apple Safari browsers block the third-party cookies and data by default, but they allow you to set cookies manually. &lt;br /&gt;
&lt;br /&gt;
The following documents provide guidelines and settings for third-party cookies across different browsers.&lt;br /&gt;
{{{!}} class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Browser&lt;br /&gt;
!URL&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Google Chrome&lt;br /&gt;
{{!}}https://support.google.com/chrome/answer/95647&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Mozilla Firefox&lt;br /&gt;
{{!}}https://support.mozilla.org/en-US/kb/third-party-cookies-firefox-tracking-protection&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Apple Safari&lt;br /&gt;
{{!}}https://support.apple.com/en-gb/guide/safari/sfri11471/mac&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}Opera&lt;br /&gt;
{{!}}https://blogs.opera.com/news/2015/08/how-to-manage-cookies-in-opera/&lt;br /&gt;
{{!}}}&lt;br /&gt;
|Status=No&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Balaji</name></author>
		
	</entry>
</feed>