Data terstruktur FAQ (FAQPage, Question, Answer)

Hasil kaya FAQ di Google Penelusuran

Jika memiliki situs yang berfokus pada pemerintah atau kesehatan yang berisi daftar pertanyaan dan jawaban, Anda dapat menggunakan data terstruktur FAQPage untuk membantu orang menemukan informasi tersebut di Google. Halaman FAQ yang diberi markup dengan benar dapat memenuhi syarat untuk memiliki hasil multimedia di Penelusuran dan Action di Asisten Google, yang dapat membantu situs menjangkau pengguna yang tepat.

Ketersediaan fitur

Hasil multimedia FAQ hanya tersedia untuk situs kredibel dan terkenal yang berfokus pada pemerintahan atau kesehatan. Fitur ini tersedia di desktop dan perangkat seluler di semua negara dan bahasa tempat Google Penelusuran tersedia.

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.

  1. Add the required properties. Based on the format you're using, learn where to insert structured data on the page.
  2. Follow the guidelines.
  3. 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).
  4. 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.
  5. To keep Google informed of future changes, we recommend that you submit a sitemap. You can automate this with the Search Console Sitemap API.

Contoh

JSON-LD

Berikut adalah contoh FAQPage dalam JSON-LD:


<html>
  <head>
    <title>Finding an apprenticeship - Frequently Asked Questions(FAQ)</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "FAQPage",
      "mainEntity": [{
        "@type": "Question",
        "name": "How to find an apprenticeship?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "<p>We provide an official service to search through available apprenticeships. To get started, create an account here, specify the desired region, and your preferences. You will be able to search through all officially registered open apprenticeships.</p>"
        }
      }, {
        "@type": "Question",
        "name": "Whom to contact?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "You can contact the apprenticeship office through our official phone hotline above, or with the web-form below. We generally respond to written requests within 7-10 days."
        }
      }]
    }
    </script>
  </head>
  <body>
  </body>
</html>
Microdata

Berikut adalah contoh FAQPage dalam Microdata:


<html itemscope itemtype="https://schema.org/FAQPage">
<head></head>
<body>
  <h1>
    Frequently Asked Questions(FAQ)
  </h1>
  <div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
    <h2 itemprop="name">How to find an apprenticeship?</h2>
    <div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
      <div itemprop="text">
        We provide an official service to search through available apprenticeships. To get started, create an account here, specify the desired region, and your preferences. You will be able to search through all officially registered open apprenticeships.
      </div>
    </div>
  </div>
  <div itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
    <h2 itemprop="name">Whom to contact?</h2>
    <div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
      <div itemprop="text">
        You can contact the apprenticeship office through our official phone hotline above, or with the web-form below. We generally respond to written requests within 7-10 days.
      </div>
    </div>
  </div>
</body>
</html>

Panduan

Agar halaman FAQ Anda memenuhi syarat untuk hasil kaya FAQ, Anda harus mengikuti panduan berikut:

Panduan konten

  • Situs Anda harus merupakan situs kesehatan atau pemerintah. Situs tersebut juga harus dikenal luas dan kredibel.
  • Hanya gunakan FAQPage jika halaman Anda berisi FAQ tempat satu jawaban untuk setiap pertanyaan. Jika halaman Anda memiliki satu pertanyaan dan pengguna dapat mengirimkan jawaban alternatif, gunakan QAPage. Berikut beberapa contohnya:

    Kasus penggunaan yang valid:

    • Halaman FAQ yang ditulis oleh situs kesehatan itu sendiri tanpa memberi peluang bagi pengguna untuk mengirimkan jawaban alternatif
    • Halaman dukungan lembaga pemerintah yang mencantumkan FAQ, tanpa memberi kesempatan bagi pengguna untuk mengirimkan jawaban alternatif

    Kasus penggunaan yang tidak valid:

    • Halaman forum tempat pengguna dapat mengirimkan beberapa jawaban untuk satu pertanyaan
    • Halaman dukungan produk tempat pengguna dapat mengirimkan beberapa jawaban untuk satu pertanyaan
    • Halaman produk yang memungkinkan pengguna mengirimkan beberapa pertanyaan dan jawaban dalam satu halaman
  • Jangan gunakan FAQPage untuk tujuan iklan.
  • Pastikan setiap Question mencakup seluruh teks pertanyaan dan pastikan setiap Answer mencakup seluruh teks jawaban. Seluruh teks pertanyaan dan teks jawaban dapat ditampilkan.
  • Konten pertanyaan dan jawaban mungkin tidak ditampilkan sebagai hasil kaya jika berisi salah satu jenis konten berikut: vulgar, tidak sopan, eksplisit secara seksual, mengandung kekerasan yang gamblang, mendorong aktivitas berbahaya atau ilegal, maupun ujaran kebencian atau pelecehan.
  • Semua konten FAQ harus dapat dilihat oleh pengguna di halaman sumber. Berikut beberapa contohnya:

    Kasus penggunaan yang valid:

    • Pertanyaan dan jawaban terlihat di halaman.
    • Pertanyaan terlihat di halaman dan jawabannya tersembunyi di balik bagian yang dapat diluaskan. Pengguna dapat mengakses jawaban dengan mengklik bagian yang dapat diluaskan.

    Kasus penggunaan yang tidak valid: Pengguna sama sekali tidak dapat menemukan konten FAQ di halaman.

  • Jika Anda memiliki konten FAQ yang berulang di situs Anda (artinya, pertanyaan dan jawaban yang sama muncul di beberapa halaman di situs), cukup markup satu instance dari FAQ tersebut untuk seluruh situs Anda.

