Structured Data สำหรับฟอรัมการสนทนา (DiscussionForumPosting
)
![ภาพแสดงฟีเจอร์การสนทนาและฟอรัม](https://developers-dot-devsite-v2-prod.appspot.com/static/search/docs/images/discussions-and-forums-rich-result.png?authuser=6&hl=th)
มาร์กอัปฟอรัมการสนทนาออกแบบมาสำหรับเว็บไซต์สไตล์ฟอรัมที่ผู้คนแชร์มุมมองโดยตรงร่วมกัน เมื่อเว็บไซต์ฟอรัมเพิ่มมาร์กอัปนี้ Google Search จะระบุการสนทนาออนไลน์ทั่วทั้งอินเทอร์เน็ตได้ดียิ่งขึ้นและใช้ประโยชน์จากมาร์กอัปนี้ในฟีเจอร์ต่างๆ เช่น การสนทนาและฟอรัม รวมถึงความคิดเห็น
วิธีใช้ DiscussionForumPosting
ภายในฟอรัม
โดยทั่วไป เราขอแนะนําให้ฝังความคิดเห็นไว้ในโพสต์ที่เกี่ยวข้อง หากฟอรัมมีโครงสร้างชุดข้อความแยกเป็นของตัวเอง ให้ใช้แผนผังความคิดเห็นเพื่อแสดงโครงสร้างดังนี้
{ "@context": "https://schema.org", "@type": "DiscussionForumPosting", "headline": "Very Popular Thread", ... "comment": [{ "@type": "Comment", "text": "This should not be this popular", ... "comment": [{ "@type": "Comment", "text": "Yes it should", ... }] }] }
หากมีลักษณะเป็นแบบเชิงเส้นมากกว่า (เช่น โพสต์ต้นฉบับตามด้วยการตอบกลับ) ให้ฝังการตอบกลับทั้งหมดไว้ใต้โพสต์ต้นฉบับโดยให้เป็นความคิดเห็น ตามหลักการแล้ว หน้าเนื้อหาหน้าต่อๆ ไปในฟอรัมที่มีหลายหน้าจะมีโพสต์ต้นฉบับที่มี URL ของหน้าหลัก ดังนี้
{ // JSON-LD on non-threaded forum at https://example.com/post/very-popular-thread/14 "@context": "https://schema.org", "@type": "DiscussionForumPosting", "headline": "Very Popular Thread", // Only the headline/topic is explicitly present "url": "https://example.com/post/very-popular-thread", ... "comment": [{ "@type": "Comment", "text": "First Post on this Page", ... },{ "@type": "Comment", "text": "Second Post on this Page", ... }] }
หาก URL เกี่ยวข้องกับโพสต์เดียวเป็นหลัก ให้ใช้ mainEntity
(หรือ mainEntityOfPage
) เพื่อระบุ DiscussionForumPosting
หลัก ดังนี้
{ "@context": "https://schema.org", "@type": "WebPage", "url": "https://example.com/post/very-popular-thread", "mainEntity": { "@type": "DiscussionForumPosting" ... } }
สำหรับหน้าเว็บที่มีรายการโพสต์ (เช่น ในโปรไฟล์ หัวข้อ หรือหน้าหมวดหมู่) เป็นเรื่องธรรมดาที่หน้าเว็บเหล่านั้นจะไม่แสดงข้อมูลทั้งหมดในหน้าเดียวกัน และกำหนดให้ผู้ใช้คลิกเพื่อดูข้อมูลเพิ่มเติม (เช่น การตอบกลับ) ทั้งนี้ขึ้นอยู่กับการตัดสินใจของคุณว่าจะเลือกรวมเฉพาะข้อมูลที่มีอยู่ในหน้า (และรวม URL ของโพสต์สำหรับการสนทนาโดยเฉพาะ) หรือไม่
อย่าทำเครื่องหมายโพสต์ 1 รายการในหน้าเว็บให้เป็นเอนทิตีหลัก หากไม่ใช่หน้าการสนทนาของโพสต์นั้น หากต้องการแสดงว่าหน้าเว็บเป็นชุดโพสต์ที่เกี่ยวข้องกัน การแนบโพสต์ทั้งหมดไปที่ Collection
หรือ ItemList
ก็อาจเป็นประโยชน์
How to add structured data
Structured data is a standardized format for providing information about a page and classifying the page content. If you're new to structured data, you can learn more about how structured data works.
Here's an overview of how to build, test, and release structured data.
- Add the required properties. Based on the format you're using, learn where to insert structured data on the page.
- Follow the guidelines.
- Validate your code using the Rich Results Test and fix any critical errors. Consider also fixing any non-critical issues that may be flagged in the tool, as they can help improve the quality of your structured data (however, this isn't necessary to be eligible for rich results).
- Deploy a few pages that include your structured data and use the URL Inspection tool to test how Google sees the page. Be sure that your page is
accessible to Google and not blocked by a robots.txt file, the
noindex
tag, or login requirements. If the page looks okay, you can ask Google to recrawl your URLs. - To keep Google informed of future changes, we recommend that you submit a sitemap. You can automate this with the Search Console Sitemap API.
ตัวอย่าง
ตัวอย่างมาร์กอัปต่อไปนี้แสดงหน้าฟอรัมเชิงเส้นแบบไม่แยกชุดข้อความ
<html> <head> <title>I went to the concert!</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "DiscussionForumPosting", "mainEntityOfPage": "https://example.com/post/very-popular-thread", "headline": "I went to the concert!", "text": "Look at how cool this concert was!", "video": { "@type": "VideoObject", "contentUrl": "https://example.com/media/super-cool-concert.mp4", "name": "Video of concert", "uploadDate": "2024-03-01T06:34:34+02:00", "thumbnailUrl": "https://example.com/media/super-cool-concert-snap.jpg" }, "url": "https://example.com/post/very-popular-thread", "author": { "@type": "Person", "name": "Katie Pope", "url": "https://example.com/user/katie-pope", "agentInteractionStatistic": { "@type": "InteractionCounter", "interactionType": "https://schema.org/WriteAction", "userInteractionCount": 8 } }, "datePublished": "2024-03-01T08:34:34+02:00", "interactionStatistic": { "@type": "InteractionCounter", "interactionType": "https://schema.org/LikeAction", "userInteractionCount": 27 }, "comment": [{ "@type": "Comment", "text": "Who's the person you're with?", "author": { "@type": "Person", "name": "Saul Douglas", "url": "https://example.com/user/saul-douglas", "agentInteractionStatistic": { "@type": "InteractionCounter", "interactionType": "https://schema.org/WriteAction", "userInteractionCount": 167 } }, "datePublished": "2024-03-01T09:46:02+02:00" },{ "@type": "Comment", "text": "That's my mom, isn't she cool?", "author": { "@type": "Person", "name": "Katie Pope", "url": "https://example.com/user/katie-pope", "agentInteractionStatistic": { "@type": "InteractionCounter", "interactionType": "https://schema.org/WriteAction", "userInteractionCount": 8 } }, "datePublished": "2024-03-01T09:50:25+02:00", "interactionStatistic": { "@type": "InteractionCounter", "interactionType": "https://schema.org/LikeAction", "userInteractionCount": 7 } }] } </script> </head> <body> </body> </html>
<html> <body> <div id="main-post" itemtype="https://schema.org/DiscussionForumPosting" itemscope> <meta itemprop="mainEntityOfPage" content="https://example.com/post/very-popular-thread" /> <meta itemprop="url" content="https://example.com/post/very-popular-thread" /> <div class="author-block" itemprop="author" itemtype="https://schema.org/Person" itemscope> <div><a href="https://example.com/user/katie-pope" itemprop="url"><span itemprop="name">Katie Pope</span></a></div> <div itemprop="agentInteractionStatistic" itemtype="https://schema.org/InteractionCounter" itemscope> <span itemprop="userInteractionCount">8</span> <span itemprop="interactionType" content="https://schema.org/WriteAction">posts</span> </div> </div> <div itemprop="datePublished" content="2024-03-01T08:34:34+02:00">March 1</div> <div itemprop="headline">I went to the concert!</div> <div> <div itemprop="video" itemtype="https://schema.org/VideoObject" itemscope> <meta itemprop="name" content="Video of concert" /> <meta itemprop="contentUrl" content="https://example.com/media/super-cool-concert.mp4" /> <meta itemprop="uploadDate" content="2024-03-01T06:34:34+02:00" /> <meta itemprop="thumbnailUrl" content="https://example.com/media/super-cool-concert-snap.jpg" /> </div> <span itemprop="text">Look at how cool this concert was!</span> </div> <div itemprop="interactionStatistic" itemtype="https://schema.org/InteractionCounter" itemscope> <span itemprop="userInteractionCount">27</span> <span itemprop="interactionType" content="https://schema.org/LikeAction">likes</span> </div> <div id="comment-1" itemprop="comment" itemtype="https://schema.org/Comment" itemscope> <div class="author-block" itemprop="author" itemtype="https://schema.org/Person" itemscope> <div><a href="https://example.com/user/saul-douglas" itemprop="url"><span itemprop="name">Saul Douglas</span></a></div> <div itemprop="agentInteractionStatistic" itemtype="https://schema.org/InteractionCounter" itemscope> <span itemprop="userInteractionCount">167</span> <span itemprop="interactionType" content="https://schema.org/WriteAction">posts</span> </div> </div> <div itemprop="datePublished" content="2024-03-01T09:46:02+02:00">March 1</div> <div> <span itemprop="text">Who's the person you're with?</span> </div> </div> <div id="comment-2" itemprop="comment" itemtype="https://schema.org/Comment" itemscope> <div class="author-block" itemprop="author" itemtype="https://schema.org/Person" itemscope> <div><a href="https://example.com/user/katie-pope" itemprop="url"><span itemprop="name">Katie Pope</span></a></div> <div itemprop="agentInteractionStatistic" itemtype="https://schema.org/InteractionCounter" itemscope> <span itemprop="userInteractionCount">8</span> <span itemprop="interactionType" content="https://schema.org/WriteAction">posts</span> </div> </div> <div itemprop="datePublished" content="2024-03-01T09:50:25+02:00">March 1</div> <div> <span itemprop="text">That's my mom, isn't she cool?</span> </div> <div itemprop="interactionStatistic" itemtype="https://schema.org/InteractionCounter" itemscope> <span itemprop="userInteractionCount">7</span> <span itemprop="interactionType" content="https://schema.org/LikeAction">likes</span> </div> </div> </div> </body> </html>
หลักเกณฑ์
คุณต้องปฏิบัติตามหลักเกณฑ์ต่อไปนี้เพื่อให้ Structured Data ของฟอรัมการสนทนามีสิทธิ์ใช้ใน Google Search
หลักเกณฑ์เนื้อหา
- ใช้มาร์กอัป
DiscussionForumPosting
เพื่ออธิบายโพสต์ที่ผู้ใช้สร้างขึ้นในเว็บไซต์เท่านั้น อย่าใช้มาร์กอัปนี้กับเนื้อหาที่เขียนโดยผู้เผยแพร่เว็บไซต์หรือตัวแทนของผู้เผยแพร่เป็นหลัก - หากเว็บไซต์ของคุณคล้ายกับแพลตฟอร์มโซเชียลมีเดียทั่วไป คุณสามารถใช้
SocialMediaPosting
ซึ่งเป็นประเภทหลักของDiscussionForumPosting
ด้วยข้อกำหนดเดียวกัน - แม้ว่าเราจะสนับสนุนมาร์กอัปประเภทอื่นๆ ที่ถูกต้อง (
Article
,ImageObject
,VideoObject
) ซึ่งสามารถใช้มาร์กอัปที่คล้ายกันมากๆ กับความคิดเห็น ข้อมูลผู้เขียน และสถิติการโต้ตอบ แต่มาร์กอัปดังกล่าวไม่ควรใช้DiscussionForumPosting
โดยมีตัวอย่างดังนี้Use Case ที่ถูกต้อง:
- หน้าฟอรัมชุมชนที่ผู้ใช้สามารถพูดคุยเกี่ยวกับเกมๆ หนึ่ง
- แพลตฟอร์มฟอรัมทั่วไปที่โฮสต์เนื้อหาฟอรัมย่อยที่หลากหลาย
- แพลตฟอร์มโซเชียลมีเดียที่ผู้ใช้สามารถโพสต์และตอบกลับความคิดเห็นหรือสื่อ
Use Case ที่ไม่ถูกต้อง:
- บทความหรือบล็อกที่เขียนโดยตัวแทนของเว็บไซต์โดยตรง (แม้จะมีความคิดเห็น)
- รีวิวจากผู้ใช้เกี่ยวกับผลิตภัณฑ์
- โปรดทราบว่าในกรณีการใช้งานส่วนใหญ่ของ Google หน้าถามและตอบถือเป็นกรณีพิเศษของหน้าฟอรัมการสนทนา หากโครงสร้างของเว็บไซต์ฟอรัมเป็นคำถามที่มีคำตอบเป็นหลัก เราขอแนะนำให้ใช้มาร์กอัปถามและตอบแทน หากโครงสร้างเป็นแบบกว้างๆ และปกติแล้วไม่ใช่เนื้อหาที่เป็นคำถามและคำตอบ การใช้
DiscussionForumPosting
อาจเป็นตัวเลือกที่ดีกว่า - ตรวจสอบว่า
DiscussionForumPosting
แต่ละรายการมีข้อความทั้งหมดของโพสต์และตรวจสอบว่าComment
แต่ละรายการมีข้อความของการตอบกลับทั้งหมดหากพบในหน้านั้น
หลักเกณฑ์ทางเทคนิค
- เราขอแนะนำให้ระบุมาร์กอัป
DiscussionForumPosting
ใน Microdata (หรือ RDFa) หากเป็นไปได้ ซึ่งต่างจากค่ากำหนดทั่วไปของ Structured Data ของเรา ทั้งนี้เพื่อป้องกันไม่ให้คุณต้องทำซ้ำบล็อกข้อความขนาดใหญ่ในมาร์กอัป อย่างไรก็ตาม นี่เป็นเพียงคำแนะนำและเรายังรองรับ JSON-LD อย่างเต็มรูปแบบอยู่
คำจำกัดความของประเภท Structured Data
ส่วนนี้จะอธิบายประเภท Structured Data ที่เกี่ยวข้องกับ DiscussionForumPosting
คุณต้องใส่พร็อพเพอร์ตี้ที่จำเป็นลงในเนื้อหาเพื่อให้มีสิทธิ์ใช้ใน Google Search คุณอาจใส่พร็อพเพอร์ตี้ที่แนะนำด้วยเพื่อให้ข้อมูลเพิ่มเติมเกี่ยวกับหน้าฟอรัมการสนทนา ซึ่งจะช่วยให้ประสบการณ์ของผู้ใช้ดียิ่งขึ้น
DiscussionForumPosting
(หรือ SocialMediaPosting
)
ประเภท DiscussionForumPosting
หมายถึงโพสต์ดั้งเดิมที่เป็นหัวข้อการสนทนา แม้ว่าโดยทั่วไปแล้วเนื้อหาประเภทนี้จะประกอบด้วยข้อความต่างๆ แต่ก็เป็นไปได้ที่จะมีการโพสต์ในฟอรัมที่มีเพียงเนื้อหาสื่อเท่านั้น
พร็อพเพอร์ตี้ที่จำเป็น | |
---|---|
|
Person หรือ
Organization
ข้อมูลเกี่ยวกับผู้เขียนโพสต์ โปรดทําตามแนวทางปฏิบัติแนะนําเกี่ยวกับมาร์กอัปผู้เขียนเพื่อช่วยให้ Google เข้าใจเกี่ยวกับผู้เขียนในฟีเจอร์ต่างๆ ได้ดีที่สุด ใส่พร็อพเพอร์ตี้ที่เป็นประโยชน์สำหรับผู้เขียนให้มากที่สุด โดยใช้พร็อพเพอร์ตี้ที่รองรับจาก Structured Data สำหรับบทความและหน้าโปรไฟล์เป็นแนวทาง |
|
Text
ชื่อผู้เขียนโพสต์ |
|
วันที่และเวลาสร้างโพสต์ในรูปแบบ ISO 8601 |
text หรือ image หรือ video ก็ได้ |
ในการแสดงเนื้อหาของโพสต์ คุณต้องมีหนึ่งในพร็อพเพอร์ตี้ต่อไปนี้รวมอยู่ด้วย แต่ไม่จำเป็นต้องดำเนินการนี้หากคุณแสดงโพสต์ในหน้าอื่น (ที่มี |
พร็อพเพอร์ตี้ที่แนะนำ | |
---|---|
|
ลิงก์ไปยังหน้าเว็บที่ระบุผู้เขียนโพสต์ได้อย่างไม่ซ้ำกัน ซึ่งโดยมากมักเป็นหน้าโปรไฟล์ของฟอรัม เราขอแนะนำให้มาร์กอัปหน้าดังกล่าวโดยใช้ Structured Data สำหรับหน้าโปรไฟล์ |
comment |
ความคิดเห็นหรือการตอบกลับโพสต์ (หากมี) มาร์กอัปความคิดเห็นตามลำดับที่ปรากฏในหน้า |
creativeWorkStatus |
เมื่อโพสต์ถูกลบไปแล้ว แต่ยังคงบริบทหรือชุดข้อความไว้ ให้ตั้งค่าพร็อพเพอร์ตี้นี้เป็น |
dateModified |
วันที่และเวลาที่แก้ไขโพสต์ในรูปแบบ ISO 8601 (หากมี) หากไม่มีการเปลี่ยนแปลงเกิดขึ้น คุณก็ไม่จำเป็นต้องทำซ้ำวันที่เผยแพร่ |
|
Text
ชื่อโพสต์ หากไม่มีชื่อแยกต่างหาก อย่าทำซ้ำหรือตัดข้อความออกจากบรรทัดแรก ไม่แนะนำสำหรับ |
image |
รูปภาพในหน้าภายในโพสต์ (หากมี) หากไม่มีรูปภาพ ก็ไม่ต้องใส่รูปภาพที่เป็นค่าเริ่มต้น ไอคอน หรือตัวยึดตำแหน่งในฟิลด์นี้ |
interactionStatistic |
สถิติของผู้ใช้ที่มีผลกับโพสต์หลัก (หากมี) Google รองรับ
|
isPartOf |
แหล่งที่มาหลักของโพสต์หากโพสต์เกิดขึ้นในส่วนที่เจาะจงของเว็บไซต์โดยรวม (หากมี)
เช่น ฟอรัมย่อยหรือกลุ่มภายในเว็บไซต์ขนาดใหญ่ หากใช้ |
|
CreativeWork
เนื้อหาหลักที่แชร์ในโพสต์ (หากมี) วิธีที่นิยมใช้กันมากที่สุดคือการแชร์ ตัวอย่างวิธีเพิ่มลิงก์ที่แชร์ในโพสต์ ... "sharedContent": { "@type": "WebPage", url: "https://example.com/external-url" } ... |
text |
ข้อความในโพสต์ (หากมี) กรณีนี้พบได้บ่อยมาก แต่ในบางกรณีอาจถูกละเว้นได้หากในโพสต์มีสื่ออื่นๆ |
|
URL
Canonical URL ของการสนทนา ในชุดข้อความที่มีหลายหน้า ให้ตั้งค่าพร็อพเพอร์ตี้นี้เป็น URL ของหน้าแรก สำหรับการสนทนารายการเดียว ซึ่งมักจะเป็น URL ปัจจุบัน |
video |
วิดีโอในหน้าภายในโพสต์ (หากมี) |
Comment
ประเภท Comment
หมายถึงความคิดเห็นใน CreativeWork
ต้นฉบับ ในกรณีนี้คือ DiscussionForumPosting
โดยมีพร็อพเพอร์ตี้หลายรายการเดียวกันพร้อมกับหลักเกณฑ์สำหรับ DiscussionForumPosting
พร็อพเพอร์ตี้ที่จำเป็น | |
---|---|
|
Person หรือ
Organization
ข้อมูลเกี่ยวกับผู้เขียนความคิดเห็น โปรดทําตามแนวทางปฏิบัติแนะนําเกี่ยวกับมาร์กอัปผู้เขียนเพื่อช่วยให้ Google เข้าใจเกี่ยวกับผู้เขียนในฟีเจอร์ต่างๆ ได้ดีที่สุด ใส่พร็อพเพอร์ตี้ที่เป็นประโยชน์สำหรับผู้เขียนให้มากที่สุด โดยใช้พร็อพเพอร์ตี้ที่รองรับจาก Structured Data สำหรับบทความและหน้าโปรไฟล์เป็นแนวทาง |
|
วันที่และเวลาที่มีการแสดงความคิดเห็นในรูปแบบ ISO 8601 หากไม่มีการเปลี่ยนแปลงเกิดขึ้น คุณก็ไม่จำเป็นต้องทำซ้ำวันที่เผยแพร่ |
text หรือ image หรือ video ก็ได้ |
ในการแสดงเนื้อหาของความคิดเห็น คุณต้องมีหนึ่งในพร็อพเพอร์ตี้ต่อไปนี้รวมอยู่ด้วย |
พร็อพเพอร์ตี้ที่แนะนำ | |
---|---|
|
ลิงก์ไปยังหน้าเว็บที่ระบุผู้เขียนความคิดเห็นไว้อย่างไม่ซ้ำกัน ซึ่งโดยมากมักเป็นหน้าโปรไฟล์ของฟอรัม เราขอแนะนำให้มาร์กอัปหน้าดังกล่าวโดยใช้ Structured Data สำหรับหน้าโปรไฟล์ |
comment |
ความคิดเห็นอื่นเกี่ยวกับหรือที่ตอบกลับความคิดเห็นดังกล่าว (หากมี) มาร์กอัปความคิดเห็นตามลำดับที่ปรากฏในหน้า |
creativeWorkStatus |
หากความคิดเห็นถูกลบไปแล้ว แต่ยังคงบริบทหรือชุดข้อความไว้ ให้ตั้งค่าพร็อพเพอร์ตี้นี้เป็น |
dateModified |
วันที่และเวลาที่แก้ไขความคิดเห็นครั้งล่าสุดในรูปแบบ ISO 8601 (หากมี) |
image |
รูปภาพในหน้าภายในความคิดเห็น (หากมี) หากไม่มีรูปภาพ ก็ไม่ต้องใส่รูปภาพที่เป็นค่าเริ่มต้น ไอคอน หรือตัวยึดตำแหน่งในฟิลด์นี้ |
interactionStatistic |
สถิติของผู้ใช้ที่ใช้กับความคิดเห็น (หากมี) Google รองรับ
|
|
CreativeWork
เนื้อหาหลักที่แชร์ในความคิดเห็น (หากมี) วิธีที่นิยมใช้กันมากที่สุดคือการแชร์ ตัวอย่างวิธีเพิ่มลิงก์ที่แชร์ในความคิดเห็น ... "sharedContent": { "@type": "WebPage", url: "https://example.com/external-url" } ... |
|
URL
URL ไปยังความคิดเห็นนี้ในหน้านี้ (หากมี) อย่ารวมพร็อพเพอร์ตี้นี้หากเป็นเพียง URL ของโพสต์ต้นฉบับ |
video |
วิดีโอในหน้าภายในความคิดเห็น (หากมี) |
InteractionCounter
InteractionCounter
จะอนุญาตให้เชื่อมโยงการนับจำนวนกับการโต้ตอบบางประเภท ซึ่งใช้ได้กับทั้ง 2 เนื้อหา (DiscussionForumPosting
และComment
) รวมถึงพร็อพเพอร์ตี้ author
พร็อพเพอร์ตี้ที่จำเป็น | |
---|---|
|
Integer
จำนวนครั้งที่มีการโต้ตอบนี้ |
|
ประเภทย่อยของ สำหรับรายการประเภทย่อยของ |
ตรวจสอบผลการค้นหาที่เป็นสื่อสมบูรณ์ด้วย Search Console
Search Console เป็นเครื่องมือที่ช่วยในการตรวจสอบประสิทธิภาพของหน้าเว็บใน Google Search คุณไม่จำเป็นต้องลงชื่อสมัครใช้ Search Console เพื่อให้เนื้อหาได้แสดงในผลการค้นหาของ Google แต่การลงชื่อสมัครใช้จะช่วยให้คุณเข้าใจและปรับปรุงวิธีที่ Google เห็นเว็บไซต์ได้ เราขอแนะนำให้ไปดูข้อมูลใน Search Console ในกรณีต่อไปนี้
- หลังจากทำให้ข้อมูลที่มีโครงสร้างใช้งานได้เป็นครั้งแรก
- หลังจากเผยแพร่เทมเพลตใหม่หรืออัปเดตโค้ด
- วิเคราะห์การเข้าชมเป็นระยะ
หลังจากทำให้ข้อมูลที่มีโครงสร้างใช้งานได้เป็นครั้งแรก
หลังจากที่ Google ได้จัดทำดัชนีหน้าของคุณแล้ว ให้ตรวจหาปัญหาโดยใช้รายงานสถานะผลการค้นหาที่เป็นสื่อสมบูรณ์ที่เกี่ยวข้อง ตามหลักแล้ว รายการที่ถูกต้องควรจะมีจํานวนเพิ่มขึ้น และรายการที่ไม่ถูกต้องไม่ควรจะมีจำนวนเพิ่มขึ้น หากพบปัญหาในข้อมูลที่มีโครงสร้าง ให้ทำดังนี้
- แก้ไขรายการที่ไม่ถูกต้อง
- ตรวจสอบ URL ที่เผยแพร่เพื่อดูว่ายังมีปัญหาอยู่หรือไม่
- ขอการตรวจสอบโดยใช้รายงานสถานะ
หลังจากเผยแพร่เทมเพลตใหม่หรืออัปเดตโค้ด
เมื่อทําการเปลี่ยนแปลงที่สําคัญในเว็บไซต์ ให้คอยตรวจสอบการเพิ่มขึ้นของรายการที่ไม่ถูกต้องของ Structured Data- หากเห็นว่าจำนวนรายการที่ไม่ถูกต้องเพิ่มขึ้น อาจเป็นเพราะคุณเผยแพร่เทมเพลตใหม่ที่ใช้งานไม่ได้ หรือเว็บไซต์โต้ตอบกับเทมเพลตที่มีอยู่ด้วยวิธีใหม่และไม่ถูกต้อง
- หากเห็นว่าจำนวนรายการที่ถูกต้องลดลง (ไม่สอดคล้องกับรายการที่ถูกต้องซึ่งเพิ่มขึ้น) บางทีอาจเป็นเพราะคุณไม่ได้ฝัง Structured Data ไว้ในหน้าอีกแล้ว ให้ใช้เครื่องมือตรวจสอบ URL เพื่อดูสาเหตุของปัญหา
วิเคราะห์การเข้าชมเป็นระยะ
วิเคราะห์การเข้าชมจาก Google Search โดยใช้รายงานประสิทธิภาพ ข้อมูลจะแสดงความถี่ที่หน้าปรากฏเป็นผลการค้นหาที่เป็นสื่อสมบูรณ์ใน Search ความถี่ที่ผู้ใช้คลิกหน้า และอันดับเฉลี่ยที่หน้าปรากฏในผลการค้นหา คุณจะใช้ Search Console API ดึงผลการค้นหาเหล่านี้โดยอัตโนมัติก็ได้เช่นกันTroubleshooting
If you're having trouble implementing or debugging structured data, here are some resources that may help you.
- If you're using a content management system (CMS) or someone else is taking care of your site, ask them to help you. Make sure to forward any Search Console message that details the issue to them.
- Google does not guarantee that features that consume structured data will show up in search results. For a list of common reasons why Google may not show your content in a rich result, see the General Structured Data Guidelines.
- You might have an error in your structured data. Check the list of structured data errors and the Unparsable structured data report.
- If you received a structured data manual action against your page, the structured data on the page will be ignored (although the page can still appear in Google Search results). To fix structured data issues, use the Manual Actions report.
- Review the guidelines again to identify if your content isn't compliant with the guidelines. The problem can be caused by either spammy content or spammy markup usage. However, the issue may not be a syntax issue, and so the Rich Results Test won't be able to identify these issues.
- Troubleshoot missing rich results / drop in total rich results.
- Allow time for re-crawling and re-indexing. Remember that it may take several days after publishing a page for Google to find and crawl it. For general questions about crawling and indexing, check the Google Search crawling and indexing FAQ.
- Post a question in the Google Search Central forum.