hey all, is it possible to write the variant codes...
# ask-questions
c
hey all, is it possible to write the variant codes in the GrowthBook site/interface then to deploy it to the website of the client where GrowthBook scripts are added? or its only feature flagging etc but code has to be in SDK where basically in the client's code base? (I just failed to find info about it on the GrowthBook website)
s
So, there are 3 ways to integrate GrowthBook with your app: • As you mentioned, you can use one of our SDKs, which would require additions to the codebase • We also offer a Visual Editor, which allows for no/low-code changes to a site for experiments • Redirects. You can set up experiments where you redirect to a different page without modifying the client's code.
c
@strong-mouse-55694 hey, so visual editor and redirects are limited options when it comes to ab testing. I understand that GrowthBook serves as an alternative to in house built ab testing infra. But won't be able to full fill the need of manipulating the code base from outside. Correct right? Even SDKs you mean that about implementing GrowthBook not using/running external code of each variations?
f
Do you want to make your AB tests in code or by injecting JS? GrowthBook supports either way
c
to write the code of each variants (mostly mutations) then add this code somehow via growthbook UI then run the ab tests without depending internal code base. I know thats not to perfect case but it works how visual editor works in a way but ofc performance issues, unable to re-use the code etc. but sometimes we offer our clients ab test development with this approach so that they cant get blocked by their it
@fresh-football-47124
f
That should work
Can you not make it work that way with GrowthBook?
c
you mean writing code on growthbook for variants without using visual editor? is it possible? @fresh-football-47124