Wednesday 28 June 2017

schema markup for website LocalBusiness with aggregate Rating

Posted By: Om Maurya - 05:12
Following  JSON   CODES SHOULD BE  PLACE UNDER <head>  place here </head> section of your blog and website...
Schema markup for website:

<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "WebSite",
    "name": "yourwebsite name",
    "url": "https://www.yourwebsite.com"
}
</script>


Schema  Markup for  LocalBusiness address with aggregateRating:


<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "LocalBusiness",
    "url": "https://yourwebsite.com/pagename",
    "name": "your business name here",
    "image": "https://yourwebsite.com/example.jpg",
    "address": {
        "@type": "PostalAddress",
        "streetAddress": "",
        "addressLocality": "103, 1st Floor, Palm Spring Building, Lokhandwala Complex-Andheri West",
        "postalCode": "400053",
        "addressRegion": "Mumbai"
    }
    ,
    "telephone": ["+918149996597","+919322437432"],
         
"aggregateRating": {
        "@type":"AggregateRating",
        "worstRating":"0",
        "bestRating":"5",
        "ratingValue":"5.0",
        "reviewCount":"5"
    }
        }

</script>

0 comments:

Post a Comment