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

busy-horse-73824

05/23/2022, 1:28 PM
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

fresh-football-47124

05/23/2022, 3:46 PM
Hi James. thanks for this. were you successful?
b

busy-horse-73824

05/23/2022, 3:47 PM
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

fresh-football-47124

05/23/2022, 3:48 PM
yes, there are a lot of improvements we can make there
b

busy-horse-73824

05/23/2022, 3:49 PM
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
52 Views