Embedding GA Tracking Codes into JotForm

  • Vconnect
    Asked on February 20, 2018 at 12:03 PM

    Hello,

    Currently on Typeform we could integrate GA tracking codes to our form on a question level and could easily identify which question, users dropped off from.

    We are looking for typeform alternative and migrating all our Typeforms to Jotforms, we realize that, this is not possible. 

    Is there any work around this? As this is very crucial to our business in terms of reporting and effective service delivery to our users.

     

    Kind Regards

    Jotform Thread 1390480 Screenshot
  • David JotForm Support
    Replied on February 20, 2018 at 12:28 PM

    We do not allow for javascript to be added to forms.  The closest thing we offer for Google analytics would be our Google Analytics widget:

    https://widgets.jotform.com/widget/google_analytics

    Though it is not nearly as full featured as using the tracking script itself. 

    Other than that, it would require embedding the form to a web page using the full source code:

    https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    And integrating your tracking script with the source code.

  • caseypage98
    Replied on February 22, 2018 at 11:32 AM

    I run into clients every now and then who use JotForm and they are not able to track their JotForm conversions effectively because of not being able to embed a tracking code. This has been a deal breaker in the past for them and I've seen clients move off of JotForm to something else.

    To tell them to export their source code and embed it on their own site is usually way over their head and not a great solution especially if they make updates to their jotform and are having to re-export source code every time they modify the form.  

    Just like Vconnect's post above - It's frustrating that you can't embed a javascript snippet on the jotform page. I could ramble off tons of other products that allow for this.


    Thanks,

    Casey


  • David JotForm Support
    Replied on February 22, 2018 at 11:40 AM

    We do not allow for adding scripts to forms for security reasons.  Allowing external code that can be executed by the form to be added to the form would allow for all types of malicious code to be added, in addition to benign code like tracking scripts. 

    We definitely understand it would be useful, but ensuring the security of our forms takes priority over just about everything else.  As far as I know, none of the other form building services allow for direct code injection either, with the exception of basic HTML and CSS of course.  If they did, I would be very hesitant to use their forms.

  • Vconnect
    Replied on May 18, 2018 at 5:07 AM

    David, 

    https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    I cannot find the option to get the source code. Has it been disabled?

  • Victoria_K
    Replied on May 18, 2018 at 6:38 AM

    Hello Vconnect,

    Your new question was moved as a new thread. Please check our answer here: https://www.jotform.com/answers/1476427