var url = 'https://whats.stacklix.com/assets/js/WhatsAppWidget.js'; var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url; var options = {'enabled':true, 'chatButtonSetting': { 'backgroundColor': '#4dc247', 'ctaText': 'WhatsApp Us', 'borderRadius': '25', 'marginLeft': '50', 'marginBottom': '50', 'marginRight': '50', 'position': 'right', }, 'brandSetting':{ 'brandName': 'BOSTON CONTAINERS', 'brandSubTitle': 'WhatsApp Live Chat', 'brandImg': 'https://bostoncontainers.co.za/wp-content/uploads/2023/11/live_chat.png', 'ctaText': 'Start WhatsApp Chat', 'welcomeText':'Hi, there! \nWelcome to Boston Containters. \nHow can I help you?', 'backgroundColor':'#0a5f54', 'borderRadius':'20', 'autoShow':'', 'phoneNumber': '27781810589', 'message': "Hello" } } s.onload = function() { CreateWhatsappChatWidget(options); }; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x)