Highlighted

Encapsulate Rule "AND"

Rookie Contributor

Hey all

This is an example load rule 

where order total, I'm calling "Rule C"

iq q1.PNG

Can I set up this:

C AND (A OR B) rather than ((A AND C) OR (B AND C))

I can see that I can add the "Add OR Condition" but not the AND condition on that level

Thanks

Luis

1 REPLY 1
Highlighted

Encapsulate Rule "AND"

Tealium Expert
Tealium Expert

Hi @Luis 

Yes, you can. 

To do this create a rule for condition 'C'

Then create the Rule for conditions  A or B

Then add both rules to the tag. The tag will only load if both rule conditions are met giving you the expected result. 

2020-09-16_09-42-03.png

Research your Experience | Improve and Evolve | Leave no one behind
- Don't forget to mark a solution as accepted if it hits the mark -