https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
h

handsome-answer-25651

11/17/2021, 8:42 AM
Hello everyone! I am a beginner js developer using mixpanel for users activity data analytics. I am looking for a way to implement some A/B testing that is a bit more complicated than displaying versions of CTA on buttons (I am talking about displaying different versions of routes for different subsets of users for example). Is GrowthBook somehow helping with handling/running a/b experiments? Would you recommend some reading about how to properly go about this with growthBook beside growthBook's Experiments documentation chapter and also point me to some good code example? Thanks a lot
f

fresh-football-47124

11/17/2021, 9:24 AM
Hi Stas. Yes, GrowthBook has SDKs to help you do deep code integration for a/b tests.
The docs are here, if you didn't see them: https://docs.growthbook.io/lib/js
if you have an example of your routing code, I can make some sample code for you
I haven't tested it, and you might want to adjust where the growthbook code lives, but here is something that might help you get the idea for express + mixpanel: https://gist.github.com/Auz/5e34519a71464c36cd0da5f42a1243a1
h

handsome-answer-25651

11/17/2021, 10:21 AM
Wow, thanks a lot. I will dive into the docs and play around with the gist you've created!
16 Views