Skip to product menu
Skip to main content

.privacy.chatbannercontent()

This API allows you to customize the content on the chat banner which is used to get the visitor's consent before the chat begins to store and process the chat details, as per the GDPR Policy.

Syntax

Copied$zoho.salesiq.privacy.chatbannercontent(function(){})

Example

Copied<script>
$zoho.salesiq.ready=function()
{
   $zoho.salesiq.privacy.chatbannercontent(
   {
   'online': {
        'description' : 'Privacy policy text goes here',
        'acceptbutton' : 'Accept',
        'declinebutton' : 'Decline',
        'policytextandlink' : {
        'text': 'goes here',
 	 	        'link': 'https://www.zoho.com/privacy.html'
          }
    },
   'offline': {
         'description' : 'your text goes here',
            	        'policytextandlink': {
      	    'text' : 'text',
      	    'link' : 'https://www.zoho.com/privacy.html'
         }
    }
   }
);
}
</script>