CoBrowser.net Monitor Script
The latest version of the monitor script offers an improved way to load and configure the CoBrowser.net system. It takes advantage of browser support for asynchronous JavaScript to enhance the speed in which the tracking code is loaded. With the latest version of the monitor code, you can also place the CoBrowser.net code higher in the page without delaying subsequent content from rendering.
For all functionality of the software to work, the monitor script should always be loaded on each page, even if there is no active chat conversation.
Code Snippet
<!-- Use the new responsive chatwindow design --> <link rel="stylesheet" id="cb_css" class="cb_responsive" type="text/css" href="//d4e119i9vv87s.cloudfront.net/plugins/css/cobrowser.responsive.min.css"></link> <!-- Begin Async CoBrowser.net Script --> <script type="text/javascript"> var _cbSettings = new Object();
window.cbHost = _cbSettings.endpoint = 'cloud';
// Additional settings can be placed here (function() { var cb = document.createElement('script'); cb.type = 'text/javascript'; cb.async = true; cb.id= 'cb_script'; cb.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cloud.cobrowser.net/generic/sitemonitor/cobrowser.latest.min.js';; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(cb, s); })(); </script> <!-- End Async CoBrowser.net Script -->
Comments
0 comments
Article is closed for comments.