Leading Variations in H1 Tags counts how many of a page’s H1 headings begin with one of the run’s keyword variations. It shows whether the primary heading opens with intent-matched wording rather than merely containing it — an observed pattern among ranking pages, not proof that a leading variation causes a ranking.
| Factor ID | RG-HDG-017 |
|---|---|
| Family | Headings |
| Measurement | Leading variation match count |
| Measured zone | H1 text |
What it measures
This factor counts H1 headings that begin with one of the run’s keyword variations. Unlike factors that check whether a variation appears anywhere inside a heading, this one is about position: the heading has to start with the wording. A variation buried in the middle or at the end of the H1 is not counted here. Because the match is anchored only at the start, additional text may follow the matched variation and the heading still qualifies.
How RankGear measures it
RankGear parses the H1 text and tests a case-insensitive regular expression built from the alphabetically sorted variation set. The expression is anchored at the start of the heading but not at the end, so text may follow the matched variation. Each H1 whose opening matches is counted; a heading that starts with any other wording is not.
What RankGear looks for
pattern (case-insensitive, start-anchored, not end-anchored):
^(?:variation a|variation b|variation c)
<h1>Variation A for beginners</h1> → counted (opens with a variation, text may follow)
<h1>A guide to variation a</h1> → not counted (variation is not at the start)| If the count is… | How to read it |
|---|---|
| 0 | No H1 opens with a tracked variation. Most actionable when ranking pages tend to lead their headings with the query wording; less meaningful when they do not. |
| 1 or more | The primary heading leads with intent-matched wording. Confirm the opening reads naturally and still introduces the page’s actual topic. |
How to optimize it
Lead the primary heading with a natural, intent-matched variation when that wording accurately introduces the page. Treat the count as an observation to compare against ranking pages, not a target to force: if the clearest, most readable H1 does not happen to open with a variation, that is usually the right call. Readability and a clear page topic outweigh moving the variation to the front of the heading.
Important considerations
- The factor measures only the beginning of an H1 — a variation elsewhere in the heading does not count.
- It does not require a word boundary after the variation, so a longer word that starts with the variation’s characters can still match.
- Variation strings are inserted into the compatibility regular expression without escaping, so any regex metacharacters in a variation are interpreted as pattern syntax rather than literal text.
- Readability and a clear page topic matter more than forcing a preferred opening.
- Interpret this factor alongside its correlation and the other heading signals — it relates to position within a measured result set, it does not guarantee a ranking.
Related factors
Part of the Factors reference · how RankGear measures · glossary.