HubSpotForms.getForms()[0].onFormSubmitted( function(f,d) { window.parent.postMessage({ conversionUrl: document.location.href, referrer: document.referrer, email: d.submissionValues.email, lookbookExternalForm: true }, "*"); return false; })