Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Adding tracking code to a Gravity Form submit button

Discussion in 'Misc WordPress Requests' started by Jacob Peattie, Oct 31, 2017.

  1. Jacob Peattie

    Guest

    Reply To: Adding tracking code to a Gravity Form submit button, by Jacob Peattie

    Doesn’t really matter, it just won’t do anything in pages that don’t have the form. But if you put it on every page you don’t have to worry about updating it if you move the form to a different page or something.

    I don’t see how any of the hooks Jay posted would help, since they’re in PHP and your snippet is JS. As far as I can tell Gravity Forms doesn’t have any custom JS events that would be helpful here either.

    Maybe you could use a hook to output the script in a confirmation message or something, but it sounded to me like you just wanted to track clicks on the submit button?

    Reply To: Adding tracking code to a Gravity Form submit button
     
    #1

Share This Page

Web Hosting