Can I use Google Tag Manager on your forms?

  • Profile Image
    Asked on December 26, 2014 at 03:20 PM

    I am trying to implement pageview and GA revenue tracking for I would like to do this through google tag manager. I tried embedding an GTM iframe on the form but it is not working properly. Do you allow for this type of implementation?  Thanks.

  • Profile Image
    Answered on December 26, 2014 at 04:54 PM

    Thank you for contacting us.

    We do not support javascript injections on forms due to security reasons. It means, that there is no way to add the full Google Tag Manager snippet code directly to the form.

    However, you can inject the noscript iframe part to see if it works. Here is an example:

    Use the content within noscript tag (not including the tag itself).

    Alternatively, you should be able to use the full snippet code with the form source code.

    If you need any further assistance on this, please let us know.

  • Profile Image
    Answered on February 07, 2017 at 11:27 PM

    This can be updated now with JF 4.0 to use the iframe widget - paste the URL in the iframe URL and set height and width to 0.  Would be very handy for JotForm to add a Google Tag widget of course as that would be even easier!