upsonar.io

Keyword Monitoring

Monitor your web pages for specific keywords and phrases. Get alerted when content changes unexpectedly — even when the HTTP status code says everything is fine.

Keyword monitoring is available on Pulse and Wave plans. The free Echo plan includes uptime and dependency monitoring.

How to Set Up Keyword Monitoring

1

Open your monitor settings

Go to your website dashboard and click the Edit button (pencil icon) on the availability monitor card.
2

Scroll to Keyword Rules

In the edit panel, scroll down to the Keyword Rules section.
3

Add a keyword rule

Type the keyword or phrase you want to monitor. Choose the mode:
  • Must contain — alert if the keyword disappears from the page
  • Must not contain — alert if the keyword appears on the page
Click Add to save the rule.
4

Save your monitor

Click Save changes. Keyword checks start on the next scheduled check.

Must Contain vs Must Not Contain

Choose the right mode based on what you want to detect:

Must contain

Use when you expect specific content to always be present. Example: your checkout page must contain "Pay now". If it disappears, something is broken.

Must not contain

Use when certain content should never appear. Example: your homepage should never show "Something went wrong" or "500 Internal Server Error".

How Detection Works

Keyword monitoring uses the same reliability mechanisms as uptime monitoring:

  • Case-insensitive — "Sign In", "sign in", and "SIGN IN" all match
  • Full HTML body — checks the entire page source, not just visible text
  • Multi-region majority rule — a violation must be confirmed by more than 50% of your monitoring regions
  • Two-check confirmation — the first violation is marked as "pending". Only if it persists on the next check is an incident created
Keywords are checked on the same HTML body that's already downloaded for dependency parsing. This means keyword monitoring adds zero additional HTTP requests — no impact on your check performance.

Common Use Cases

Detect error pages returning 200

Many frameworks return HTTP 200 with an error message in the body. Add a "must contain" rule for expected content like your brand name or a key heading.

Monitor for defacement

Add a "must contain" rule for your brand name or logo text. If someone defaces your site, you'll know immediately.

Track product availability

Add a "must not contain" rule for "out of stock" or "currently unavailable". Get alerted when inventory issues affect your product pages.

Verify after deployments

Add rules for critical UI elements: "Sign in", "Add to cart", "Subscribe". Catch broken deployments that remove key functionality.

Incidents and Alerts

When a keyword rule is violated (confirmed by two consecutive checks), upsonar creates a keyword_mismatch incident. The incident includes:

  • Which keyword rule was violated
  • Whether the keyword was expected but missing, or unexpected but found
  • Which monitoring regions detected the violation
  • Full incident timeline

Alerts are sent through your configured notification channels (email, Telegram, webhooks) — the same as uptime and dependency alerts.