Expand my Community achievements bar.

Applications for the 2024 Adobe Target Community Mentorship Program are open! Click to the right to learn more about participating as either an Aspirant, to professionally level up with a new Certification, or as a Mentor, to share your Adobe Target expertise and inspire through your leadership! Submit your application today.
SOLVED

Custom Mbox Behaviour

Avatar

Community Advisor

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

1 Accepted Solution

Avatar

Correct answer by
Level 6

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!

View solution in original post

4 Replies

Avatar

Employee

Hi @ambikaTewari_ATCI

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.

Avatar

Employee Advisor

@ambikaTewari_ATCI 

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

Avatar

Correct answer by
Level 6

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!

Avatar

Level 2

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