
How do I redirect to another URL after Contact Form 7 submissions?
I’m often asked by users that how they can redirect to so-called “Thank You Page”. In most cases, they want to know it because they assume that redirecting to the “Thank You Page” is necessary for tracking form submissions with Google Analytics. That’s not necessary at all. In fact, it’s an outdated and nonsense custom
So you have another reason for redirecting to another URL?
Okay, no worries. The simplest way is utilizing Contact Form 7’s custom DOM event to run JavaScript. The following is an example of script that redirects you to another URL when the “wpcf7mailsent” event occurs:
