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

    Google analytics on my jotform

    Asked by gabriele scarpellini  on July 10, 2014 at 08:47 AM

    Can i use google analytics on my jotform? i tried but it doens't work maybe i had wrong something?

    http://www.jotform.com/uploads/transferCS/form_files/car.jpg

     

    Thanks

    Please le me know asap by email

    GAbriel

    Page URL:
    http://www.jotform.com/uploads/transferCS/form_files/car.jpg

    JotForm analytics uploads jpg
  • Profile Image

    Answered by jedcadorna on July 10, 2014 at 10:13 AM

    Hello,

    Google analytics uses javascript in every page to analyze the page so in order for you to embed your JS tracking code (the one provided by google) what you need is to download your form source https://www.jotform.com/help/104-How-to-download-a-source-code-of-your-form.

    Your tracking code will look something like this:

    <script>

      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'XX-XXXXXXXXX', 'auto');

      ga('send', 'pageview');

    </script>

    Just paste it above the <head> </head> section to track your form.

    1. Go to Admin

    2. Click on Tracking info and choose Tracking code