Google Analitics are not working on WP. Need to add JS code to track events.

  • flahrssen
    Asked 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

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

    my goals are being tracked using events

  • Ashwin JotForm Support
    Replied 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!