What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How would we pass sale value to Google Analytics from a JotForm.

    Asked by expodepot on May 12, 2015 at 03:20 PM

    I'm developing for an eCommerce store on the magento platform. In addition to being able to purchase through the magento framework, we have a credit card authorization form to handle custom orders. My goal is to be able to track these sales values in analytics so that i can have a more realistic view of our numbers as many of our sales go through this method. 

    I'm just looking for a little direction on the best way to attack this, any help would be appreciated. 

    Page URL:

  • Profile Image

    Answered by Ben on May 12, 2015 at 04:32 PM

    I believe that the easiest thing for you would be to use the forms source code. This will allow you to create the form in JotForm Builder, but modify you as needed on your website.

    This is also a requirement to have the Google Analytics work their magic properly on your form.

    The downside to this is that your client can not update the form at any point unless you give him clear instructions on how to apply and what changes need to be applied once he re-embeds the form (so that the changes are shown).

    Now depending on how you can accept the values and what kind of values - output you would like to capture, the form might be used in iframe embedded code (example) and then when submitted and payment accepted, to have them redirected to the thank you page on your website that would hold the needed values.

    for example:


    Would that work for you?