Event tracking on form submit on WordPress website



I am trying to execute this script on form submission. Currently the form is displayed using the tracking code on WordPress website.

This is what I would like to execute on form submission. Any idea on how can we achieve it.


@lovemarshall I’m not sure what you are trying to execute with out an example. Have you tried using the onFormSubmit callback function?