A/B Test with SvelteKit - Client side & server side #7824
Unanswered
RykGitProjects
asked this question in
Q&A
Replies: 1 comment
-
This is a little late to the discussion, but my colleague @Mitcheljager at my previous company, PlayPilot, developed this split testing library for Svelte: https://github.com/Playpilot/svelte-split-testing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am working on A/B testing my site. Found solution to make it client side
Code below seems to work (haven't tested yet on production).
I have a couple of questions:
1)What do you think about this solution ?
2)How to make it server-side?
It would be great to have the test server side (managed by +page.server.js in which I am connecting to database data), I don't know how to handle user so that specific user has specific version for whole experience with page, even if he exits it and revisit in some time. For client-side it's preety easy - just use cookie with some expiriation date. But on server side I do not have cookies
Beta Was this translation helpful? Give feedback.
All reactions