<script> jQuery('.my-class.w-form.for_cform').on('usCformSuccess', function(){ window.location.replace("/thank-you"); }); </script>
. You can define a hidden field to attach the current URL of the page the form is submitted from. We use it extensively.
放在footer部分合适,即在form之后