Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. <!-- Place this code snippet anywhere you want the button to appear in your page. If no button has been configured in the chat script, it will not show up nor take any space. -->
  2. <div id="__8x8-chat-button-container-script_20159149745bd7049db08105.42759857"></div>
  3.  
  4. <!-- This script will not interfere with the button layout, you just need to include it in the same page. It must also be within the <body> section of the page, preferably just before the ending tag. -->
  5. <script type="text/javascript">
  6. window.__8x8Chat = {
  7. uuid: "script_20159149745bd7049db08105.42759857",
  8. tenant: "aW50ZWdyYXRpb25zMDJkb24wMQ",
  9. channel: "TestAndreeaChat",
  10. domain: "https://vcc-qa1.8x8.com",
  11. path: "/.",
  12. buttonContainerId: "__8x8-chat-button-container-script_20159149745bd7049db08105.42759857",
  13. align: "right"
  14. };
  15.  
  16. (function() {
  17. var se = document.createElement("script");
  18. se.type = "text/javascript";
  19. se.async = true;
  20. se.src = window.__8x8Chat.domain + window.__8x8Chat.path + "/CHAT/common/js/chat.js";
  21.  
  22. var os = document.getElementsByTagName("script")[0];
  23. os.parentNode.insertBefore(se, os);
  24. })();
  25. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement