Is it possible to utilize the on sent ok
action hook for two different purposes? I want to both track the email address and redirect the user to a thank you page. My attempts to do this in the 'Additional Settings' section of the Contact Form 7 panel have yielded varying results, depending on which form I apply it to.
on_sent_ok: "fnTransaction('Contacted', 'userid=' + [your-email]);"
on_sent_ok: "location.replace('http://xxxxx.com/thank-you');"
Can the action hook be used multiple times or is there a way to combine these actions into one line of code? Any assistance would be greatly appreciated!