fbpx

ZP leads form

ZP leads form

<div id=”leadcapture_01944ef4-a36d-4f25-bb03-bff2bf8be3d2″></div><script type=”text/javascript”>(function(win, doc, zenJSHost, src, module, partitionApiKey, widgetInstanceId){
win.zenplanner = win.zenplanner || {};
win.zenplanner.directLoadArgs = win.zenplanner.directLoadArgs || [];
var tryCount = 0, intervalId = null;
function afterLoad(){
if(win.zenplanner.directLoader !== undefined && window.zenplanner.directLoader !== null){
clearInterval(intervalId);
for(var i = 0, l = win.zenplanner.directLoadArgs.length; l > i; i++){
if(win.zenplanner.directLoadArgs[i].widgetInstanceId === widgetInstanceId) {
win.zenplanner.directLoader.loadWidget(zenJSHost, module, partitionApiKey, widgetInstanceId);
}
}
} else if(tryCount++ > 200) {
console.log(‘Zen Planner widget : ‘ + module + ‘, failed to load.’);
clearInterval(intervalId);
}
}
if(win.zenplanner.directLoader === undefined || win.zenplanner.directLoader === null){
win.zenplanner.directLoadArgs.push({
module: module, partitionApiKey: partitionApiKey, widgetInstanceId : widgetInstanceId
});
var s = doc.createElement(‘script’); s.async = 1; s.src = zenJSHost + ‘/’ + src;
doc.head.appendChild(s);
intervalId = setInterval(afterLoad, 50);
} else {
win.zenplanner.directLoader.loadWidget(zenJSHost, module, partitionApiKey, widgetInstanceId);
}
})(window, document, ‘https://studio.zenplanner.com’, ‘zenplanner/studio/target/zp-widget-direct.js’, ‘leadcapture’, ‘48888310-a03a-4e1f-bb87-0e6e68a25145’, ‘01944ef4-a36d-4f25-bb03-bff2bf8be3d2’);</script>

Loading...