Hi,
I want a youtue video popup after the form is sucessfully sumitted. I tried using the Forms2.0 customization, below are the steps I have done -
Step 1: in a landing page using a html I am loading a form by embed method
(<script src="//app-ab07.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_1048"></form>)
Step 2: Added a script tag in the same HTML for opening a video in a popup
(<script>
MktoForms2.loadForm("//app-ab07.marketo.com", "386-ELQ-047", 1048, function(form){
form.onSuccess(function(values, followUpUrl){
window.open("https://www.youtube.com/embed/aaabbbcccc", "PopupWindow", "scrollbars=no,resizable=no");
});
});</script>)
As per the above steps the video is opening in a popup as expected but the issue I am facing is the form fills are not getting captured.
When I check the landing page statistics I can see the views but not the forms filled. I believe the calls are not going. Can some please let me know what I am missing here.
Thanks