How to trigger pop-up survey with API?

Modified on Fri, 28 Apr, 2023 at 11:20 PM

You can use javascript to trigger the pop-up survey after visitors did a certain action on your website.

1. Go to Survey, Click on the New Campaign button


2. Go to the Appearance section, and turn off the toggle of Autostart pop-up survey.

3. Next, you can use the following javascript code to show the pop-up survey on your website.

To show the pop-up survey with manual trigger

howuku.survey.show()


To hide the pop-up survey after certain action was done

howuku.survey.hide()

If you need further help on this subject, you may contact us at support@howuku.com and we would love to help you with the implementation.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article