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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Feature Request: Dynamic Experience Fragment!!

Avatar

Level 2

We need to load Experience fragment using Java script in a Experience Targeting Activity. Is it possible to load a experience fragment in dynamic Way. We don’t want to VEC editor for this purpose since there are few conditions involved which we want to verify before we load the experience fragment on the page.

1 Accepted Solution

Avatar

Correct answer by
Level 6

@NitinJain what are the "few conditions" that are involved? Perhaps theres a solution that can be recommended if we get this additional information.

View solution in original post

4 Replies

Avatar

Correct answer by
Level 6

@NitinJain what are the "few conditions" that are involved? Perhaps theres a solution that can be recommended if we get this additional information.

Avatar

Level 2
Sure, Let me give your real world example for my customer. So we want to load experience fragment only when user has finished filling one of the form, or has scrolled the page 50%.

Avatar

Level 6
Thanks for clarifying NitinJain. If you are using Adobe Launch or a Tag Manager, I would listen for one of those two events, from submitted or scrolled the page X amount. Then I would fire an adobe target global mbox call or a getOffer/applyOffer with a flag, maybe "eligibleForXF = true". The prerequisite would be that you created an activity with an experience where if the user has the "eligibleForXF = true", that experience should have the experience fragment you want to displayed. Hopefully this makes sense.

Avatar

Community Advisor

2 ways you can create activity

1) VEC

2) Form based.

 

Looks like you are looking for form based activity , where in experience fragment can be loading in a automatic way.

 

Note : In launch -> you can create a data element which has the custom js code that can be used in the audiences.