Based on best practices, how should the language be populated in a data element?

Posted by: Pdfprep Category: AD0-E201 Tags: , ,

Given the following example data layer:

var digtalData = {

pageInfo: {

pageName: ‘National Econoey Page’,

siteSecetion: ‘Nation’

},

userInfo:{

language: ’en-UK’

}

}

Based on best practices, how should the language be populated in a data element?
A . data element type: custom code custom code: return digitalDate, userInfo, language;
B . data element type custom code custom code; if {digitalData,pageInfo,language} {return digitalData,pageInfo,language;}
C . data element type: javaScript variable javaScript variable name:digitalDate.pageinfo.language
D . date element type: javaScript variable javaScript variable name: digitalData. userinfo.language

Answer: D

Leave a Reply

Your email address will not be published.