Send parameters to target from launch to create custom experience | Community
Skip to main content
Level 2
February 8, 2022
Solved

Send parameters to target from launch to create custom experience

  • February 8, 2022
  • 2 replies
  • 3354 views

I have created a rule in launch as in the image below. I get, from html attribute, information to populate parameter values, these attributes are available after 6 sec since window loaded.
In target I have created an experience where audiences are based on paremeters value sent with this rule, but the experience is not triggered. what am I doing wrong? which is the difference between prefetch.views[0].parameters and notifications[0].parameters? can I use notifications[0].parameters to create audiences to show specific experiences? is there another way to send parameters to target after tot seconds?

 

thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gokul_Agiwal

Hi @aronoeles 

you have used TriggerView action that means this experience implemented for Single Page Application right? 

I'm not seeing a load target action, does that cover in separate rule? also is this experience loaded after initial page load? 

 

Ideally, when your site loads, all of your views and actions are cached so that subsequent user actions on your site won’t trigger server calls to retrieve offers. If you want to retrieve views depending on the most up-to-date profile data that might have been updated depending on subsequent user actions, you can call getOffers() and applyOffers() with the latest audience user or profile data passed.

2 replies

Gokul_Agiwal
Community Advisor
Gokul_AgiwalCommunity AdvisorAccepted solution
Community Advisor
February 8, 2022

Hi @aronoeles 

you have used TriggerView action that means this experience implemented for Single Page Application right? 

I'm not seeing a load target action, does that cover in separate rule? also is this experience loaded after initial page load? 

 

Ideally, when your site loads, all of your views and actions are cached so that subsequent user actions on your site won’t trigger server calls to retrieve offers. If you want to retrieve views depending on the most up-to-date profile data that might have been updated depending on subsequent user actions, you can call getOffers() and applyOffers() with the latest audience user or profile data passed.

AronoeleSAuthor
Level 2
February 9, 2022

Hi gokula, thank you for your answer.

Yes, load target action is in a separate rule and it's triggered on Core - Library Loaded (Page Top).

No, it is not a SPA, but I haven't to trigger a new page load request, it is the same page, but the informations needed to cluster the users to show the right experience are loaded after 6 sec. Maybe I'm using the tools not in a properly way. The aim is to show a popup if the user has value = 'productInCart', but I can retrive this information only from html and after a success js call that said if user has or not products in the cart. I can mange this just usign Adobe Targer? When Target needs to be integrated with Launch?

note: I haven't access to the server files, so I can't change js or html.

kchaitanya
Level 3
February 9, 2022

@aronoeles , 

 

You could try using a different event type for firing the Target call when the value you are looking for is present in HTML. Capture the value in a Data Element and try setting up the event condition for Data Element Change (something like the screenshot below). If that doesn't work, you might have to use a custom code condition to poll for the value change and then trigger the Target call.

Ultimately you will have to make a Target call (from Launch) that would contain the profile paramter value which you will use in Target audiences to qualify for the acitivity.

 

Umamaheswari_Yakkala
Community Advisor
Community Advisor
February 14, 2022

I am facing problem to create audiences in Target using notification results. 

 

 Can you help me how to do that? screenshot or steps to create notification audiences help me to procede.

 

Thank You

 

AronoeleSAuthor
Level 2
February 15, 2022

I found notification parameters under audience --> custom audience

 

https://experienceleague.adobe.com/docs/target/using/audiences/create-audiences/categories-audiences/custom-parameters.html?lang=en 

 

but it doesn't work for me to trigger experiences, so I'm not sure if it is correct.

Umamaheswari_Yakkala
Community Advisor
Community Advisor
February 15, 2022

Ok we are also doing same way but some bug in the system these profile attrubutes are not appearing in Target as expected. Somtimes its taking 2 hours to apear in profiles sometimes 4 hours and more than 4 hours. Because of this we are not able to utilize these parameters for our use case. Thats just wondering is there any other way to send this data using Launch rule. we have opened a case with Adobe.

 

Thank you