title: Use 'on sent ok' action hook for two actions - Contact Form 7/WordPress
body: <p>I need to use the <code>on sent ok</code> action hook for two actions 1) to track the email adress and 2) to send the user to a thank you page. I tried adding this into the 'Additional Settings' section on the Contact Form 7 panel but I am not sure if it works correctly. At least I got different results when using it with two different forms.</p>
  
  <pre><code>on_sent_ok: "fnTransaction('Contacted', 'userid=' + [your-email]);"
  
  on_sent_ok: "location.replace('http://xxxxx.com/thank-you');"
  </code></pre>
  
  <p>Is it OK to use the action hook twice or can I combine this somehow? I'd appreciate your help!</p>