PostHog + Sveltekit
Github Repo Cookie/User Identity
{
"sessionToken": "3e5b75d8-8094-49e9-9882-5557c105d42e",
"userId": "d79e1667-232b-43c5-a557-64e949f7a81d",
"posthogId": "d79e1667-232b-43c5-a557-64e949f7a81d"
} Server Request to PostHog API /decide
{
"experimentMultivariate": "variant_1",
"experimentComponent": "test",
"flagIsEnabled": true,
"experimentServer": "test",
"flagIsToggle": false
} Subscribed Feature Flag Store
{
"experimentMultivariate": "variant_1",
"experimentComponent": "test",
"flagIsEnabled": true,
"experimentServer": "test",
"flagIsToggle": false
}