Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!

To create a nonce as a data element in core extension in launch

Avatar

Employee

What we are trying to accomplish is to use Adobe Target on this site/page: https://www.marriottvacationclubs.com/s/special-offers
It is built as a single page application in Salesforce
I know that we need to utilize Adobe Target v2. It seems we have an issue with the CSP

 

What we would like help with is how to create a nonce as a data element to be used in the Core Extension
Do we need additional development support to create a nonce that Adobe Target can read?

1 Reply

Avatar

Level 4

Hi @VidhyaAk1 

 

I believe you'll need to have developers to generate the nonce server-side and from there embed it in the HTML in a way so that it can be accessed by JavaScript, so that you can pick it up in an data element. e.g. 

<meta name="csp-nonce" content="<generated-nonce>">

 

Then from the data element you can pass it in as an mbox parameter.