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
BedrockMission!

Learn More

View all

Sign in to view all badges

AT.js - How can I get parameter value on mbox

Avatar

Avatar
Validate 1
Level 1
nfujik
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
nfujik
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
nfujik
Level 1

22-02-2017

We use AT.js and trying to retrieve the value of certain parameter stored in global mbox via concurrent campaign.

It seems mbox.js has a method for that, but this page says it does not apply AT.js.

https://marketing.adobe.com/resources/help/en_US/target/target/r_variables_profiles_parameters_metho...

 

Is there any method or workaround with AT.js to do this?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

90 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

90 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

23-02-2017

Hi ,

If you are using profile scripts to retrieve the value of certain parameter stored in global mbox via concurrent campaign then the syntax to retrieve the value would be : mbox.param('paramName')   however if you are retrieving the value of parameter inside an offer then you have to use the syntax : ${mbox.param('paramName')}

Thanks & Regards

Parit Mittal

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 1
nfujik
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
nfujik
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
nfujik
Level 1

27-02-2017

Thank you for reply.

Profile script way worked. With AT.js, simply calling ${profile.paramName} got me its value.

 

Both campaign is on same page. But it is very helpful info that it won't work in different page.

 

Thanks!

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

197 likes

Total Posts

219 posts

Correct Reply

86 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

197 likes

Total Posts

219 posts

Correct Reply

86 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

27-02-2017

Hi nfujik,

If I'm understanding you correctly you are passing a parameter into the Target global mbox request somewhere (page A). And then somewhere else (page B) you'd like to read the value of the parameter for the visitor. If this is correct the method you referring to for mbox.js does NOT handle that. It only returns the parameters sent on the same page.