title: How to open a new window on form submit
body: <p>I have a submit form and want it to open a new window when users submits the form so i can track it on analytics.</p>
  
  <p>Here is the code I'm using:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;form action="http://URL at mailchimp subscriber URL.com" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" onclick=window.open(google.html,'','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,status=no');&gt;
      &lt;label for="name"&gt;Your Name&lt;/label&gt;&lt;input type="text" value="" name="FNAME" class="required" id="mce-FNAME"&gt;
      &lt;br/&gt;
      &lt;br/&gt;
      &lt;label for="email"&gt;Your Email &lt;/label&gt;&lt;input type="text" value="" name="EMAIL" class="required email" id="mce-EMAIL"&gt;
      &lt;br/&gt;
      &lt;br/&gt;
      &lt;input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="submit"&gt;
  &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>