check_keywords
Verify that target keywords appear in rendered HTML, enforcing minimum hit counts for high-volume terms and at least one occurrence for all other terms.
Instructions
Verify that target keywords actually appear in a rendered page. Every term tied at the highest search volume must appear at least primary_min_hits times; every other term at least once. Matching is literal and case-insensitive: whitespace is never normalised, because 'web hosting' and 'webhosting' are different terms with different search volumes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Rendered HTML of the page. | |
| scope | No | Element to look inside, as [tag, class], e.g. ["article","post"]. Omit to read the whole document. | |
| keywords | Yes | Map of keyword to monthly search volume, taken from real tool data. | |
| exclude_classes | No | Classes whose subtree is ignored. Use this for site-wide call-to-action blocks, otherwise they satisfy the check on every page. | |
| primary_min_hits | No |