Did you know that in app surveys have a whopping 6-10x better conversion rate compared to those boring email surveys? If you're eager to know how you can set one up in your web app in a breezy 10-15 minutes, just read on...
TL;DR
I'll show you how you can display any in app survey in your web app with Formbricks (open source). It'll allow you to add a Feedback Box, invite users to interviews, measure feature satisfaction and muuuuuch more π€
Look at all of them possibilities with Formbricks
Formbricks: Open-source Forms and Surveys π€Έ
A word about us before we dive in: Formbricks helps you understand how users like your product or service. It helps you ask the right people the right questions to build the most user-friendly product possible. The best part? It"s open-source, pls support us with a β
4 simple steps
Let's dive right in. This is what we'll be doing:
- Create a free Formbricks Cloud account
- Create your first survey
- Set up the Formbricks Widget in your app
- Restart your app and enjoy your brand new in app survey
1. Grab a Formbricks Cloud Account - it's free
You can totally self-host Formbricks if you're into that, but if you're chasing speed, the cloud is your best friend. Just sign up here and breeze through the onboarding steps until you're here:
2. Craft Your First Survey π οΈ
Okay, let's make a survey! Hop into one of the templates, and then swing by the survey settings:
There's a little note in orange that's telling us we haven't connected with our app yet. No sweat, we'll get to that! First, let's set our survey right.
For the "How to ask" setting, make sure you pick "Web App":
Now, wander down to the "Survey Trigger" section and choose "New Session". This means that on every new user session this survey will pop:
In "Recontact Options", set it up in a way that suits your taste. By default, a survey only nudges a user once. For testing, it makes sense to display the survey until a response was provided (or even all the time, ignoring the waiting period):
Once you're happy, slam that Publish button!
You'll be escorted to the Summary Page, which is your magical place for all survey responses. From there, head over to the Setup Checklist:
3. Unleash the Formbricks Widget π§
Now on the Setup Checklist, you'll notice a couple of things. First up, there's the Widget Status Indicator. When your app and Formbricks Cloud do their special handshake, this will light up green:
The manual's got a code snippet which has:
- Your unique Environment ID for Formbricks
- The API Host which is, for us Cloud folks, βhttps://app.formbricks.comβ
Let's Bring Formbricks to Life in Your App!
Now, depending on what tech stack you're using for your frontend, the process varies slightly. Here are some guides:
4. Revive Your App & Spy on the Console π
Restart your app and then pop open your browser console. If all's gone to plan, you should spot your survey sitting in the bottom right corner:
π Congrats, you did it! π
Debugging Support - 'Cause Sometimes Things Get Wonky π
If your survey's playing hide-and-seek, don't sweat. Here's a mini cheat sheet to help you:
Connectivity Issues
Swing back to app.formbricks.com and check the Setup Checklist. If it's singing the "Not connected" blues, your app hasn't pinged Formbricks Cloud yet.
The Fix: Double-check your widget's heartbeat in your browser console. For that make sure that debug: true
mode is enabled in the Formbricks embedding. If things look off, we've got your back over at our Discord.
Survey not loaded
Your app's talks with Formbricks Cloud, but the widget did not load your survey.
The Fix: Confirm your survey is not a draft anymore and set to "in progress" in Formbricks Cloud's Survey Summary page.
Survey's Being Shy
Your survey's there, but it's just not being triggered:
The Fix:
- Try opening your app incognito-style. Remember, the New Session action is only fired after 60 minutes of user inactivity or if a user gets logged out via
formbricks.logout()
. - See if βEvent βNew Sessionβ is being tracked in the logs. If it's all good but the survey's still hiding, give us a shout at our Discord π
Still stuck? No worries! Drop by our Discord and we'll jam together until we get it right. π€
Let's look back and learn
Today we've learned how to:
- Connect Formbricks with your app
- Create an in app survey
- Display it in your app
- Send the data to the analysis backend
From now on, the world of in app surveys is yours!
Check out these best practices for inspiration:
- Learn from Churn
- Interview Prompt
- Product Market Fit Survey
- Trial Conversion Survey
- Feature Chaser
- Feedback Box
- Docs Feedback
Comment for which you'd like the next tutorial!
To help us keep these articles coming, drop us a twinkelin' β
Thank you for reading!
Johannes
Top comments (14)
Great article! Formbricks to the moon π
hehe π
Amazing articles to-point.
Bye bye typeform.
haha byeee
thanks for sharing!
very welcome!
Alright! π π
hehe woop woop!
the puppy meme is just the cutest ever!!!! π€©π€©π€©
hahahaha
woah! to-the-point and exactly what one would needπ
thanks shubham! :)
That is amazing !!
πππ