How to read Target response tokens and push into ttMETA object with Adobe Experience Platform Web SDK? | Community
Skip to main content
Level 2
December 14, 2022
Solved

How to read Target response tokens and push into ttMETA object with Adobe Experience Platform Web SDK?

  • December 14, 2022
  • 1 reply
  • 3900 views

We want to reproduce this same configuration below using Target Response Tokens but in Adobe Experience Platform Web SDK, there is zero documentation on this.

 

 

 

The only thing I found but that doesnt explain at all what to do is this:

From here: https://experienceleague.adobe.com/docs/target/using/administer/response-tokens.html?lang=en

 

 

It says "Use the Handle object class, which has a meta data object and a data object to listen for Target responses and read the response tokens." but it doesnt say what or where this is. 

What code do we use and where in Adobe Launch do we set it?

It was so much easier before with at.js but cant find the same thing for AEP.

 

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 ugobey

I found the solution and it was really simple

Just need to create a rule like this 

Then add the code with event.propositions and done

 

 

1 reply

Gokul_Agiwal
Community Advisor
Community Advisor
December 14, 2022

Hello @ugobey 

Have you seen below link in documentation 

https://experienceleague.adobe.com/docs/experience-platform/edge/personalization/adobe-target/accessing-response-tokens.html?lang=en 

You can retrieve the activity name from the meta property, which is an object containing response tokens. 

Hope this helps.

ugobeyAuthor
Level 2
December 14, 2022

Thanks for the reply but I dont understand why we would need to make a network request from the client side browser in order to get this, surely there is another way to get this without needing to make another network request?

I developed an integration years ago between our product Contentsquare and your product Adobe Target. 

I am not 100% familiar with how AEP works but where exactly would we have access to this part of the code in the Adobe Experience Platform Web SDK extension in Adobe Launch? 

Also is a sendEvent command sent on every pageview by default anyway? We need to get these values on every pageview but without having to ask our clients to send a new network request using alloy.