Note: You are viewing the development version of Schema.org. See how we work for more details.

interactionStatistic

A Schema.org Property
The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.

Values expected to be one of these types

Used on these types

Supersedes
interactionCount

Source

https://github.com/schemaorg/schemaorg/issues/2421


Examples

Example 1
Copied
Example notes or example HTML without markup.
  1. <h1>Foo Fighters</h1>

  2. <h2>Video: Interview with the Foo Fighters</h2>
  3. <object ...>
  4.   <param ...>
  5.   <embed type="application/x-shockwave-flash" ...>
  6. </object>
  7. Catch this exclusive interview with Dave Grohl and the Foo Fighters
  8.  about their new album, Rope.

  9. <h2>Songs</h2>

  10. Rope
  11.  Length: 4:05 - 14300 plays
  12. <a href="foo-fighters-rope-play.html">Play</a>
  13. <a href="foo-fighters-rope-buy.html">Buy</a>
  14. From album: <a href="foo-fighters-wasting-light.html">Wasting Light</a>

  15. Everlong
  16.  Length: 6:33 - 11700 plays
  17. <a href="foo-fighters-everlong-play.html">Play</a>
  18. <a href="foo-fighters-everlong-buy.html">Buy</a>
  19. From album: <a href="foo-fighters-color-and-shape.html">The Color And The Shape</a>

  20. <h2>Upcoming shows</h2>

  21. <a href="foo-fighters-may20-fedexforum">FedExForum</a>
  22. Memphis, TN, US
  23. May 20
  24. <a href="ticketworlds.com/foofighters/may20-2011">Buy tickets</a>

  25. <a href="foo-fighters-may23-midamericacenter">Mid America Center</a>
  26. Council Bluffs, IA, US
  27. May 23
  28. <a href="ticketworlds.com/foofighters/may23-2011">Buy tickets</a>

  29. <h2><a href="foo-fighters-photos">28 Photos</a></h2>
  30. <a href="foofighters-1.jpg"><img
  31. alt="Thumbnail and linked photo of Foo Fighters band"
  32. src="foofighters-thumb1.jpg" /></a>
  33. <a href="foofighters-2.jpg"><img
  34. alt="Thumbnail and linked photo of Foo Fighters band"
  35. src="foofighters-thumb2.jpg" /></a>
  36. <a href="foofighters-3.jpg"><img
  37. alt="Thumbnail and linked photo of Foo Fighters band"
  38. src="foofighters-thumb3.jpg" /></a>

  39. <h2>Comments:</h2>
  40. Excited about seeing them in concert next week. -Lawrence , Jan 23
  41. I dig their latest single. -Mary, Jan 19
  42. Showing 1-2 of 18 comments. <a href="foofighters-comments">More</a>
