I'm trying to add the google rating script to my website but when i search for my website in google it doesn't display the rating script.
I tested my website with the structed data testing tool and it didn't display any errors.
I also crawled the page with the google webmaster tool.
The html:
<div itemscope itemtype="http://schema.org/WebSite">
<div itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="Kindred Realms" />
</div>
<meta itemprop="datePublished" content="28-1-2014" />
<meta itemprop="keywords" content="rate, website, game, datop100" />
<div class="topMenu">
<h1 itemprop="name" content="Live website version">
<a href="http://datop100.com" itemprop="url">Live website version</a>
</h1>
</div>
<div class="content">
<div class="bannerImage" id="pageBanner">
<img itemprop="image" src="http://i.imgur.com/xzldkIZ.png">
<p itemprop="description">This is just a description for the development website.</p>
</div>
<div class="horizontalBar"></div>
<div id="voteContainerRating">
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<meta itemprop="bestRating" content="5" />
<meta itemprop="ratingCount" content="3" />
<meta itemprop="reviewCount" content="3" />
<meta itemprop="worstRating" content="1" />
<div id="ratingInfo">
<img src="/Themes/LightBlue/Content/images/rating/3 _Star-Rating.png" alt="2,7 Star Rating">
<p id="ratingDesc">
Rating: <span itemprop="ratingValue">2,7</span>/5 - 3 votes
</p>
</div>
</div>
</div>
</div>
</div>
Structured data testing tool:
There are several problems.
Your code is rating a website called "Test 4", and "Test 4" appears both as name
and itemReviewed
(the latter isn't needed). You need to show what type of Thing you are actually rating, e.g. Restaurant, Computer Game, Movie, Product etc. You should include quite a lot of information about the thing you are rating if you want to get a high SEO e.g. Author/Creator of what you are reviewing and age rating.
The star rating is worked out by google, it displays ratingValue
(your aggregate score, normally a decimal rather than a whole number) in comparison to bestRating
(and taking into account lowestRating
. So your code now gives a rating of 3 out of 3, with a minimum score of 2 which doesn't make much sense - I think that is why the Stars and rating don't show. Instead set highestRating
to 5 (for example) and lowestRating
to 1
, that should give a Rating 3/10 in the snippet shown.
When testing include the name of the item if your search, a page may rate many different items. Usually having the word 'rating' in your search criteria should help. You can already see the snippet changes when you do this eg https://www.google.com/?gws_rd=ssl#q=site:datop100.com+test+4+rating
Here is a Schema.org example for VideoGame
, which is a type of CreativeWork
<body vocab="http://schema.org/" itemscope itemtype="http://schema.org/VideoGame http://schema.org/MobileApplication">
<span itemprop="gamePlatform">iOS</span>
<img itemprop="image" alt="Picture of monopoly board game." src="http://a3.mzstatic.com/us/r30/Purple/v4/56/85/9b/56859be5-c5fa-9cc2-9277-276891ad070e/screen568x568.jpeg"/>
<span itemprop="name">MONOPOLY</span> by <span itemprop="author">Electronic Arts</span>
<span itemprop="description">**YOU VOTED & THE CAT’S OUT OF THE BAG** Thanks to the votes from YOU and thousands of loyal MONOPOLY Facebook fans from 185 different countries, the CAT mover is now available to play with in this latest update as well as in the classic board game version of MONOPOLY!</span>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4</span> stars -
<span itemprop="reviewCount">33</span> reviews