We wanted to use Growthbook to achieve an equivale...
# announcements
b
We wanted to use Growthbook to achieve an equivalent to what Google Optimize can do. It requires a little bit of wrangling, so I thought it might be helpful to share the full code we're using to do it Some of these bits are very specific to us of course, but should not require that much adjustment for other companies We've made a specific environment for Webflow, and a specific project just for redirects - to reduce the risk someone accidentally sets up the wrong kind of test. Also currently it's possible to apply to every page on your site, so might benefit from some extra filtering/rules
f
Hi James. thanks for this. were you successful?
b
Yep it works 🙂 It is currently quite basic and easy to mess up though
Definitely would be really positive if it could all be done through the one snippet
Also I would say it's a bit weird that visual editor experiments are so separate from the actual features - it'd be good for it to all match up more closely. Took me quite a while to understand it at all, and is a bit hard to explain to the webflow + growth team
f
yes, there are a lot of improvements we can make there
b
I will prob adapt it at some point, to reject obviously invalid URLs, possibly allow more advanced behaviour (e.g. maintain url params, regex replacing, etc)
But yeah definitely keen to use an integrated version of this, if it comes along at some stage