Posted by: Pdfprep
Post Date: January 18, 2021
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