is there a way to make a form trackable in Google Analytics

  • Profile Image
    Dru
    Asked on July 16, 2014 at 06:19 AM

    I need to be able to track how the form is accessed: Call Rail For example, if you have three tracking numbers: visitors from PPC, visitors from Organic Search, and direct visitors, https://wordpress.org/plugins/callrail-phone-call-tracking/

    Can we do this with JotForm?

    Thanks, Dru

  • Profile Image
    jedcadorna
    Answered on July 16, 2014 at 09:15 AM

    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');

    ('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