schema.org - Hiding 'aggregateRating' using CSS -


i working on website client. have marked individual reviews display on site microdata, have not included corresponding aggregaterating property.

i have informed them need include aggregaterating propery in order google display stars in organic listing. client responded saying okay, must hide values associated aggregaterating - (ratingvalue, ratingcount) users interact website.

i know google frowns upon practice, want know if has had success hiding review schema.org css? success mean google still displaying stars in organic listing.

there's no need hide schema using css. not schema data has shown on web page. consider json-ld schema, that's in head none of values displayed.

html schema allows markup content that's not visible on webpage.

from schema.org:

sometimes, web page has information valuable mark up, information can't marked because of way appears on page […]

[…]

<meta itemprop="ratingvalue" content="4" /> 

full code snippet:

<div itemscope itemtype="http://schema.org/offer">   <span itemprop="name">blend-o-matic</span>   <span itemprop="price">$19.95</span>   <div itemprop="reviews" itemscope    itemtype="http://schema.org/aggregaterating">     <img src="four-stars.jpg" />     <meta itemprop="ratingvalue" content="4" />     <meta itemprop="bestrating" content="5" />      based on <span itemprop="ratingcount">25</span> user ratings   </div> </div> 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -