Hey everyone! I've been developing for a few years now, primarily focusing on backend with Python and a little frontend with JavaScript. Recently, I've managed to launch some ideas and products with the help of AI, mainly to improve my skills in front-end, UI/UX, and user flows.
I have a couple of big concerns that I'm hoping to tackle: implementing feature flags and a subscription flow. My worry stems from my limited understanding of these topics and the assumed complexity involved.
How have you all navigated this? Is there a straightforward way to implement either of these? Also, can feature flags help improve subscription management?
I would like to use feature flags to let a subset of users (like beta testers) try new features and to conduct tests in a live environment. Here's a bit about my stack:
- NextJS Routed
- Supabase for DB, Auth, Storage, and Functions
- Cloudflare (though their recent changes are concerning)
- Netlify (let's see how it compares to Vercel)
- Google Analytics (or should I switch to PostHog?)
- Google Workspace (any affordable alternatives?)
- Cursor for when I hit roadblocks.
Looking forward to your insights, and please be nice with your comments, or I'll have to tell your moms! ;p
2 Answers
Subscriptions essentially mean you're asking users to pay for access to something. Feature flags, on the other hand, allow you to turn features on or off for users without a full redeployment. They can help you test features with select users before full rollout or even disable a feature if something goes wrong.
Best of luck with your monetization efforts!
I’m not entirely sure how feature flags tie into subscriptions, but they’re great for A/B testing. You could set it up to show one variation (like a red button) to 40% of users, while the rest see a different one (like a blue button). That way, you can determine which version leads to more conversions. It might help to create a funnel to track where you’re losing customers, especially during onboarding. If you can identify that, you can then make adjustments based on A/B testing data rather than just intuition.
I recommend using PostHog, as it has both feature flags and A/B testing integration, plus solid product analytics to help track funnels. Google Analytics can be quite limiting, especially for deep dives into data. So, I'd definitely lean towards PostHog for your analytics needs.
What’s your take on integrating subscriptions? I’m guessing Stripe is the way to go, but I’ve struggled to grasp how the flow works. Do you check if someone is a paid user on login and only show them that section?

I thought feature flags are used only after someone subscribes. Is there a way to toggle a paid feature on?