Guide: Targeting New Users
In this guide, we will show you how to use Frigade’s targeting feature to only show a Flow to new users.
Only show a Flow to new users
When building product onboarding, the brand new user experience is often one of the first experiences teams focus on. In this guide, we’ll show you how to set up your Flow so that your new user experience is only shown to new users, and not to existing users.
There are several ways to approach this, but we’ll cover one of the most straight forward and popular methods.
Write sign up dates to Frigade user properties
First, we’ll want begin passing user signup or account created dates to Frigade. You can do this by sending the property to Frigade with the SDK. The documentation on User Hook has more details, but below is a code snippet with an example.
Once a property is written to Frigade, it will begin to show up in the user properties section of the user detail page and you’ll be able to access it for Frigade targeting and dynamic variables.
Add targeting to your Flow
Next, open the Targeting tab of the Flow details page. You’ll want to add a new rule that targets the user.property
field we just set for account creation date. Once selected, we can set a simple rule so only shows it to new users.
By setting the targeting to user.property('accountCreatedAt') > new Date() - 86400000 * 30
we are telling Frigade to only show this Flow to users whose sign up date was in the last 30 days or less.
You can of course adjust the number of days to whatever you’d like, or tweak the criteria to any constraints you’d like (e.g. isEnterprise, completedSetup, etc.).
And that’s it! Now your Flow will only be shown to users who signed up in the period you specified. If you already have audiences set up with a 3rd party analytics tool, be sure to check out our Integrations to connect and access them in Frigade.