Skip to content

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.

Terminal window
geo audit --url https://example.com --save-history
geo audit --url https://example.com --save-history
geo drift --url https://example.com
geo drift --url https://example.com --fail-on warning

The 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.

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

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.

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
Terminal window
geo audit --url https://example.com --save-history
geo drift --url https://example.com --fail-on warning

Saved audits live in a local history database, so run both commands where that history persists between runs.