_satellite["_runScript10"](function(event, target, Promise) { function executeFPCPardot(_piAid,_piCId,_piHostname){ piAId = _piAid; piCId = _piCId; piHostname = _piHostname; (function() { function async_load(){ var s = document.createElement('script'); s.type = 'text/javascript'; s.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + piHostname + '/pd.js'; var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c); } if(window.attachEvent) { window.attachEvent('onload', async_load); } else { window.addEventListener('load', async_load, false); } })(); } // fpcList1 belongs to the updates applied on Jul 2023 var fpcList1 = ['vonage.com', 'vonage.co.uk', 'vonage.com.ph', 'vonage.id', 'vonage.com.my', 'vonage.com.br', 'vonage.sg', 'vonage.ca', 'vonage.hk', 'vonage.cl', 'vonage.kr', 'vonage.nz', 'vonage.fr', 'vonage.com.au', 'vonage.co', 'vonage.mx', 'vonagebusiness.de', 'vonage.com.es']; // fpcList2 belongs to the original implementation from 2022 var fpcList2 = ["vonage.com.ar", "vonagebusiness.jp", "vonagebusiness.cn", "vonagebusiness.io", "vonage.ru"]; var domain = document.location.hostname.replace("www.",""); var hostname = '', piCId = '', piAId = ''; if (fpcList1.indexOf(domain) > -1) { hostname = document.location.hostname.replace("www","ww6"); piAId = '1033713'; } else if (fpcList2.indexOf(domain) > -1) { hostname = document.location.hostname.replace("www","ww3"); piAId = '8772'; } else { hostname = 'ww3.business.vonage.com'; piAId = '8772'; } if (piAId !== '' && hostname !== '') executeFPCPardot(piAId,piCId,hostname); });