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 Analitics are not working on WP. Need to add JS code to track events.

    Asked by flahrssen on September 23, 2014 at 11:15 AM

    Dont Works :( with the NEW universal Analytics, I am using de Jotform plugin for WP and dont have a way to include a JS code

    onclick="_gaq.push(['_trackEvent', 'pasivo', 'solicitud', 'nuevo lead'])

    my goals are being tracked using events

  • Profile Image
    JotForm Support

    Answered by ashwin_d on September 23, 2014 at 12:27 PM

    Hello flahrssen,

    Unfortunately, it is not possible to add any JS code in the form anymore. It is disabled for security reasons. 

    You need to download your form's full source code and add the required JS code to trigger the onClick event. You can then upload the complete source code in your WP server and then embed it in iFrame. You may like to check the following guide:  http://www.jotform.com/help/4-Adding-Forms-to-Wordpress 

    Thank you!