This factor reports whether RankGear finds an @type of SocialMediaPosting in a page’s raw rendered HTML. It returns 1 when the string is present and 0 when it is not — a presence check on the source text, not a validation of the JSON-LD graph.
| Factor ID | RG-SCJ-241 |
|---|---|
| Family | Structured Data – JSON-LD |
| Measurement | Binary presence (0 / 1) |
| Measured zone | Raw rendered HTML |
What it measures
This factor reports whether RankGear finds an @type value of SocialMediaPosting in the raw source. SocialMediaPosting is the schema.org type for a post shared on a social media platform — a status update, share, or similar item that carries an author, a date, the post text, any shared content, and interaction statistics. The result is a single signal: the type string is either present in the page’s markup or it is not.
How RankGear measures it
RankGear searches the raw HTML for flexible whitespace around "@type": "SocialMediaPosting", optionally allowing a schema: prefix. Matching is case-insensitive and returns 1 on any match. The detector pattern-matches the source text directly; it does not parse or validate the surrounding JSON-LD graph.
What RankGear looks for
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SocialMediaPosting",
"author": { "@type": "Person", "name": "..." },
"datePublished": "...",
"articleBody": "...",
"sharedContent": { "@type": "WebPage", "url": "..." },
"interactionStatistic": { "@type": "InteractionCounter" },
"url": "..."
}
</script>| Value | Meaning |
|---|---|
| 1 | The @type string SocialMediaPosting was found in the raw HTML (any capitalization, optional schema: prefix). |
| 0 | No matching type string was found in the raw HTML. |
How to optimize it
Use SocialMediaPosting only for a genuine social-media post, and give it an accurate author, date, post text, shared content, interaction statistics, and canonical URL. Every property should reflect content a user can verify on the page. Because RankGear only checks for the type string, treat a 1 as confirmation that the markup is present, not proof that it is valid or complete — do not add the type to pages that are not actually social posts.
Important considerations
- The detector pattern-matches raw source text; it does not parse or validate the JSON-LD graph.
- A matching string outside a valid JSON-LD script can still produce 1.
- Capitalization differences do not affect this detector.
- Validate the complete structured data independently before relying on it.
- This is a prioritization signal that relates to position within a measured result set — it does not, on its own, cause a page to rank or guarantee any position.
Related factors
Part of the Factors reference · how RankGear measures · glossary.