With SDK installed, you can manually setup surveys so that they are displayed through the installed Hubble’s Javascript SDK. While you will need to edit the source code to embed Hubble’s tracking code, it also gives you more freedom to setup the survey prompt. Follow the steps below to setup surveys using Hubble’s SDK.
Step 1. Make sure Hubble SDK API is installed following the documentation.
Step 2. Create a new in-product survey, and build it as needed.
Step 3. Copy the study ID from the URL. The ID is the coded string of characters after survey/ and before /build in the URL.
Step 4. Now, go to your source code and insert Hubble.show(id)
with the id being the study ID copied from the step 3 above. You can insert the code in as many places you need to prompt the survey.
Step 5. Once everything is ready, click Publish, and select Manually via SDK API. Configure the rest of the setup to launch the study.
Comments
0 comments
Please sign in to leave a comment.