Definisi jenis data terstruktur

Anda harus menyertakan properti wajib agar konten Anda memenuhi syarat untuk ditampilkan sebagai hasil kaya. Anda juga dapat menyertakan properti yang direkomendasikan untuk menambahkan informasi lainnya ke data terstruktur. Hal ini bisa memberikan pengalaman pengguna yang lebih baik.

FAQPage

Definisi lengkap FAQPage disediakan di schema.org.

Jenis FAQPage menunjukkan bahwa halaman tersebut adalah FAQ dengan pertanyaan yang sudah dijawab. Harus ada satu definisi jenis FAQPage per halaman.

Properti yang didukung Google adalah sebagai berikut:

Properti wajib
mainEntity Question

Array elemen Question yang berisi daftar pertanyaan yang sudah dijawab terkait topik FAQPage ini. Anda harus menentukan setidaknya satu item Question yang valid. Satu item Question mencakup pertanyaan dan jawaban.

Question

Definisi lengkap Question tersedia di schema.org.

Jenis Question menjelaskan satu pertanyaan yang sudah dijawab dalam FAQ. Setiap instance Question harus berada dalam array properti mainEntity dari schema.org/FAQPage.

Properti yang didukung Google adalah sebagai berikut:

Properti wajib
acceptedAnswer Answer

Jawaban atas pertanyaan. Harus ada satu jawaban per pertanyaan.

name Text

Teks lengkap pertanyaan. Misalnya, "Berapa lama waktu yang diperlukan untuk memproses pengembalian dana?".

Answer

Definisi lengkap Answer tersedia di schema.org.

Jenis Answer menjelaskan acceptedAnswer untuk masing-masing Question di halaman ini.

Properti yang didukung Google adalah sebagai berikut:

Properti wajib
text Text

Jawaban lengkap atas pertanyaan. Jawaban dapat berisi konten HTML, seperti link dan daftar. Google Penelusuran menampilkan tag HTML berikut: <h1> sampai <h6>, <br>, <ol>, <ul>, <li>, <a>, <p>, <div>, <b>, <strong>, <i>, dan <em>. Semua tag lain akan diabaikan.

Monitor rich results with Search Console

Search Console is a tool that helps you monitor how your pages perform in Google Search. You don't have to sign up for Search Console to be included in Google Search results, but it can help you understand and improve how Google sees your site. We recommend checking Search Console in the following cases:

  1. After deploying structured data for the first time
  2. After releasing new templates or updating your code
  3. Analyzing traffic periodically

After deploying structured data for the first time

After Google has indexed your pages, look for issues using the relevant Rich result status report. Ideally, there will be an increase of valid items, and no increase in invalid items. If you find issues in your structured data:

  1. Fix the invalid items.
  2. Inspect a live URL to check if the issue persists.
  3. Request validation using the status report.

After releasing new templates or updating your code

When you make significant changes to your website, monitor for increases in structured data invalid items.
  • If you see an increase in invalid items, perhaps you rolled out a new template that doesn't work, or your site interacts with the existing template in a new and bad way.
  • If you see a decrease in valid items (not matched by an increase in invalid items), perhaps you are no longer embedding structured data in your pages. Use the URL Inspection tool to learn what is causing the issue.

Analyzing traffic periodically

Analyze your Google Search traffic using the Performance Report. The data will show you how often your page appears as a rich result in Search, how often users click on it and what is the average position you appear on search results. You can also automatically pull these results with the 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.