Only track successful form submission
We are using Callrail external form tracking. We have country blocking set for form submission which checks visitor country and doesn't allow submit. But the submit button click sends form data to callrail whether it is successful event or not.
Is there any customization we can use to trigger callrail tracking only after successful submission event?
We are using WPForm on WordPress.