https://www.growthbook.io/ logo
c

clever-hair-5481

04/25/2023, 4:47 PM
Hey, quick use case question: Is there a way to make it such that when I sign up for my website, the user is automatically entered into a specific cell based on their email address? Here’s what I tried: IF email is equal to investortest3@groover.co SERVE
Copy code
"select-from-dropdown"
Targeting conditions > I used the advanced mode and set it to: {“email”: “investortest3@groover.co” }
f

fresh-football-47124

04/25/2023, 6:55 PM
Hi Erica - can you explain a bit more what you’re trying to do?
c

clever-hair-5481

04/25/2023, 8:55 PM
It’s basically for an investor demo — we’d like to create an account from scratch on our platform and have the new user automatically be put in specific cells of certain tests
f

fresh-football-47124

04/25/2023, 8:55 PM
I see
that should probably work
is it not?
c

clever-hair-5481

04/25/2023, 8:56 PM
it’s not 😞
f

fresh-football-47124

04/25/2023, 8:57 PM
well your regex patterns could be a problem
but the equal one should catch it, no?
c

clever-hair-5481

04/25/2023, 8:58 PM
one of them isn’t a regex though, it’s simply {“email”: “investortest3@groover.co” } for the “email” field => how is “email” being defined/what’s it mapped to?
f

fresh-football-47124

04/25/2023, 8:58 PM
it is passed to the SDK
and when you implement the SDK, you set the attributes you target to
c

clever-hair-5481

04/25/2023, 8:59 PM
hm is there any way for me to check the attributes as a non-developer
f

fresh-football-47124

04/25/2023, 8:59 PM
we don’t pass that data back to the UI
is this javascript ?
if you have the devtools installed
they are listed there
c

clever-hair-5481

04/25/2023, 9:02 PM
is this where i should be looking?
f

fresh-football-47124

04/25/2023, 9:03 PM
down the bottom
c

clever-hair-5481

04/25/2023, 9:03 PM
i just have 2 attributes, deviceId and id
so I guess we don’t pass email then 😕 do you see any other way to do what we’re trying to then? maybe set the deviceId according to the browser+computer we’re using?
f

fresh-football-47124

04/25/2023, 9:05 PM
ya, would be hard to get that realtime
adding the email would be okay
c

clever-hair-5481

04/25/2023, 9:05 PM
I thought deviceId is unchangeable over time though?
f

fresh-football-47124

04/25/2023, 9:06 PM
oh, are you demoing the feature?
c

clever-hair-5481

04/25/2023, 9:06 PM
my manager is
f

fresh-football-47124

04/25/2023, 9:06 PM
if you know the device id, then that should work
c

clever-hair-5481

04/25/2023, 9:06 PM
great I’ll ask him, hopefully he’s the one running the demo
is there anything that’d invalidate it? ie clearing his cache or anything? just so we don’t lose the id
f

fresh-football-47124

04/25/2023, 9:07 PM
depends how youre getting that id - most likely deleting cookies would get you a new id
c

clever-hair-5481

04/25/2023, 9:11 PM
ok thanks 🙏
hopefully this works, really appreciate it!!
it’s not working for me 😞 does it take a certain amount of time to populate?
f

fresh-football-47124

04/25/2023, 9:17 PM
want to jump on a call quickly?
c
Here’s a video but I can definitely jump on a call!
3 Views