Events for Form Submission Tracking

In a few cases, TruConversion isn’t able to automatically guess whether a submission has been successful or not. This is due to the way forms are validated and what happens following a successful or failed validation.

By using JavaScript you can tell TruConversion when a particular form was successfully submitted or not, depending on whether it passed your validation criteria or not. This is good to get more accurate data since you will be able to use your own validation function to tell TruConversion what to track.

The Events

form-ev-1

How to use it

Let’s see how to use JavaScript tracking in your form’s submission:

Javascript:

form-ev-2

Paste TruConversion submission tracking code in your handler like this:

Javascript:

form-ev-3

Note:
This code will only work if you include it in a page that already has the TruConversion Tracking Code on it. Additionally, the code needs to be placed on the same page your form is on.