There are three ways to prompt in-product surveys within your app. Once you are ready to publish an in-product survey, you will see the following options.
The first two options, Page URL and CSS selector, require no coding to configure the setup, while Manually via SDK API, involves additional line of tracking code to be inserted in the source code.
Page URL: You can provide a URL of a specific page where you want the survey to be prompted. Note that you can add as many URLs for a single survey by clicking + Add another URL option that is displayed.
CSS selector: You can prompt a survey when a user interacts with a specific element within a page. For example, you can select a certain div block or CTA button to trigger the survey.
Manually via SDK API: You can prompt surveys manually displayed through the installed Hubble’s Javascript SDK. Inserting window.Hubble.show(id) with the survey ID in your source code will display the survey in the specified page or timing.
To learn more details of each trigger method, see below:
Using page URLs to connect surveys
Using CSS selectors to connect surveys