Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

DTM Rule Conditions

Avatar

Level 3

Whether you're creating a rule for page or event, what is the process you would go through (for someone that is not technical) to determine the correct condition?  Where would I look, what would I look for, and what would I do to verify that the condition works? 

-Robert

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi roberty10279373​,

For Page Load Rule condition, if you want a condition to fire the rule on a specific page or a set of pages, you can look for path of the page to match. You can also utilize your Data Layer to define conditions. Ultimately, it your requirement on which these conditions will be configured and you can refer to the available options under the below article:

https://marketing.adobe.com/resources/help/en_US/sc/implement/dtm/t_rules-page-conditions.html

For Event Based rules, the task is to uniquely identify the element on which the action is being done. Hence, CSS Selectors is the best option here. If that doesn't work for you, you can use attributes in the element to uniquely identify it. Apart from this, many options are available to deliver you with ease to configure the rule, which you can refer in the below article:

https://marketing.adobe.com/resources/help/en_US/sc/implement/dtm/t_rules-event-conditions.html

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi roberty10279373​,

For Page Load Rule condition, if you want a condition to fire the rule on a specific page or a set of pages, you can look for path of the page to match. You can also utilize your Data Layer to define conditions. Ultimately, it your requirement on which these conditions will be configured and you can refer to the available options under the below article:

https://marketing.adobe.com/resources/help/en_US/sc/implement/dtm/t_rules-page-conditions.html

For Event Based rules, the task is to uniquely identify the element on which the action is being done. Hence, CSS Selectors is the best option here. If that doesn't work for you, you can use attributes in the element to uniquely identify it. Apart from this, many options are available to deliver you with ease to configure the rule, which you can refer in the below article:

https://marketing.adobe.com/resources/help/en_US/sc/implement/dtm/t_rules-event-conditions.html