Example encoded as Microdata embedded in HTML.
  1. <div itemscope itemtype="https://schema.org/MusicGroup">
  2.     <h1 itemprop="name">
  3.         Foo Fighters
  4.     </h1>
  5.     <div itemprop="subjectOf" itemscope itemtype="https://schema.org/VideoObject">
  6.         <h2>
  7.             Video: <span itemprop="name">Interview with the Foo Fighters</span>
  8.         </h2>
  9.         <meta itemprop="duration" content="PT1M33S">
  10.         <meta itemprop="thumbnail" content="foo-fighters-interview-thumb.jpg"><object>
  11.             <param>
  12.              <embed type="application/x-shockwave-flash">
  13.         </object> <span itemprop="description">Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.</span>
  14.         <h3>
  15.             Comments:
  16.         </h3>Excited about seeing them in concert next week. -Lawrence , Jan 23 I dig their latest single. -Mary, Jan 19
  17.         <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
  18.             <meta itemprop="interactionType" content="https://schema.org/CommentAction">
  19.             <meta itemprop="userInteractionCount" content="18">
  20.         </div>Showing 1-2 of 18 comments. <a href="foofighters-comments">More</a>
  21.         </div>
  22.     <h2>
  23.         Songs
  24.     </h2>
  25.     <div itemprop="track" itemscope itemtype="https://schema.org/MusicRecording">
  26.         <span itemprop="name">Rope</span>
  27.         <link itemprop="url" href="foo-fighters-rope.html">Length:
  28.         <meta itemprop="duration" content="PT4M5S">4:05 - 14300 plays
  29.         <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
  30.             <meta itemprop="interactionType" content="https://schema.org/ListenAction">
  31.             <meta itemprop="userInteractionCount" content="14300">
  32.         </div><a href="foo-fighters-rope-play.html" itemprop="audio">Play</a> <a href="foo-fighters-rope-buy.html" itemprop="offers">Buy</a> From album: <a href="foo-fighters-wasting-light.html" itemprop="inAlbum">Wasting Light</a>
  33.     </div>
  34.     <div itemprop="track" itemscope itemtype="https://schema.org/MusicRecording">
  35.         <span itemprop="name">Everlong</span>
  36.         <link itemprop="url" href="foo-fighters-everlong.html">Length:
  37.         <meta itemprop="duration" content="PT6M33S">6:33 - 11700 plays
  38.         <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
  39.             <meta itemprop="interactionType" content="https://schema.org/ListenAction">
  40.             <meta itemprop="userInteractionCount" content="11700">
  41.         </div><a href="foo-fighters-everlong-play.html" itemprop="audio">Play</a> <a href="foo-fighters-everlong-buy.html" itemprop="offers">Buy</a> From album: <a href="foo-fighters-color-and-shape.html" itemprop="inAlbum">The Color And The Shape</a>
  42.     </div>
  43.     <h2>
  44.         Upcoming shows
  45.     </h2>
  46.     <div itemprop="event" itemscope itemtype="https://schema.org/Event">
  47.         <a href="foo-fighters-may20-fedexforum" itemprop="url"><span itemprop="name">FedExForum</span></a> <span itemprop="location">Memphis, TN, US</span>
  48.         <meta itemprop="startDate" content="2011-05-20">May 20 <a href="ticketmaster.com/foofighters/may20-2011" itemprop="offers">Buy tickets</a>
  49.     </div>
  50.     <div itemprop="event" itemscope itemtype="https://schema.org/Event">
  51.         <a href="foo-fighters-may23-midamericacenter" itemprop="url"><span itemprop="name">Mid America Center</span></a> <span itemprop="location">Council Bluffs, IA, US</span>
  52.         <meta itemprop="startDate" content="2011-05-23">May 23 <a href="ticketmaster.com/foofighters/may23-2011" itemprop="offers">Buy tickets</a>
  53.     </div>
  54.     <h2>
  55.         <a href="foo-fighters-photos">28 Photos</a>
  56.     </h2><a href="foofighters-1.jpg" itemprop="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb1.jpg"></a> <a href="foofighters-2.jpg" itemprop="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb2.jpg"></a> <a href="foofighters-3.jpg" itemprop="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb3.jpg"></a>
  57. </div>
