PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Form Settings > Confirmation with URL string?

  1. I want to use Confirmation Text so that upon a form being submitted, I can output some HTML fields (which I have hidden on the form itself) to the user. For example, if they choose option A, they'll see message A, but it they choose option B, they'll get message B.

    I know how to do all of this, but...

    I also want to take advantage of Google Analytics and know how many people are actually completing the form. To do this, I think I need a URL string. So they start at mywebsite.com/form/ and after they submit the form, they are taken to mywebsite.com/form?string=whatever

    Is that possible?

    Or if not, is there a way to have a redirect page (ie, they start on mywebsite.com/form/ and are redirected via the Settings to mywebsite.com/form/thanks/) show that information as well?

    If there's any more info I can provide, or haven't been clear enough, please let me know!

    Posted 10 years ago on Sunday November 20, 2011 | Permalink
  2. On a secondary but still somewhat related note, it would be great if there was a way to know if someone had begun to complete the form, but didn't finish. Nothing too fancy, like I don't need to know the input values of the parts they did finish (though, obviously that would be pretty amazing), but just some type of db entry I could check on or something.

    Posted 10 years ago on Sunday November 20, 2011 | Permalink
  3. Regarding your second question, this has been discussed in the past. Here is the latest response from Carl Hancock: http://www.gravityhelp.com/forums/topic/any-way-to-submit-data-at-every-page#post-36600

    Posted 10 years ago on Monday November 21, 2011 | Permalink
  4. Regarding your first question. You can put the Google Analytics code on the confirmation page, or put the HTML in the confirmation message text. It's JavaScript, so it won't be displayed. Will that work for you?

    Also, to track the stages of completion, where you're losing people on your form, you can add HTML fields to the form in each page, and put the Google Analytics code there. That way, you can track how many people are dropping out at each step.

    Posted 10 years ago on Monday November 21, 2011 | Permalink
  5. justsomeguy
    Member

    Hi,
    First, love your product.
    Second, can you elaborate a little more on your post about putting Analytics code in an HTML block before each page break. I have the following code and it isn't tracking. Any help would be appreciated.
    <script>jQuery('#gform_1').submit(function() {_gaq.push('_trackEvent', 'my category', 'my action'); });</script>

    Posted 10 years ago on Tuesday January 31, 2012 | Permalink