Commit 896a9ae6 authored by Shane Rice's avatar Shane Rice 🌴

updates for demo and webcasts forms too

parent 6126351f
Pipeline #42598858 passed with stages
in 25 minutes and 31 seconds
......@@ -71,6 +71,7 @@ extra_css:
document.getElementById('demo-info').style.display = 'none';
window.scrollTo(0, 0);
// form.getFormElem().hide();
dataLayer.push({event: 'demo', mktoFormId: form.getId()});
return false;
});
});
......@@ -58,6 +58,7 @@
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
$('.confirmform').attr('style', 'height: initial');
dataLayer.push({event: 'webcasts', mktoFormId: form.getId()});
return false;
});
});
......@@ -83,6 +84,7 @@
$('.webcast-video-container').css('display', 'block');
$('.confirmform').attr('style', 'visibility: visible');
$('.confirmform').attr('style', 'height: initial');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment