コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

accessing parameters sent with mboxUpdate in an offer

Avatar

Level 1

I have an mboxDefine()

and after a certain condition check call the mboxUpdate and also send some parameters. The resulting network call shows these parameters in the console. These are also shown in the parameters list of the associated location.

But When I do an mboxCurrent.getParameters() in the accociated offer, only the default ones (browser height, screen width etc) are available. 

I tried a bunch of things but so far have not been able to access these custom parameters in offer itself. Any pointers will be helpful. Thanks.

1 受け入れられたソリューション

Avatar

正解者
Level 10

Hi Bani,

Thank you for reaching out to Adobe Community.

Parameters can be added and associated with an mbox.

  1. Follow the instructions for a inserting a basic mbox.
  2. After the mbox title, enter the parameters and values you wish to add to the mbox.

    Parameters and values are case sensitive. Match the case of the parameters and values you will receive during the campaign or test.

    Parameters use the structure shown below:

    1. <script type="text/javascript">
    2. mboxCreate('myMbox',"parameter1=value1",​"parameter2=value2","parameter3=value3");
    3. </script>

    For example:

    1. <script type="text/javascript">
    2. mboxCreate('myMbox',"state=AL",​​"categoryId=toys, books, accessories");
    3. </script>

    Hope this helps!

     

     

     

元の投稿で解決策を見る

1 返信

Avatar

正解者
Level 10

Hi Bani,

Thank you for reaching out to Adobe Community.

Parameters can be added and associated with an mbox.

  1. Follow the instructions for a inserting a basic mbox.
  2. After the mbox title, enter the parameters and values you wish to add to the mbox.

    Parameters and values are case sensitive. Match the case of the parameters and values you will receive during the campaign or test.

    Parameters use the structure shown below:

    1. <script type="text/javascript">
    2. mboxCreate('myMbox',"parameter1=value1",​"parameter2=value2","parameter3=value3");
    3. </script>

    For example:

    1. <script type="text/javascript">
    2. mboxCreate('myMbox',"state=AL",​​"categoryId=toys, books, accessories");
    3. </script>

    Hope this helps!