Where to insert .js code using the webform module for google tracking a submit button? I am trying to insert a google tracker to a form submit button/form using the webform module (drupal 7).  Here is my code:

Drupal.behaviors.basicWorks = function(context) {
  // Track submission events.
  $('#webform-client-form-198', context).submit(function() {
    ga('send', {'hitType': 'event', 'eventCategory': 'PDTestlinktoDrupal', 'eventAction': 'clickAction', 'eventLabel': 'PDConversionTest' });
  });
};

My question is:

Where do I place this code?  Inside the webform.js inside the /js folder?  Or do I create my own file inside the /js folder and upload?  

Been working on this issue for a few days now and I could really use some insight.
you have 2 option:
1- using #attached to the $form element. use hook_form_alter

function YourMODULE_form_webform_client_form_1_alter(&amp;$form, &amp;$form_state) {
  $form['#attached']['js'] = array(
    drupal_get_path('module', 'YourMODULE') . '/js/your_script.js',
  );
}


2- add it in your custom module with drupal_add_js() function, Also it will be much better if you just load the js on only that page (web form page) so you will avoid loading it on every page.