我正在尝试将google评级脚本添加到我的网站,但是当我在谷歌搜索我的网站时,它不会显示评级脚本。
我使用结构化数据测试工具测试了我的网站,但没有显示任何错误。
我还使用Google网站管理员工具抓取了该网页。
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>
结构化数据测试工具:
答案 0 :(得分:2)
有几个问题。
您的代码正在对名为“测试4”的网站进行评级,而“测试4”显示两者为name
和itemReviewed
(后者不是需要)。您需要显示实际评级的 类型的东西,例如餐厅,电脑游戏,电影,产品等。如果你想获得高SEO,你应该包括很多关于你评级的信息。您正在审核的内容的作者/创建者和年龄评级。
星级评分由谷歌制定,与ratingValue
相比,它显示bestRating
(您的总分,通常是小数而不是整数)(并考虑到{ {1}}。所以你的代码现在给出了 3分的评分,最低分数为2 ,这没有多大意义 - 我认为这就是明星和评级的原因t show。而是将lowestRating
设置为5(例如),将highestRating
设置为lowestRating
,这样会在显示的代码段中显示 3/10 。< / p>
如果您的搜索中包含商品名称,则页面可能会评价许多不同的商品。通常在搜索条件中使用“评级”一词应该有所帮助。您可以在执行此操作时看到代码段更改,例如https://www.google.com/?gws_rd=ssl#q=site:datop100.com+test+4+rating
以下是1
的Schema.org示例,其类型为VideoGame
CreativeWork