Create a rule to define the conditions under which a plugin or tracking action is triggered.
Prerequisites
Access to Tag Integration
The condition you want to evaluate, such as a URL, parameter, or event
Procedure
Navigate to Tag Integration.
Open Rules.
Click Create rule.
Enter a Name for the rule.
Select the Type of condition:
Parameter – Evaluates a configured parameter value.
URL – Evaluates the page URL.
Event – Evaluates a user interaction or custom event.
Select an Operator.
Enter the Condition value.
(Optional) Click Add to add another condition.
Click Create.
Condition Guidelines
Use Parameter rules when tracking depends on a configured parameter value.
Use URL rules when tracking should run only on specific pages or URL patterns.
Use Event rules when tracking should react to user actions such as clicks, form submissions, mouseover events, or custom events.
Available operators include:
equals / does not equal
contains / does not contain
starts with
URL conditions can also be based on patterns, including regular expressions.
If needed, combine multiple conditions to narrow when the rule is triggered.
Result
The rule is created and appears in the Rules Overview. You can then assign it to plugins or tracking actions.
Best Practices
Use clear rule names that describe the condition.
Keep conditions as specific as possible.
Test rules before using them in production.