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

    Add tracking code to my Metroplex Foundation Repair form.

    Asked by bluetroop on July 18, 2017 at 03:26 PM

    Can you please assist me with this?

    Paste this code as high in the <head> of the page as possible:

    <!-- Google Tag Manager -->
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    <!-- End Google Tag Manager -->

    Additionally, paste this code immediately after the opening <body> tag:
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NP37QBR"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->

  • Profile Image
    JotForm Support

    Answered by Mike_G on July 18, 2017 at 04:30 PM

    If I'm understanding your concern correctly, you are trying to add Google Tag Manager to your form and you would like to include the script you showed us to your form script, is that correct?

    I would like to apologize, I'm afraid adding scripts to the form is not possible. What I suggest you do is use your form's full source code and host it in a website where you can also add the scripts above.


    Also, this seems to be an advanced feature and it may require you to hire a programmer who's familiar with Google Tag Manager to work with what you are trying to achieve.

    I can submit a feature request to integrate Google Tag Manager with Jotform on your behalf, however, we cannot guarantee that it would be available anytime soon.