Execute custom JavaScript code after successful sending of Pojo form

The support forum is open for members only. To add a topic or reply in the forum, please login or register.

Support Forum Moved
The Pojo Themes support has been transferred to a faster and more personal ticketing platform, so the forums are no longer active.
  • If you want to learn how to use Pojo themes, check out our extensive documentation guides.
  • Need help with using our themes? Contact us with a detailed explanation of your issue in the support page.
  • Have a pre-sale question or other inquiry? Feel free to contact us about it.

Support Forums Support (Legacy) Execute custom JavaScript code after successful sending of Pojo form

This topic is: Resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1324

    Yaniv Wainer
    Participant

    Hi,

    On each successful send using the Pojo form, I would like to execute some JavaScript code, mainly for firing Google Analytics events/goals.

    How do I do that?

    Thanks,
    Yaniv

    #1328

    Boaz
    Keymaster

    Hi Yaniv,
    The easiest way to create this is through a Thank-you page.
    After you create this page, you can include your tracking code in it.
    Finally, in your form configurations you can set this page to appear after sending a form.

    #1337

    Yaniv Wainer
    Participant

    Thank you. I’m aware of this option, but I was hoping to avoid using a thank you page, keeping the user on the same page he was on.
    Is there any way to “hook” into the successful sending of a Pojo form?

    #1341

    Boaz
    Keymaster

    Unfortunately, there isn’t a built-in way to do this.
    You will have to use a custome code for this.

    #1343

    Yaniv Wainer
    Participant

    OK, can you point me in the right direction regarding the custom code?

    Thanks!

    #1348

    Boaz
    Keymaster

    We don’t have such a code.
    But i’m sure that you will find an easy solution for it on the web.

    Good Luck!

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘Support (Legacy)’ is closed to new topics and replies.