google analytics event click

  • fondoambiente
    Asked on February 17, 2016 at 10:24 AM

    Hello how do i insert analytics code to the event click of a button. The code is this:

     

    onDISABLEDclick="ga('send', 'event', 'newsletter_5x1000', 'iscrizione');

     

    Thanks!

  • Charlie
    Replied on February 17, 2016 at 1:54 PM

    We have a Google Analytics widget that captures a lot of activity on the form. You can check it here: http://widgets.jotform.com/widget/google_analytics.

    You cannot add script codes or Javascript functions on the form using our form builder, but that should be possible if you will be using the form's full source code. You can get that code by following this link: http://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form.

    However, I strongly advise checking our Google Analytics widget as it is more convenient to use.