• Resolved ryandesigned

    (@ryandesigned)


    Hello,

    For tracking purposes, our client is requiring us to trigger an event upon submission of a particular form.

    “The name of the event should be: contactForm
    The tracking should be declared by the following method:”

    <script>
    _satellite.track("contactForm");
    </script>

    What is the best way to do this?

    Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @ryandesigned – Thanks for reaching out!

    I apologize as customizations like this are outside of our scope for support. In case you’d like to look into custom development options, we highly recommend using Codeable.

    Having said that, in this case, you can hook into our?wpforms_wp_footer_end?action hook along with some of our JS frontend hooks so as to trigger events.

    Since you want to trigger it upon submission you can use our?wpformsAjaxSubmitSuccess?which will only run if the form was submitted successfully.

    I hope that helps you to get started. If you have any questions, please feel free to reach out.

    Kindly,

    Hey @ryandesigned – We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trigger event when the Form is successfully sent’ is closed to new replies.