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

brief-football-97996

01/26/2023, 9:36 PM
Hey team, I’m relatively new to growthbook and have been pulled in as some technical help with a test we’re running. We have 3 domains that point to the same codebase, think of it as white labels, the only major difference is visual aesthetics. We’re running a few tests that are woking great, but one specifically we want to display something completely different based on the url. I have this force rule set up (see image). It doesn’t appear to be working correctly. I’ve tried multiple variations of that regex query, but none seem to work 100% of the time. 1. Am I using your regex correctly? 2. Is there a better way to go about it?
f

fresh-football-47124

01/26/2023, 9:39 PM
Hi Richard
can you share the part of your code where you’re passing in the attributes to the GrowthBook SDK?
b

brief-football-97996

01/26/2023, 9:39 PM
Hello hello, i was actually just going to dm you after you responded to https://growthbookusers.slack.com/archives/C01T6PKD9C3/p1669301073136679
sure thing one sec
f

few-memory-16563

01/27/2023, 5:22 PM
hi! We are currently working on setting up something very similar, wanting to have the ability to (1) target experiments and (2) segment results. For (1) was planning to use the Attribute feature do you have any best practices to share?
9 Views