Form submit tracking

Form submit tracking

I have this for link click tracking...

  1. $(document).ready(function() {
  2.     $('a').click(function (event) {
  3.     var id = $(this).attr("id");
What would be the equivalent for track form submissions? We use jQuery Validate and would trigger the form click tracking function with the submitHandler. 

  1. submitHandler: function(form) {
  2.     formClickTracking();
  3. }
;