GEO Drift Command: Detect Regressions Between Audits
Detect drift between the last two saved audits of a URL. Use it to catch a regression, such as a robots.txt change that blocks AI crawlers, before it costs you visibility.
geo audit --url https://example.com --save-historygeo audit --url https://example.com --save-historygeo drift --url https://example.comgeo drift --url https://example.com --fail-on warningThe command needs at least two saved audits for the URL. Create them with geo audit --url URL --save-history. With fewer than two it prints how many it found and exits with code 1.
Options
Section titled “Options”| Option | Default | Description |
|---|---|---|
--url |
required | URL whose saved history is compared |
--format |
text | Output format: text or json |
--fail-on |
none | Exit with a non-zero code when the drift severity reaches info, warning or critical. For CI |
Severity
Section titled “Severity”The command compares the two most recent audits and assigns one level, checked in this order:
| Severity | When |
|---|---|
critical |
The total score fell by 15 points or more, or the robots category went from above zero to zero (AI crawlers may now be blocked) |
warning |
The total score fell by 5 to 14 points, or the schema category fell by more than 3 points |
info |
Some category changed, or the total score fell by less than 5 points |
none |
No meaningful change |
The report also lists the change in each category, so you can see where the points went.
Exit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 0 | Done, and the severity is below --fail-on (or --fail-on is not set) |
| 1 | Fewer than two saved audits for the URL |
| 2 | The severity reached the --fail-on level |
geo audit --url https://example.com --save-historygeo drift --url https://example.com --fail-on warningSaved audits live in a local history database, so run both commands where that history persists between runs.
Related
Section titled “Related”- geo history lists the saved audits
- geo diff compares two pages or sites before and after a change
- geo track follows the score over time