A client’s /contact-us/ form needed to send leads to MCFX through an mcfx('capture') script. The page looked like a normal Contact Form 7 form, but it was only a shell. All the real fields load inside an iframe from js.callrail.com, and browsers block a parent-page script from reading or listening to fields in a frame from another origin. No on-page capture script can work here.
Three routes were laid out:
postMessage from the iframe. A console logger tests this in minutes. It likely wouldn’t include field values, so it would give a conversion without lead data.postMessage route in or out.