Test Aggregate rating using Json for Blogspot

    This tutorial introduces the Aggregate rating using Json for Blogspot, there are many ways on the tutorial network but very messy, here I use json for neatly clean. 
    Aggregate rating using Json for Blogspot


    First you go here to sample

    Test Aggregate rating using Json for Blogspot

    Then insert into the blog, before <b:includable id='postHeader' var='post'
    <script type="application/ld+json">
    {
      "@context": "http://schema.org/",
      "@type": "Book",
      "name": "<data:blog.pageName/>",
      "description": "<b:if cond='data:blog.metaDescription'><data:blog.metaDescription/><b:else/><data:post.snippets.long/></b:if>",
      "aggregateRating": {
        "@type": "AggregateRating",
        "ratingValue": "88",
        "bestRating": "100",
        "ratingCount": "20"
      }
    }
    </script>

    No comments