BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
SEO

Change detection: How to watch web pages for edits

Change detection compares a page with an earlier copy and flags what changed. SEOs use it to catch broken tags on their own site and competitors' edits.

Monthly searches · change detection
2.4k
Keyword research data
change detection
Change detection: How to watch web pages for edits
Click the image to view it full size

Change detection means fetching a web page again and again, comparing each new copy with the one you saved before, and flagging the differences. A tool that does this for you is usually called a page monitor or website change tracker. It turns "I should check that page now and then" into an alert when something actually changes.

The term has other meanings too. In statistics, change detection (or change-point detection) finds the moment a data series starts behaving differently, such as a sudden drop in daily traffic. In satellite imaging, it compares photos of the same place over time. This article is about the web sense.

What SEOs watch, and why

Most of the value comes from two kinds of pages.

Your own pages. A release or a CMS edit can quietly break things that matter for search. Watch the elements that control indexing and how your page appears in results:

A noindex left over from a staging site can drop a page from search. A monitor turns that into an alert you can act on the same day, not a traffic drop you notice weeks later.

Competitors' pages. Watching a competitor's pricing page, a ranking article or their category pages tells you when they rewrite content, change prices or add sections. When their rankings move, you can check what they changed first.

How a page monitor works

Every monitor runs the same loop:

  1. Fetch the page. A plain HTTP request is fast and cheap. Pages that build their content with JavaScript need a real browser to render them first, or the monitor sees an empty shell.
  2. Extract the part you care about, such as the price, the H1, the main text or a specific tag. Use a CSS selector or XPath to pick it out.
  3. Normalize the text: trim whitespace, drop things that change on every load.
  4. Compare with the saved copy. A hash tells you whether anything changed. A diff shows exactly which words or lines changed.
  5. Alert you (by email, chat or a webhook) and save the new copy as the next baseline.

Keep false alarms out

Whole-page comparisons fire constantly, because pages change on every load even when nothing important happened. Typical noise:

  • dates, clocks and "updated 3 minutes ago" labels
  • rotating ads, recommendations and "related posts"
  • session IDs, tracking parameters and security tokens in the HTML
  • stock counters and view counts

The fix is to compare less. Watch the extracted element, not the whole HTML. Ignore known noisy parts with selectors or patterns. For numbers, set a threshold, such as alerting only when a price changes by more than 5%.

How often to check, and how to check politely

Match the interval to how often the page changes and how fast you need to know. Your own robots.txt and key templates deserve hourly checks. A competitor's blog post can wait a day.

Fetch politely. Respect the site's robots.txt, keep the rate low, and use conditional requests where the server supports them. When you send back the ETag you got last time in an If-None-Match header, an unchanged page answers 304 Not Modified with no body, so both sides save bandwidth. MDN

Help search engines detect your changes

Search engines do change detection on your site every time they crawl it. You can help them spend that effort on pages that actually changed:

  • Sitemap lastmod. Google uses it only if it is consistently accurate, so update it on significant changes to the page, not on every deploy. Google ignores changefreq and priority. Google Search Central
  • ETag and Last-Modified headers. Google's crawlers support HTTP caching. Google prefers ETag and suggests setting both headers.
  • IndexNow. Bing, Yandex, Seznam.cz, Naver, Amazon and Yep accept a ping with the URLs you added, updated or deleted, and share it with each other. Google isn't among the participating engines, so a ping doesn't reach it.
  • URL Inspection in Google Search Console. For an important page, you can ask Google to recrawl it. There's a daily limit, and a request doesn't guarantee indexing.
Seonio

Put it to work on your own site

Keyword research, traffic, backlinks and clustering in one place. Start with a free $1 to test, no card required.