Custom Mbox Behaviour

Avatar

Avatar
Give Back 5
Level 4
LordOfTheRings
Level 4

Likes

66 likes

Total Posts

128 posts

Correct reply

23 solutions
Top badges earned
Give Back 5
Validate 10
Validate 1
Contributor
Shape 1
View profile

Avatar
Give Back 5
Level 4
LordOfTheRings
Level 4

Likes

66 likes

Total Posts

128 posts

Correct reply

23 solutions
Top badges earned
Give Back 5
Validate 10
Validate 1
Contributor
Shape 1
View profile
LordOfTheRings
Level 4

31-12-2020

Hi Team,

 

We are firing a custom mbox through adobe.getOffer through the page and this mbox fires post firing of global mbox call.

LordOfTheRings_0-1609408883728.png

 

The custom mbox has the profile parameter and we are using this parameter to target the audience in an activity on the same page(page where the custom mbox is firing).

In the first visit since the profile paramter is not available (custom mbox call fires post the global ) so visitor is not qualifying for the audience and hence default experience loads in first visit however for all subsequent visits on this page, visitor is qualifying.

Is there any ways we can target visitors in the first visit itself?

 

Regards,

Ambika

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 1
Level 4
josejr19
Level 4

Likes

63 likes

Total Posts

117 posts

Correct reply

19 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Ignite 1
Level 4
josejr19
Level 4

Likes

63 likes

Total Posts

117 posts

Correct reply

19 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
josejr19
Level 4

14-01-2021

Additionally you can look at "dataproviders" example from Adobe. It would mean you trigger your target global mbox after first calling your internal or external service for user profile parameters. 

 

I have also done user experiences where you display loading spinners in the area where we are waiting for content to be delivered, this should be displayed until we hear back from Target with an experience using the out of the box hooks that are available. If it is succesfull in injecting the offer then remove spinner for the css selector, if it fails, then show the default offer.

 

Hope this helps!

Answers (3)

Answers (3)

Avatar

Avatar
Give Back 3
Level 2
richardlee
Level 2

Likes

10 likes

Total Posts

16 posts

Correct reply

1 solution
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile

Avatar
Give Back 3
Level 2
richardlee
Level 2

Likes

10 likes

Total Posts

16 posts

Correct reply

1 solution
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile
richardlee
Level 2

15-06-2021

Maybe I'm missing something, why cant you set your activity to use the custom mBox which has the param value?



Avatar

Avatar
Affirm 100
MVP
shelly-goel
MVP

Likes

246 likes

Total Posts

410 posts

Correct reply

105 solutions
Top badges earned
Affirm 100
Give Back 25
Ignite 3
Give Back 10
Validate 1
View profile

Avatar
Affirm 100
MVP
shelly-goel
MVP

Likes

246 likes

Total Posts

410 posts

Correct reply

105 solutions
Top badges earned
Affirm 100
Give Back 25
Ignite 3
Give Back 10
Validate 1
View profile
shelly-goel
MVP

05-01-2021

@LordOfTheRings 

You can conditionally delay firing global mbox until the specific profile parameter is set.

Avatar

Avatar
Affirm 5
Level 2
ryanr7
Level 2

Likes

8 likes

Total Posts

13 posts

Correct reply

6 solutions
Top badges earned
Affirm 5
Affirm 3
Boost 5
Boost 3
Boost 1
View profile

Avatar
Affirm 5
Level 2
ryanr7
Level 2

Likes

8 likes

Total Posts

13 posts

Correct reply

6 solutions
Top badges earned
Affirm 5
Affirm 3
Boost 5
Boost 3
Boost 1
View profile
ryanr7
Level 2

05-01-2021

Hi @LordOfTheRings

The best solution would be to pass the profile data in the initial global mbox request. However, I'm guessing you have some constraints that prevent you from doing that in this case. If that's true you could possibly recall the global mbox in your getOffer (instead of the custom mbox name) with the profile. I'd suggest you only conditionally call the global mbox a second time when you know its a new visitor. There is probably a better option but that's one you could try.