Prompt
How do I show a feature announcement only to active users in the product?
Latest observation
To show a feature announcement only to active users, you generally need to target users based on an “activity” attribute or event, not just whether they’re signed in.
Common ways to do it
-
Define “active user” Examples:
- logged in within the last 7 days
- used the product at least 3 times in the last 14 days
- completed a specific action recently
-
Track user activity Make sure your app sends activity data such as:
- last seen / last login timestamp
- key product events
- session activity
-
Create a segment or audience In your feature-flag / messaging tool, create a segment like:
last_active_at is within the past 7 days- or
events.count >= X in last Y days
-
Target the announcement to that segment Only users who match the “active user” criteria will see the announcement.
-
Exclude inactive or new users if needed You can also add conditions like:
- signed-in users only
- excluded if onboarding not completed
- excluded if announcement already shown/dismissed
Example rule
If “active” means “used the product in the last 30 days,” your rule might be:
last_activity >= 30 days ago- AND
user is authenticated
Best practice
If you want the announcement to be seen by users who are likely to care, use a combination of:
- recency of activity
- frequency of usage
- feature usage relevance
If you want, I can also show you how to do this in a specific tool like LaunchDarkly, Intercom, Pendo, Amplitude, PostHog, or a custom app.