Schema: interactionStatistic
Schema: interactionStatistic Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: interactionStatistic.
VideoObject JSON-LD example for a product walkthrough video with five key-moment Clips, ISO 8601 duration, interactionStatistic view count, and publisher cross-referencing the Xoo Code Shop Dunmore LocalBusiness entity. Covers contentUrl vs embedUrl, the hasPart Clip pattern for key moments, and the duration format developers get wrong.
BlogPosting JSON-LD example for a company blog post about the XooTee t-shirt launch. Covers the Blog container via isPartOf, comment and commentCount for reader discussion, interactionStatistic for engagement metrics, detailed author identity with worksFor cross-reference, and how BlogPosting differs from Article and NewsArticle.
DiscussionForumPosting JSON-LD example for a community forum thread. DiscussionForumPosting adds no properties of its own; used for forum posts, Reddit-style threads, and community Q&A.
SocialMediaPosting JSON-LD example for a microblog post with a shared image. SocialMediaPosting is an Article subtype that adds one property, sharedContent, for the embedded asset being shared or quoted. It is the parent of BlogPosting and DiscussionForumPosting.
ProfilePage JSON-LD example for a person or organisation profile page. Direct WebPage subtype. Google's Profile Page rich result keys on this type.
InteractionCounter JSON-LD example for the aggregate likes / shares / comments / views count that sits under interactionStatistic on CreativeWork and Organization. StructuredValue subtype binding an Action type to a count, service, and optional time window.