How do I add the scripts from Google Tag Manager to track engagement with the form?

  • Profile Image
    Musicasa
    Asked on February 03, 2020 at 07:40 AM

    I want to optimize the form to increase the conversion rate, for that, it would be important to track certain "steps" of the form with tagmanager.

    We saw in the lin below, someone from staff saying that it is possible to "add the scripts from Google Tag Manager to track engagement with the form"

    Https://www.jotform.com/answers/1659495-Google-Tag-Manager-Can-I-integrate-with-JotForm-to-record-sent-clicks-on-my-form

    It would be amazing if you guys could tell us exactly how do we do it? Where do we copy the scripts?

    Thanks a lot for your help !

  • Profile Image
    ashwin_d
    Answered on February 03, 2020 at 10:24 AM

    Please note that it is not possible to add google tag manager code in form. 

    You should download your form's full source code and then add the google tag manager code in the form's source code. You then need to use the edited source code of form to embed it in your webpage. The following guide should help you how to download form's full source code: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form 

    Once you download you form's full source code, you can add the google tag manager code anywhere in the code. Please note that you cannot upload the source code back to JotForm. You will have to host the form's full source code in your own server. 

    Hope this helps.

    Do get back to us if you have any questions.


  • Profile Image
    Musicasa
    Answered on February 04, 2020 at 03:50 AM
    And if it is hosted on our own server will it still integrate with zapier ?
    Às 15:24 de 03/02/2020, Jotform escreveu:
    ...
  • Profile Image
    ashwin_d
    Answered on February 04, 2020 at 05:06 AM

    Yes the integration which you add before downloading the form's source code will continue to work as expected. 

    Do try it out and get back to us if you have any problem.

  • Profile Image
    Musicasa
    Answered on February 04, 2020 at 05:50 AM
    Thanks a lot for the fast response!
    I am having trouble finding the source code option as it doesn't appear
    in my "publish" area:
    Às 10:06 de 04/02/2020, Jotform escreveu:
    ...
  • Profile Image
    jherwin
    Answered on February 04, 2020 at 07:18 AM

    It looks like you are working on with CARD FORMS. Unfortunately, the full source code is only available for the CLASSIC FORM layout.
    1580818711classic form.png