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

  • Profile Image
    Asked 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. 

  • Profile Image
    Answered 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?