Next.js middleware enables you to run functions between requests and responses. We can use this to bootstrap feature flags on page load and make…| posthog.com
A/B tests are a way to make sure the content of your Next.js app performs as well as possible. They compare two or more variations on their impact on…| posthog.com
Using multiple website domains or subdomains is a common way to split up a product. For example, a company might have a marketing website, a web app…| posthog.com
Installation Configuration options You can further customize how PostHog works through its configuration on initialization. Attribute Description host…| posthog.com
Once you've created your feature flag in PostHog, the next step is to add your code:| posthog.com
Note: Local evaluation is only available in the Node , Ruby , Go , Python , C#/.NET , and PHP SDKs. Note: Do not use local evaluation in an…| posthog.com
Bootstrapping feature flags makes them available as soon as React and PostHog load on the client side. This enables use cases like routing to…| posthog.com
How identify works Best practices when using identify 1. Call identify as soon as you're able to 2. Use unique strings for distinct IDs 3. Set up…| posthog.com
Note: This doc refers to our posthog-js library for use on the browser. For server-side JavaScript, see our Node SDK . Installation Track across…| posthog.com