https://www.growthbook.io/ logo
#announcements
Title
# announcements
p

plain-lizard-13513

04/08/2022, 9:11 AM
hey all - QQ - we just recently broke our front-end off into a Nextjs app. We're about to run our first experiment since, and I'm just trying to work out all the pieces in my head. Presumably what we have to do now if we want to carry an experiment between the FE/BE is drop some sort of cookie with a reference to the version they should see, and then put them in that version in the backend. Is that right? Follow up Q - I know we can temporarily force a user to see a version, which we've been using for debug purposes - is that how we'd implement the forcing into a version requirement?
f

future-teacher-7046

04/08/2022, 11:03 AM
There are a few options. All of our SDKs use the exact same hashing algorithm, so as long as the user id is the same, the SDKs will return the same assigned variation. So you could either just share the user id between the front end and back end. Or you pass the assigned variation to the back end. Either way will work.
For debugging, we have a Chrome devtools extension that works with the React SDK. It lets you quickly force variations on the front end.
p

plain-lizard-13513

04/11/2022, 3:21 PM
got it! thanks @future-teacher-7046
we'll do that for carrying the versions through
10 Views