Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Jul 03, 2013 @ 12:40
    Tim
    0

    Feature Request!

    Hiya,

    Would it be possible to have the option to include form fields on the querystring to the thank you page (maybe as a checkbox settings option on the fields themselves)? At the moment it passes the record ID for the page through, but we have several clients who'd like to pass one or more of the field values on the querystring to the thank you page, to be tracked by GA.

    The only way to do this currently is to pull the record out and then redirect the thank you page with the value in the querystring, which means that the thank you page would get tracked twice.

    Failing that, is there any way to override the redirect in code?

  • Comment author was deleted

    Jul 03, 2013 @ 13:40

    Ok will add it to the list, you could hook into the event model 

    Event is found in Umbraco.Forms.Core.Services.RecordService.RecordSubmitted

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Jul 04, 2013 @ 16:15
    Tim
    0

    Thanks Tim! I've got round it at the moment bu having the forms submit to an intemediary page that gets the details and redirects to the actual thankyou page. I'll check out the event model as well :)

  • Comment author was deleted

    Jul 04, 2013 @ 16:17

    Added in the issue tracker http://issues.umbraco.org/issue/CON-396

    I'll see what the easiest option will be maybe just an additional checkbox when selecting to redirect to page

Please Sign in or register to post replies

Write your reply to:

Draft