javascript - Adobe Analytics DTM custom script prop not setting -


i trying show last time made published change , current library version

i created data element global - example: return "dtm:" + _satellite.publishdate.split(" ")[0] + "|" + "adobe:" + s.version;

then set prop %global - example%.

it doesn't work. tried debug in console. when console.log("dtm:" + _satellite.publishdate.split(" ")[0] + "|" + "adobe:" + s.version); works in console , the last publish date , current version of library. however, won't work reason in dtm.

using data element in case have impact on timing.

if add code adobe analytics custom code section of rule or aa global code should able set prop fine.

s.prop1 = _satellite.publishdate.split(" ")[0] + "|" + "adobe:" + s.version); 

hope helps.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -