Trigger a website survey based on an event

Display your survey based on your visitors actions on your website, like clicking a button, or navigating to a specific feature

Agnieszka avatar
Written by Agnieszka
Updated over a week ago

With Survicate, it's possible to show your Website or in-product survey at certain moments of the customer journey.

Setting up your survey to pop up after a visitor triggers a specific event allows you to:

  • target users that added a specific product to their basket or used a coupon in the cart, so you can increase a conversion rate and sales;

  • show a survey on a specific section of your dashboard/app to inquire about your user's experience;

  • add a specific button in the navigation of your product to let the user decide when he wants to leave feedback.

This article will guide you step-by-step through the process of creating, adjusting, and launching a Website or in-product survey after an event on your webpage.

This feature is available on some of our plans. Reach out to us to learn more πŸ‘‰.

Step 1. Install the Survicate Tracking code

To be able to trigger a Website or in-product survey after a JavaScript event, it's necessary to first install the Survicate tracking code on your website.

Please follow this guide to set it up.

Step 2. Create a website survey

1. Create a new survey and choose the Website or in-product surveys type from the menu. You can either set up a survey of your own, select a survey from our templates library, create a survey with AI, or import questions you prepared before:

2. Customize your widget style and colors in the Create tab, and make your survey entirely branded as your own! You can change the placement of the survey on the page and modify your survey messages.

Step 3. Set up the survey to trigger after an event

1. Head over to the Target > Triggers tab.

Under the option, When would you like to show the survey? select When a user triggers an event.

Here, type your event name; you can also add event properties.

❗️For this option to trigger a survey after a specified event correctly, your developers should use the _sva.invokeEvent("eventName") method in the Survicate tracking code in your website.

More information can be found in our documentation for developers.

Then, you can set up events in the Survicate panel in various Website surveys without your developers' help!

If you choose to + Add another event to the targeting, the survey will appear if the visitor triggers one of the events:

Please note that event names, property names, and values are case-sensitive and should be written the same way as in your website.

Event properties should be string values.

2. You can set up the audience to target your survey to a specific group of website visitors or trigger your survey only on certain pages to further control who should be able to see and answer your survey.

3. Once you are ready with your survey, start it from the Launch tab, and get ready to dive into your insights.

πŸ“ž If you have any questions about triggering a survey after a JavaScript event, please reach out to us at support@survicate.com or strike up a chat conversationΒ πŸ‘‰

Did this answer your question?