on_sent_ok: How to deploy 2 actions? (page redirect google Event)
-
Hi all,
I am just wondering how to use the
on_sent_ok:
to esecute 2 actions:–First action: Redirect the user to a thank you page
–Second action: To trig the Google Analytics event.Above actions needs to be deployed both.
I tried with the following Code but it doesn’t work. I mean, it works the redirection but then it doesn’t work with Analytics:
on_sent_ok: "location = 'http://www.website.xyz/thanks'; _gaq.push(['_trackEvent', 'Contact Form', 'Submit', 'Sidebar Form','true']);"
Any suggestions are welcome. Thanks
- The topic ‘on_sent_ok: How to deploy 2 actions? (page redirect google Event)’ is closed to new replies.