Expand my Community achievements bar.

SOLVED

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?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.