Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Data Elements - Javascript Variable Name

mattb89502451
Level 1
Level 1

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!

1 Accepted Solution
jantzen_belliston-Adobe
Correct answer by
Community Manager
Community Manager

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

 

View solution in original post

5 Replies
Jay-Evolytics
Level 2
Level 2

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
Level 1
Level 1
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
Level 2
Level 2

... (double post; you're killing me forum)

Jay-Evolytics
Level 2
Level 2
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
Correct answer by
Community Manager
Community Manager

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

 

View solution in original post