Skip to main content
Documentation

About page change detection

What page change detection is

Page change detection is an option on an uptime check, named Watch for unexpected page changes. It is on by default. It looks for something new on your page that you did not put there, such as a script from a host the page has never loaded before. An unexpected script, frame or form on a page is a common sign that a site has been tampered with, or that a third-party tag has changed.

Alopex does not compare the whole page or its wording. It reads the page's HTML and keeps a list of the other hosts the page refers to. A change is a host that is new to that list.

What it looks at

Alopex reads the HTML of the page the uptime check fetches and lists every host that is not your own. Your own hosts are the one in the check's URL, the one it ends up at after redirects, and anything under their registered domains. Each host is listed with where it was seen:

LabelWhere the host appears
Script fromA <script> tag with a src address
Inline script mentionsA web address written inside a script
Frame fromAn <iframe>
Form sends toThe action of a form
Redirects toA <meta> refresh redirect
Stylesheet fromA stylesheet link
Links toAn ordinary link

Alopex keeps at most 500 entries per page. An entry is a host together with the label it was seen under, so a host that appears as both a script and a link counts as two. If a page has more, the rest are dropped. Scripts come first in the table above and links last, so a new script is not lost behind a long list of links.

Learning, then reporting

For the first 7 days, Alopex only learns. It treats every host it sees as normal and reports nothing. The check shows Learning what this page normally loads, until followed by the date. Until the first successful run, it shows Starts learning on the next successful check.

After that, a host that appears for the first time is held back. Alopex reports it only if a second run sees it too, so one odd response does not raise a report. The alert email says Alopex saw the host on two separate checks.

A host that stops appearing is never reported.

Learning starts again in two cases:

  • You change the check's URL. A different address is a different page.
  • The check has had nothing observed for 30 days, for example because it was paused or switched off. Hosts not seen for 30 days are also forgotten.

What you are told

When a new host is reported, Alopex sends an alert to the people who receive alerts for the domain, and lists it for review. Each person's alert settings for the domain decide whether they receive it. The option is Page content changed, and when it is switched off for you, nothing is sent to you. Alert settings are explained in About alerts.

To review it, open the domain's Checks tab and find Page changes under the uptime check. The alert's link goes straight there. Each reported host is listed under its label, with when it was first seen.

If you expected the change, select Mark as expected. This clears the item from your review list. The host is already known, so it is not reported again. Only people who can edit the domain see the button.

You can only mark a host as expected after it has been reported. There is no way to approve a host in advance. Hosts the page loads during the first 7 days are accepted automatically, so a host you know about is best present from the start.

If you did not expect it, check your site for unauthorised changes, such as a plugin, a theme or a tag you did not add.

While Nothing unexpected on this page shows, there is nothing to review.

Limits

  • Page change detection runs on GET checks, on successful runs, for pages that come back as HTML. Other kinds of response are skipped.
  • Alopex reads the page's HTML as served. Scripts added later in the browser, for example by a tag manager, are not seen.
  • During a maintenance window, a new host is still listed, marked During maintenance, but no alert is sent.
  • If you turn the option off, a report that is already open stays listed, and the page shows Watching is off for this check.
  • It reports other hosts only. It does not tell you that your own pages or wording have changed.