Set Data Value Extension Question

Bronze Contributor
Bronze Contributor

I have a requirement in my project for a tag to fire as per below condition but the Set Data Value Extension doesnt have an option to add an OR condition within the AND condition. So is there any other option like a different extension type that will provide me the below piece of code.


I do not want to use the Javascript Code extension.

 

if (b['page_id'] == 'XYZ' && (b['product_code'] == 'ABC' || b['product_code'] == 'LMN')) {
Set some data
}

2 REPLIES 2

Set Data Value Extension Question

Tealium Employee

@tpadwal

 

You should be able to do this through a Set Data Values extension. Here is an example:

 

SetDataValuesExample.png

 

Then add as many Data Sources you need to be set. 

Set Data Value Extension Question

Bronze Contributor
Bronze Contributor

Thanks @david_bird

 

This will help lot. Just quick Question. Is that possible to add  plus button inside the Condition box to add OR condition.

 

for example, in this case after product_code ABC canwe add plus sign to add OR condition. I know it looks quite complicated but just checking is there any possibilty like that?

 

 

Public