Data Elements - Javascript Variable Name

mattb89502451

29-04-2020

Greetings fellow Launchers. Seeking guidance around the following.

 

I've got a property that includes periods. For some reason, when inserting the following into the Javascript Variable Name, Adobe isn't picking it up: dataLayer.adobeLaunch["test.workflow.name"]. However, when creating a data element and leveraging some simple code to capture this property and apply to a new variable, I'm able to build a comparison rule (condition) that recognizes that value being passed in dataLayer.adobeLaunch["test.workflow.name"]. Do I need to use a different notation or does Launch simply not recognize this sort of syntax? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

jantzen_belliston-Adobe

Community Manager

16-09-2020

Answer given in the comments of the original post:

 

 

 

 Jay-Evolytics 

Hey mattb, a little later here, but my bet is that Launch just doesn't accept this valid notation through it's GUI.

 

Out of curiosity though, is your Data Layer coming from the "Blend" mortgage application? That syntax is identical to what they use ...

 mattb89502451 
Thanks Jay. You got it - dataLayer stemming from the Blend mortgage app. For now, we're just going the custom code route. Seems silly that we can't use the notation referenced. Oh well
Jay-Evolytics 
Small world with Blend; I'm working with their Data Layer now as well 

 

 ... I agree with you on it being silly that the GUI can't handle it; that said, it must be super hard to cover all the bases, so I'll cut Adobe some slack for once jantzen_belliston-Adobe_5-1600280157958.png

 

Answers (0)