Example encoded as RDFa embedded in HTML.
  1. <div vocab="https://schema.org/" typeof="MusicGroup">
  2.     <h1 property="name">
  3.         Foo Fighters
  4.     </h1>
  5.     <div property="subjectOf" typeof="VideoObject">
  6.         <h2>
  7.             Video: <span property="name">Interview with the Foo Fighters</span>
  8.         </h2>
  9.         <meta property="duration" content="PT1M33S">
  10.         <meta property="thumbnail" content="foo-fighters-interview-thumb.jpg"><object>
  11.             <param>
  12.              <embed type="application/x-shockwave-flash">
  13.         </object> <span property="description">Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.</span>
  14.         <h3>
  15.             Comments:
  16.         </h3>Excited about seeing them in concert next week. -Lawrence , Jan 23 I dig their latest single. -Mary, Jan 19
  17.         <div property="interactionStatistic" typeof="https://schema.org/InteractionCounter">
  18.             <meta property="interactionType" content="https://schema.org/CommentAction">
  19.             <meta property="userInteractionCount" content="18">
  20.         </div>Showing 1-2 of 18 comments. <a href="foofighters-comments">More</a>
  21.     </div>
  22.     <h2>
  23.         Songs
  24.     </h2>
  25.     <div property="track" typeof="MusicRecording">
  26.         <span property="name">Rope</span>
  27.         <link property="url" href="foo-fighters-rope.html">Length:
  28.         <meta property="duration" content="PT4M5S">4:05 - 14300 plays
  29.         <div property="interactionStatistic" typeof="https://schema.org/InteractionCounter">
  30.             <meta property="interactionType" content="https://schema.org/ListenAction">
  31.             <meta property="userInteractionCount" content="14300">
  32.         </div><a href="foo-fighters-rope-play.html" property="audio">Play</a> <a href="foo-fighters-rope-buy.html" property="offers">Buy</a> From album: <a href="foo-fighters-wasting-light.html" property="inAlbum">Wasting Light</a>
  33.     </div>
  34.     <div property="track" typeof="MusicRecording">
  35.         <span property="name">Everlong</span>
  36.         <link property="url" href="foo-fighters-everlong.html">Length:
  37.         <meta property="duration" content="PT6M33S">6:33 - 11700 plays
  38.         <div property="interactionStatistic" typeof="https://schema.org/InteractionCounter">
  39.             <meta property="interactionType" content="https://schema.org/ListenAction">
  40.             <meta property="userInteractionCount" content="11700">
  41.         </div><a href="foo-fighters-everlong-play.html" property="audio">Play</a> <a href="foo-fighters-everlong-buy.html" property="offers">Buy</a> From album: <a href="foo-fighters-color-and-shape.html" property="inAlbum">The Color And The Shape</a>
  42.     </div>
  43.     <h2>
  44.         Upcoming shows
  45.     </h2>
  46.     <div property="event" typeof="Event">
  47.         <a href="foo-fighters-may20-fedexforum" property="url"><span property="name">FedExForum</span></a> <span property="location">Memphis, TN, US</span>
  48.         <meta property="startDate" content="2011-05-20">May 20 <a href="ticketmaster.com/foofighters/may20-2011" property="offers">Buy tickets</a>
  49.     </div>
  50.     <div property="event" typeof="Event">
  51.         <a href="foo-fighters-may23-midamericacenter" property="url"><span property="name">Mid America Center</span></a> <span property="location">Council Bluffs, IA, US</span>
  52.         <meta property="startDate" content="2011-05-23">May 23 <a href="ticketmaster.com/foofighters/may23-2011" property="offers">Buy tickets</a>
  53.     </div>
  54.     <h2>
  55.         <a href="foo-fighters-photos">28 Photos</a>
  56.     </h2><a href="foofighters-1.jpg" property="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb1.jpg"></a> <a href="foofighters-2.jpg" property="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb2.jpg"></a> <a href="foofighters-3.jpg" property="image"><img alt="Thumbnail and linked photo of Foo Fighters band" src="foofighters-thumb3.jpg"></a>
  57. </div>
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2. {
  3.     "@context": "https://schema.org",
  4.     "@type": "MusicGroup",
  5.     "event": [
  6.         {
  7.             "@type": "Event",
  8.             "location": "Memphis, TN, US",
  9.             "offers": "ticketmaster.com/foofighters/may20-2011",
  10.             "startDate": "2011-05-20",
  11.             "url": "foo-fighters-may20-fedexforum"
  12.         },
  13.         {
  14.             "@type": "Event",
  15.             "location": "Council Bluffs, IA, US",
  16.             "offers": "ticketmaster.com/foofighters/may23-2011",
  17.             "startDate": "2011-05-23",
  18.             "url": "foo-fighters-may23-midamericacenter"
  19.         }
  20.     ],
  21.     "image": [
  22.         "foofighters-1.jpg",
  23.         "foofighters-2.jpg",
  24.         "foofighters-3.jpg"
  25.     ],
  26.     "name": "Foo Fighters",
  27.     "track": [
  28.         {
  29.             "@type": "MusicRecording",
  30.             "audio": "foo-fighters-rope-play.html",
  31.             "duration": "PT4M5S",
  32.             "inAlbum": "foo-fighters-wasting-light.html",
  33.             "interactionStatistic": {
  34.                 "@type": "InteractionCounter",
  35.                 "interactionType": "https://schema.org/ListenAction",
  36.                 "userInteractionCount": "14300"
  37.             },
  38.             "name": "Rope",
  39.             "offers": "foo-fighters-rope-buy.html",
  40.             "url": "foo-fighters-rope.html"
  41.         },
  42.         {
  43.             "@type": "MusicRecording",
  44.             "audio": "foo-fighters-everlong-play.html",
  45.             "duration": "PT6M33S",
  46.             "inAlbum": "foo-fighters-color-and-shape.html",
  47.             "name": "Everlong",
  48.             "interactionStatistic": {
  49.                 "@type": "InteractionCounter",
  50.                 "interactionType": "https://schema.org/ListenAction",
  51.                 "userInteractionCount": "11700"
  52.             },
  53.             "offers": "foo-fighters-everlong-buy.html",
  54.             "url": "foo-fighters-everlong.html"
  55.         }
  56.     ],
  57.     "subjectOf": {
  58.         "@type": "VideoObject",
  59.         "description": "Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.",
  60.         "duration": "PT1M33S",
  61.         "name": "Interview with the Foo Fighters",
  62.         "thumbnail": "foo-fighters-interview-thumb.jpg",
  63.         "interactionStatistic": {
  64.             "@type": "InteractionCounter",
  65.             "interactionType": "https://schema.org/CommentAction",
  66.             "userInteractionCount": "18"
  67.         }
  68.     }
  69. }
  70. </script>
Structured representation of the JSON-LD example.