--- title: "Create Rule" slug: "create-rule-tag-integration" updated: 2026-04-14T13:56:43Z published: 2026-04-14T13:56:43Z canonical: "docs.mapp.com/create-rule-tag-integration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Create Rule 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 1. Navigate to **Tag Integration**. 2. Open **Rules**. 3. Click **Create rule**. 4. Enter a **Name** for the rule. 5. Select the **Type** of condition: - **Parameter** – Evaluates a configured parameter value. - **URL** – Evaluates the page URL. - **Event** – Evaluates a user interaction or custom event. 6. Select an **Operator**. 7. Enter the **Condition** value. 8. (Optional) Click **Add** to add another condition. 9. 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.