accessing parameters sent with mboxUpdate in an offer | Adobe Higher Education
Skip to main content
bani_k
October 16, 2015
解決済み

accessing parameters sent with mboxUpdate in an offer

  • October 16, 2015
  • 1 の返信
  • 1662 ビュー

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.

このトピックへの返信は締め切られました。
ベストアンサー WhoaShekhar

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 の返信

WhoaShekhar
Level 10
October 16, 2015

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!