You are reviewing MouseStats documentation: Take a look to the product!
< back

Mark a form as submitted manually

In a few cases, such as some complicated Ajax forms, detecting if a form is submitted or not would be impossible for the MouseStats tracking script. To achieve accurate reports, you need to send a Submit Ok request by using MouseStats JavaScript API on form submit.

How?

you need to call the following function in the appropriate part of your codes when a form as been submitted successfully:

   try { MouseStatsFormAnalytics.Submitted(); } catch(e) { };