Remote config

Last updated:

|Edit this page

On this page

Boolean and multivariate flags are helpful for dynamic values that differ from user to user, but sometimes you need a simple way to pass configuration related to your application without having to make code changes or redeploy your app.

Remote config flags enable you to configure a simple flag that always returns the same payload wherever it is called:

const themedLogoUrl = posthog.getFeatureFlagPayload('company-holiday-logo-url')

You can think of remote config flags as multivariate flags with a single variant which is served for all flag requests. By default, enabled remote config flags roll out to 100% of all users.

Note: Remote config flags are meant to always serve payloads and be called with the flag payload function in each SDK. If getFeatureFlag is called instead, the SDK simply returns true

Questions? Ask Max AI.

It's easier than reading through 570 docs articles.

Community questions

Was this page useful?

Next article

Early access feature management

Note: Early access management is only available in the JavaScript web SDK . Early access feature management enables your users to opt in (and out) of betas and other in-progress features. This is useful if you want to: Run a beta program without building a custom solution Provide access to features that are not yet ready for general release Allow users to control their own product experience How it works Early access features can be created and edited from the Early Access Management tab in…

Read next article