This factor reports whether a page carries the Microdata attribute itemprop="availability" in its rendered body. It returns a simple 1 (present) or 0 (absent), and it detects the literal text pattern only — it does not verify that the availability value is correct or that the surrounding item type is valid.
| Factor ID | RG-SCM-009 |
|---|---|
| Family | Structured Data — Microdata |
| Measurement | Binary presence (0 / 1) |
| Measured zone | Rendered body HTML with scripts removed |
What it measures
RankGear checks whether the Microdata property itemprop="availability" appears in the rendered body of the page after script elements are stripped out. This is the Microdata attribute used to declare the stock or availability state of an offer or product — for example, in stock, out of stock, or preorder. The factor answers one narrow question: is that availability attribute present in the markup at all?
How RankGear measures it
RankGear performs a case-insensitive search of the rendered body for the literal double-quoted form itemprop="availability". If at least one match exists, the factor returns 1; otherwise it returns 0. The match is a plain text pattern search, not a parse of the Microdata item graph, so the attribute name, equals sign, double quotes, and property reference must appear exactly and contiguously.
What RankGear looks for
<link itemprop="availability" href="https://schema.org/InStock" />
<!-- also matches inside an item scope, e.g. -->
<div itemscope itemtype="https://schema.org/Offer">
<link itemprop="availability" href="https://schema.org/InStock" />
</div>| Value | Meaning |
|---|---|
| 1 | The literal string itemprop="availability" was found in the rendered body (after scripts were removed). |
| 0 | The pattern was not found — the attribute is absent, or it uses single quotes or added spacing that the search does not match. |
How to optimize it
Use availability only to describe the current, accurate availability of a real offer or product. Keep the markup aligned with what visitors actually see on the page, and use the value vocabulary expected by the parent item type. Treat this factor as an observation about whether availability Microdata is present, not as a target to hit for its own sake — adding the attribute where there is no genuine offer to describe helps nothing and can conflict with your visible content.
Important considerations
- The detector pattern-matches the HTML text; it does not parse or validate a Microdata item graph.
- It requires the attribute name, equals sign, double quotes, and property value to be contiguous — single quotes or added spacing will not match.
- Scripts are removed before matching, and capitalization does not affect detection.
- Validate the parent item type, property value, nesting, and structured-data eligibility independently — this factor does not confirm any of them.
- This is a prioritization signal that tracks how availability Microdata relates to position within a measured result set. It does not make a page rank and guarantees no ranking outcome — correlation is not causation.
Related factors
Part of the Factors reference · how RankGear measures · glossary.