title: Add JS call on Rails form_for submit button
body: <p>I have a <code>form_for</code> in Rails with a submit button</p>
  
  <pre><code>&lt;%= f.submit "Sign up", class: 'login-button w-button', data: {wait: 'Please wait...'} %&gt;
  </code></pre>
  
  <p>and I need to add a Facebook Ads Registration call</p>
  
  <pre><code>fbq('track', 'CompleteRegistration');
  </code></pre>
  
  <p>How do I do this? Can I add it with <code>onClick</code> somehow?</p>