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

As we're quickly taking off into 2023, our Adobe Target Product teams want to hear your top interest areas for learning opportunities and value realization with Adobe Target ~ to fill out the survey with your suggestions, experience, and feedback, follow the link to the right.

Recommendation design with mbox parameter


Community Advisor

we are trying to setup a new design for recommendations. everything works fine appart from language split.


goal: display different attributes based on page language


setup: in the target call we added a new parameter "language" that can be used in the design


problem: everything works fine and the mbox parameter gets populated correctly. however, we are not able to create any if-then-else clause based on this mbox parameter. whatever we tried, it failed.


what it might look like is something like this:


#if( \${mbox.language} == "en" )

  ## layout for en here


  ## other layout here




question: anybody has a working example of an "if-then-else" using a mbox parameter?


thanks for any help!

2 Replies


Level 3

Don't have an exact answer to the right code to use in design, but can't you use your language mbox parameter as filtering condition in audience and qualify different users based on the language to different design experiences (you will have to setup Recommendations as an offer in XT activity). 


Community Advisor

Hi @kchaitanya thanks for the reply.

the idea for audiences is what we use currently (but means we have to maintain a lot of designs just with a small change). And this only works if the difference in the design is solely based on the mbox parameter.

but think of a design where you want to add something based on mbox parameter AND product attribute. as an example, display a batch (sign) for a special offer if the user has a certain membership status AND the product is allowed to be a special offer... this would mean we need a way to do the if-statement in the design.

I still hope somebody has an example ...