Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Audience rule based on mbox name

Ogun_Adsay
Level 1
Level 1

Hi everyone,

I'm trying to fit users into audiences using unique mbox names. After page has loaded I'm using mboxCreate function to send parameters to a unique mbox name. I'm expecting that this parameters will be used in audience rule. But I couldn't managed to make it work.

Here is my auidence rule and mboxCreate function.

1834316_pastedImage_0.png

mboxCreate("ogunDenemeMbox1","minutesSinceFirstVisit=5")

And the order of requests is:1834317_pastedImage_1.png

Second request doesn't return any data expect sessionId.

1 Reply
Ogun_Adsay
Level 1
Level 1

Ok, I just figured out there is a very easy solution for this situation. I'm calling `target-global-mbox` everytime, and passing mboxName paramater. On audience rule dialog, I'm checking mboxName parameter as root condition.