PostHog + Sveltekit
Github Repo Cookie/User Identity
{
"sessionToken": "495e7406-22cf-4b58-93fe-3b72a7f4adc7",
"userId": "6fff5a8e-9369-49e6-b79c-c34d3483786b",
"posthogId": "6fff5a8e-9369-49e6-b79c-c34d3483786b"
}
Server Request to PostHog API /decide
{
"flagIsEnabled": true,
"experimentServer": "test",
"flagIsToggle": false,
"experimentMultivariate": "variant_2",
"experimentComponent": "test"
}
Subscribed Feature Flag Store
{
"flagIsEnabled": true,
"experimentServer": "test",
"flagIsToggle": false,
"experimentMultivariate": "variant_2",
"experimentComponent": "test"
}