{
  "$schema": "https://pinlyx.com/resources/schema/visitor-alerts.json",
  "version": 1,
  "description": "Five visitor alert rules. Configure under Visitors > Settings > Alerts. Keep the cooldown: an alert that fires twice for the same person is an alert people start ignoring.",
  "defaultCooldownHours": 6,
  "rules": [
    {
      "id": "saas-pricing-watcher",
      "name": "SaaS pricing watcher",
      "condition": {
        "path": "/pricing",
        "secondsOnPage": 30
      },
      "channels": [
        "telegram",
        "email"
      ],
      "priority": "high",
      "why": "Thirty seconds on pricing is a buying signal, not browsing."
    },
    {
      "id": "ecom-cart-alert",
      "name": "Ecommerce cart alert",
      "condition": {
        "path": "/cart",
        "secondsOnPage": 45,
        "returningVisitor": true
      },
      "channels": [
        "telegram"
      ],
      "priority": "high",
      "why": "A returning visitor sitting on the cart is a recoverable sale."
    },
    {
      "id": "paid-arrival",
      "name": "Paid ad arrival",
      "condition": {
        "hasAny": [
          "gclid",
          "fbclid",
          "msclkid"
        ]
      },
      "channels": [
        "telegram"
      ],
      "priority": "medium",
      "cooldownHours": 12,
      "why": "You paid for this click. Know about it while they are still on the page."
    },
    {
      "id": "dwell",
      "name": "Deep engagement",
      "condition": {
        "totalSecondsOnSite": 180,
        "pagesViewed": 4
      },
      "channels": [
        "email"
      ],
      "priority": "medium",
      "why": "Three minutes and four pages is a researcher, not a bounce."
    },
    {
      "id": "high-intent-path",
      "name": "High-intent page",
      "condition": {
        "pathIn": [
          "/security",
          "/enterprise",
          "/contact",
          "/demo"
        ]
      },
      "channels": [
        "telegram",
        "email"
      ],
      "priority": "high",
      "why": "Nobody reads the enterprise page by accident."
    }
  ],
  "noiseControl": {
    "quietHours": "22:00-08:00",
    "maxAlertsPerHour": 10,
    "suppressKnownBots": true,
    "suppressOwnTeamIps": true,
    "note": "Start with two rules, not five. The fastest way to make visitor alerts useless is to turn all of them on in week one."
  }
}
