Thank You URL Passing Parameters for Analytics

  • Profile Image
    fedelang
    Asked on February 27, 2012 at 07:20 AM

    Hello.

     

    I am using the same Form in many places on the site. I use a hidden variable to know where the form was loaded, this thanks to being able to pass parameters while embedding. 

    The problem is that i need to pass some extra parameters through the Thank You URL so I can monitor it with google analytics. 

    My thank you url would look like this:

    http://agencias.lasnalcas.com/gracias-por-su-reserva?utm_source=lasnalcas%2B&utm_medium=form&utm_content={alojamientoEn}&utm_campaign=reserva

    The {alojamientoEn} is not working. Can someone tell me how pass this variable or get a fix?

  • Profile Image
    Mike_T
    Answered on February 27, 2012 at 05:45 PM

    Thank you for contacting us.

    Unfortunately, {alojamientoEn} will not work for Custom Thank You page URL.

    One possible solution is to create a page on your server that will redirect your clients based on a hidden field. Please take a look at the following steps:

    1. First of all you will need to create the page (script) on your site that should be able to accept the data posted by your form, and redirect your users.

    2. Set a Custom Thank You page URL to the created page.

    3. Configure your form to send Post Data.

    Please also note that you can add a Google Conversion tracking pixel to your Thank You page. Please take a look at the following thread to get full information on this:

    https://www.jotform.com/answers/71811-Run-Script-After-Form-Submission

    If you need any further assistance, please let us know.