• Resolved zacfor

    (@zacfor)


    Generally we use the standard onclick for tracking events with Google Analytics:
    onclick="ga('send', 'event', 'ThisWasClicked', 'Click');"

    Is there a way to get the same thing with this plugin? Currently we’re using it and it’s printing:
    onclick="if(window["gf_submitting_5"]){return false;} window["gf_submitting_5"]=true;
    And we aren’t getting anything in Analytics.

    We’ve filled out the appropriate fields within the form’s settings ie “Event Category” and “Event Action”. What are we missing?

    Thank you

    https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ronald Huereca

    (@ronalfy)

    Nothing. Just instead of the event being sent via JavaScript, it’s being sent server to server via form submission.

    Set up your analytics goals as usual.

    Thread Starter zacfor

    (@zacfor)

    They’re working just fine, thanks for the clarification.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Editing the onclick’ is closed to new replies.