This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=YOUR_WEB_WIDGET_KEY_GOES_HERE"> </script> | |
<script type="text/javascript"> | |
var department_name = 'Sales'; | |
zE('webWidget:on', 'chat:connected', function() { | |
zE('webWidget', 'updateSettings', { | |
webWidget: { | |
chat: { | |
departments: { | |
enabled: [department_name], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
//prevents all pages, except the home page, from being indexed by search engines | |
if(window.location.pathname.match(/\/hc\/(.*)\/([a-z])/)) { | |
var meta = document.createElement('meta'); | |
meta.name = 'robots'; | |
meta.content = 'noindex'; | |
document.getElementsByTagName('head')[0].appendChild(meta); | |
} | |
</script> |
OlderNewer