Google搜索中結構化數據標記是一種可以通過向網頁添加特定的標記,來幫助搜索引擎更好地理解網頁內容的技術。谷歌藉助這些標記來生成富媒體搜索結果,如答案卡片、價格比較工具、電影評價等等。
使用Google搜索結構化數據標記有助於提高您網站的可見性,並使其在谷歌搜索結果中更加突出。這項技術可以被應用到多種類型的內容中,包括文章、產品、事件、機構和人物信息等等。
Google搜索結構化數據標記對於谷歌SEO非常重要。通過添加結構化數據標記,您可以讓您的網站內容更易於被搜索引擎爬蟲識別、理解和組織,並最終提高排名和可見性。
在谷歌搜索結果中,結構化數據標記可以使搜索結果更加豐富多彩,從而增加用戶點擊量。例如,在搜索結果中出現的答案卡片、價格比較工具、電影評價等等都是利用結構化數據標記生成的。這些結果往往能夠吸引更多的用戶點擊進入您的網站。
同時,結構化數據標記還有助於搜索引擎理解您網站上不同頁面的內容類型和結構,從而更好地將其與用戶搜索查詢進行匹配。這也有助於在特定的搜索中顯示您的網站更為相關的頁面。
Google搜索結構化數據標記示例代碼
要使用Google搜索結構化數據標記,結構化數據可以用於描述各種類型的內容,但並非所有類型的內容都需要添加結構化數據標記。如果您希望瞭解哪些類型的內容最適合應用結構化數據,請查閱谷歌官方文檔。
Google支持多個不同的結構化數據格式,例如:JSON-LD、Microdata和RDFa。您需要選擇適合您網站的結構化數據格式。一旦確定了適合您網站的結構化數據格式,就可以開始創建每種類型的內容的結構化數據。這些數據應該包含在您網站的HTML代碼內,並與相應的內容相關聯。
常用的Google搜索結構化數據標記
Google搜索結構化數據標記是一種非常有用的技術,可以增強您網站的SEO表現,並讓您的內容更容易在谷歌搜索結果中顯示。使用結構化數據標記,您可以向搜索引擎提供更豐富和詳細的信息,從而改進搜索結果的外觀和效果。
FAQ常見問答
常見問題解答 (FAQ) 頁包含一系列有關特定主題的問題和回答。常見問題解答 (FAQ) 頁包含一系列有關特定主題的問題和答案。如果您正確標記了 FAQ 頁,它們可能會在 Google 搜索中顯示為富媒體搜索結果,並可通過 Google 助理的 Action,幫助您的網站覆蓋合適的用戶。下面是 FAQ 富媒體搜索結果的示例:
<html> <head> <title>Example Site - Frequently Asked Questions(FAQ)</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "What is the return policy?", "acceptedAnswer": { "@type": "Answer", "text": "<p>Most unopened items in new condition and returned within <b>90 days</b> will receive a refund or exchange. Some items have a modified return policy noted on the receipt or packing slip. Items that are opened or damaged or do not have a receipt may be denied a refund or exchange. Items purchased online or in-store may be returned to any store.</p><p>Online purchases may be returned via a major parcel carrier. <a href=https://example.com/returns> Click here </a> to initiate a return.</p>" } }, { "@type": "Question", "name": "How long does it take to process a refund?", "acceptedAnswer": { "@type": "Answer", "text": "We will reimburse you for returned items in the same way you paid for them. For example, any amounts deducted from a gift card will be credited back to a gift card. For returns by mail, once we receive your return, we will process it within 4–5 business days. It may take up to 7 days after we process the return to reflect in your account, depending on your financial institution's processing time." } }, { "@type": "Question", "name": "What is the policy for late/non-delivery of items ordered online?", "acceptedAnswer": { "@type": "Answer", "text": "<p>Our local teams work diligently to make sure that your order arrives on time, within our normaldelivery hours of 9AM to 8PM in the recipient's time zone. During busy holiday periods like Christmas, Valentine's and Mother's Day, we may extend our delivery hours before 9AM and after 8PM to ensure that all gifts are delivered on time. If for any reason your gift does not arrive on time, our dedicated Customer Service agents will do everything they can to help successfully resolve your issue.</p><p><a href=https://example.com/orders/>Click here</a> to complete the form with your order-related question(s).</p>" } }, { "@type": "Question", "name": "When will my credit card be charged?", "acceptedAnswer": { "@type": "Answer", "text": "We'll attempt to securely charge your credit card at the point of purchase online. If there's a problem, you'll be notified on the spot and prompted to use another card. Once we receive verification of sufficient funds, your payment will be completed and transferred securely to us. Your account will be charged in 24 to 48 hours." } }, { "@type": "Question", "name": "Will I be charged sales tax for online orders?", "acceptedAnswer": { "@type": "Answer", "text":"Local and State sales tax will be collected if your recipient's mailing address is in: <ul><li>Arizona</li><li>California</li><li>Colorado</li></ul>"} }] } </script> </head> <body> </body> </html>
Logo
Google 搜索在搜索結果和 Google 知識面板中使用哪張圖片作為貴組織的徽標。Google 搜索使用用例示例中的標記來識別要用作組織徽標的圖片。這樣可確保該圖片儘可能顯示在有關該公司的搜索結果中。此類標記會明確地告知 Google 搜索算法:應在知識面板中顯示該圖片。
<html> <head> <title>About Us</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Organization", "url": "https://www.example.com", "logo": "https://www.example.com/images/logo.png" } </script> </head> </html>
評價摘要
評價摘要是來自評價網站的簡短評價摘錄或評分,通常是眾多評價者給出的綜合評分的平均值。當 Google 發現有效的評價或評分標記時,可能會顯示豐富網頁摘要,其中包含根據評價或評分得出的星級和其他摘要信息。除了文字評價之外,還有數字分制(如 1 到 5)的評分。評價摘要可能會出現在富媒體搜索結果或 Google 知識面板中。您可以為以下內容類型(和子類型)提供評分:
<html> <head> <title>Legal Seafood</title> <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Review", "itemReviewed": { "@type": "Restaurant", "image": "https://www.example.com/seafood-restaurant.jpg", "name": "Legal Seafood", "servesCuisine": "Seafood", "priceRange": "$$$", "telephone": "1234567", "address" :{ "@type": "PostalAddress", "streetAddress": "123 William St", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10038", "addressCountry": "US" } }, "reviewRating": { "@type": "Rating", "ratingValue": "4" }, "name": "A good seafood place.", "author": { "@type": "Person", "name": "Bob Smith" }, "publisher": { "@type": "Organization", "name": "Washington Times" } } </script> </head> <body> </body> </html>
站點鏈接搜索框
站點鏈接搜索框為用戶提供了一種快捷方式,讓他們可以立即在搜索結果頁上搜索您的網站或應用。搜索框具有實時建議和其他功能。
<html> <head> <title>The title of the page</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebSite", "url": "https://www.example.com/", "potentialAction": { "@type": "SearchAction", "target": { "@type": "EntryPoint", "urlTemplate": "https://query.example.com/search?q={search_term_string}" }, "query-input": "required name=search_term_string" } } </script> </head> <body> </body> </html>
視頻
Google 搜索是用戶查找並觀看視頻的切入點。雖然 Google 會嘗試自動了解視頻的詳細信息,但是您可以使用 VideoObject 來標記視頻,以明確提供說明、縮略圖網址、上傳日期和時長等信息。視頻可以顯示在 Google 搜索結果、視頻搜索結果、Google 圖片和 Google 探索中。
<html> <head> <title>Introducing the self-driving bicycle in the Netherlands</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "VideoObject", "name": "Introducing the self-driving bicycle in the Netherlands", "description": "This spring, Google is introducing the self-driving bicycle in Amsterdam, the world's premier cycling city. The Dutch cycle more than any other nation in the world, almost 900 kilometres per year per person, amounting to over 15 billion kilometres annually. The self-driving bicycle enables safe navigation through the city for Amsterdam residents, and furthers Google's ambition to improve urban mobility with technology. Google Netherlands takes enormous pride in the fact that a Dutch team worked on this innovation that will have great impact in their home country.", "thumbnailUrl": [ "https://example.com/photos/1x1/photo.jpg", "https://example.com/photos/4x3/photo.jpg", "https://example.com/photos/16x9/photo.jpg" ], "uploadDate": "2016-03-31T08:00:00+08:00", "duration": "PT1M54S", "contentUrl": "https://www.example.com/video/123/file.mp4", "embedUrl": "https://www.example.com/embed/123", "interactionStatistic": { "@type": "InteractionCounter", "interactionType": { "@type": "WatchAction" }, "userInteractionCount": 5647018 }, "regionsAllowed": "US,NL" } </script> </head> <body> </body> </html>
商品
當您向商品頁面添加結構化數據後,Google 搜索結果(包括 Google 圖片和 Google 智能鏡頭中的搜索結果)能夠以更豐富的方式顯示商品信息。用戶可以直接在搜索結果中查看價格、庫存狀況、評價評分、配送信息等。
<html> <head> <title>Executive Anvil</title> <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Product", "name": "Executive Anvil", "description": "Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height.", "review": { "@type": "Review", "reviewRating": { "@type": "Rating", "ratingValue": 4, "bestRating": 5 }, "author": { "@type": "Person", "name": "Fred Benson" } }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": 4.4, "reviewCount": 89 } } </script> </head> <body> </body> </html>
問答
問答網頁是包含問答格式數據(先列出一個問題,後跟相應的答案)的網頁。對於表示問題及相應答案的內容,您可以使用 schema.org QAPage、Question 和 Answer 類型標記數據。
<html> <head> <title>How many ounces are there in a pound?</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "QAPage", "mainEntity": { "@type": "Question", "name": "How many ounces are there in a pound?", "text": "I have taken up a new interest in baking and keep running across directions in ounces and pounds. I have to translate between them and was wondering how many ounces are in a pound?", "answerCount": 3, "upvoteCount": 26, "acceptedAnswer": { "@type": "Answer", "text": "1 pound (lb) is equal to 16 ounces (oz).", "upvoteCount": 1337, "url": "https://example.com/question1#acceptedAnswer" }, "suggestedAnswer": [ { "@type": "Answer", "text": "Are you looking for ounces or fluid ounces? If you are looking for fluid ounces there are 15.34 fluid ounces in a pound of water.", "upvoteCount": 42, "url": "https://example.com/question1#suggestedAnswer1" }, { "@type": "Answer", "text": " I can't remember exactly, but I think 18 ounces in a lb. You might want to double check that.", "upvoteCount": 0, "url": "https://example.com/question1#suggestedAnswer2" } ] } } </script> </head> <body> </body> </html>
知識問答
如果您有抽認卡頁面,可以通過向其中添加 Quiz 結構化數據來幫助學生更好地找到教育類問題的答案。添加結構化數據後,您的內容將會顯示在 Google 搜索結果、Google 助理和 Google 智能鏡頭搜索結果的知識問答輪播界面中。
<html> <head> <title>Cell Transport</title> <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Quiz", "about": { "@type": "Thing", "name": "Cell Transport" }, "educationalAlignment": [ { "@type": "AlignmentObject", "alignmentType": "educationalSubject", "targetName": "Biology" } ], "hasPart": [ { "@context": "https://schema.org/", "@type": "Question", "eduQuestionType": "Flashcard", "text": "This is some fact about receptor molecules.", "acceptedAnswer": { "@type": "Answer", "text": "receptor molecules" } }, { "@context": "https://schema.org/", "@type": "Question", "eduQuestionType": "Flashcard", "text": "This is some fact about the cell membrane.", "acceptedAnswer": { "@type": "Answer", "text": "cell membrane" } } ] } </script> </head> </html>
課程輪播
您可以使用結構化數據標記課程列表,以便潛在學生通過 Google 搜索找到您的課程。您可以提供詳細信息,包括課程名稱、提供者和簡短說明。
<html> <head> <title>Introduction to Computer Science and Programming</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Course", "name": "Introduction to Computer Science and Programming", "description": "Introductory CS course laying out the basics.", "provider": { "@type": "Organization", "name": "University of Technology - Eureka", "sameAs": "https://www.example.com" } } </script> </head> <body> </body> </html>
如何檢測結構化數據標記
結構化數據標記的常見格式是使用 JSON-LD、RDFa、Microdata 等。雖然這些格式可能有所不同,但它們都具有相同的功能,即為搜索引擎提供更多關於網頁內容的信息。
使用 Google 搜索控制檯。可以通過 Google 搜索控制檯中的結構化數據報告來檢查已添加到網站上的結構化數據。在搜索控制檯中單擊左側菜單中的“增強型搜索功能”,然後單擊“結構化數據”。此時將出現一個報告,其中包含指向每個錯誤或警告頁面的鏈接。
使用結構化數據標記總結
總之,結構化數據標記是谷歌SEO優化中不可或缺的一部分,它可以幫助網站提高排名和可見性,並吸引更多的用戶點擊。如果要開始使用結構化數據標記,請先了解適用於您網站內容的不同標記類型,並按照指引添加正確的代碼。您可以使用谷歌的結構化數據標記測試工具來確認您網站上已經添加的標記是否可讀取並且符合標準,以便讓您網站從中獲益。
關於結構化數據標記的常見問答
什麼是結構化數據標記?
結構化數據標記是一種將網頁內容以半結構化和標準化格式呈現給搜索引擎的技術。它使用 schema.org 和其他規範來為圖書、產品、企業地址、評分等信息提供詳細的描述。結構化數據標記可以幫助搜索引擎理解你的網站,並更好地顯示出來。
結構化數據標記對 SEO 的影響是什麼?
結構化數據標記不是直接用於排名或搜索引擎優化的算法,但它可以幫助搜索引擎更好地理解你發佈的內容,並在搜索結果頁面上更合適地呈現。如果正確地使用結構化數據標記,可以增加點擊率和流量,提高用戶滿意度並提升品牌知名度。
如何實現結構化數據標記?
在網頁上實現結構化數據標記需要使用一些 HTML 標籤和屬性,如 itemtype、itemid、itemprop 和 itemscope 等。你可以通過手動編寫代碼或使用插件/工具來添加這些標記。谷歌提供了一個名為 Structured Data Testing Tool 的免費工具,用於檢查和測試結構化數據標記是否正確。
是否每個頁面都需要結構化數據標記?
並非每個頁面都需要結構化數據標記,但對於包含詳細信息的頁面(如產品、評論等)或者企業地址 / 聯繫方式等頁面,結構化數據標記是非常有幫助的。總體而言,如果你想讓搜索引擎更好地理解你的網站,並在搜索結果頁面上呈現更詳細的信息,那麼添加結構化數據標記通常是值得的。
<head>
<title>谷歌seo之結構化數據標記重要性</title>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Recipe",
"name": "谷歌seo之結構化數據標記重要性",
"author": {
"@type": "Person",
"name": "Mary Stone"
},
"datePublished": "2018-03-10",
"description": "Google搜索中結構化數據標記是一種可以通過向網頁添加特定的標記",
"prepTime": "PT20M"
}
</script>
</head>
<body>
<h2>谷歌seo之結構化數據標記重要性</h2>
<p><i>by Mary Stone, 2018-03-10</i></p>
<p>Google搜索中結構化數據標記是一種可以通過</p>
<p> 來幫助搜索引擎更好地理解網頁內容的技術。 </p>
</body>
</html>