回答
你應該使用AggregateRating:
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "LocalBusiness",
"name" : "My Company",
"url" : "http://www.mycompany.com/",
"telephone" : "(+33) 1 23 45 67 89",
"email" : "[email protected]",
"address" : {
"@type" : "PostalAddress",
"streetAddress" : "1 Rue de la Place",
"addressLocality" : "Paris",
"postalCode" : "75000"
},
"aggregateRating" : {
"@type" : "AggregateRating",
"ratingValue" : "4.2",
"bestRating" : "5",
"ratingCount" : "100"
},
"openingHours": "Mo-Su 00:00-00:00"
}
</script>
的片段上方應該只是把結束</html>
標記之前,應展示一個得分4.2/5基於100個評分
謝謝,但人們率我是否需要爲此創建一些內容? 而該網站是在WordPress的,所以我不知道我是否可以添加腳本。 它也可以在HTML中完成?而不是java。 – CalvinSaitch
是的,你可以使用[HTML標記](https://schema.org/docs/gs.html#microdata_why)。至於如何建立您的評級,您可以爲您的網站開發一個評級插件,然後提取數據,或使用第三方應用程序,例如[Verified Reviews](http://www.verified-reviews。 co.uk /)或[eKomi](http://www.ekomi.com/us/) – roberto06
,我希望它在我的網站url下面的代碼段中搜索結果不在網頁上。 – CalvinSaitch
- 1. 爛番茄在Google搜索結果中的星級評分
- 2. 如何將我的網站的搜索欄添加到我的網站的Google搜索結果中?
- 3. 如何顯示嵌入我網站的Google搜索結果?
- 4. 另一個網站顯示在我網站的搜索結果下方
- 5. 如何搜索Google搜索結果中的網址?
- 6. 在我的網站上的Google自動搜索結果
- 7. Google我的網站搜索結果重定向到Google
- 8. 刷新我的網站的Google搜索結果
- 9. 自動搜索網站字段並得到結果網址
- 10. 從Google搜索結果網址獲取搜索查詢
- 11. 過濾Google網站搜索結果
- 12. Google搜索結果網站地圖?
- 13. Google如何更改搜索結果頁面中的網址
- 14. 如何在谷歌搜索結果中顯示評論星級評分
- 15. 我們如何縮短Google搜索結果麪包屑中的網站名稱?
- 16. 如何自定義我的網站的谷歌搜索結果
- 17. 搜索在我的網站的網頁
- 18. 如何在Google搜索中首先使用我的網站?
- 19. 如何讓搜索引擎顯示我們網站的結果?
- 20. 是否可以在我的網站中使用其他網站搜索結果?
- 21. Android - 我如何開始網絡搜索並獲得結果到我的活動
- 22. 如何在我的網站上顯示Google Plus平均評分?
- 23. 搜索結果中的django csrf_token網址
- 24. 從搜索引擎中刪除我的網站的AMP結果?
- 25. 如何在網站的Google結果下顯示關鍵字和搜索框?
- 26. 如何讓我的作者ID照片在Google搜索結果中顯示在我的網站旁邊?
- 27. 我如何從facebook中的網址獲得所有評論?
- 28. 如何在我的網站上添加Google搜索?
- 29. 如何將評級星星放入我的網頁
- 30. Google搜索結果返回不在我的網站上的鏈接
此功能在谷歌豐富網頁摘要文檔中有詳細記錄:https://developers.google.com/search/docs/data-types/reviews#review-snippets – damienc