Data terstruktur cuplikan produk (Product, Review, Offer)

tampilan cuplikan produk di hasil penelusuran

Jika ditambahkan ke halaman, markup Product dapat memenuhi syarat untuk ditampilkan sebagai cuplikan produk, yang merupakan hasil teks yang menyertakan informasi produk tambahan seperti rating, informasi ulasan, harga, dan ketersediaan.

Panduan ini berfokus pada persyaratan data terstruktur Product untuk cuplikan produk. Jika Anda tidak yakin markup mana yang harus digunakan, baca pengantar markup Product dari kami.

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

Contoh berikut menggambarkan cara menyertakan data terstruktur di halaman web Anda untuk berbagai situasi.

Halaman ulasan produk

Berikut contoh data terstruktur di halaman ulasan produk untuk format cuplikan produk di hasil penelusuran.

JSON-LD


 <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>

RDFa


 <html>
  <head>
    <title>Executive Anvil</title>
  </head>
  <body>
    <div typeof="schema:Product">
        <div rel="schema:review">
          <div typeof="schema:Review">
            <div rel="schema:reviewRating">
              <div typeof="schema:Rating">
                <div property="schema:ratingValue" content="4"></div>
                <div property="schema:bestRating" content="5"></div>
              </div>
            </div>
            <div rel="schema:author">
              <div typeof="schema:Person">
                <div property="schema:name" content="Fred Benson"></div>
              </div>
            </div>
          </div>
        </div>
        <div property="schema:name" content="Executive Anvil"></div>
        <div property="schema:description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height."></div>
        <div rel="schema:aggregateRating">
          <div typeof="schema:AggregateRating">
            <div property="schema:reviewCount" content="89"></div>
            <div property="schema:ratingValue" content="4.4"></div>
          </div>
        </div>
      </div>
  </body>
</html>

Microdata


 <html>
  <head>
    <title>Executive Anvil</title>
  </head>
  <body>
  <div>
    <div itemtype="https://schema.org/Product" itemscope>
      <meta itemprop="name" content="Executive Anvil" />
      <meta itemprop="description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height." />
      <div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope>
        <meta itemprop="reviewCount" content="89" />
        <meta itemprop="ratingValue" content="4.4" />
      </div>
      <div itemprop="review" itemtype="https://schema.org/Review" itemscope>
        <div itemprop="author" itemtype="https://schema.org/Person" itemscope>
          <meta itemprop="name" content="Fred Benson" />
        </div>
        <div itemprop="reviewRating" itemtype="https://schema.org/Rating" itemscope>
          <meta itemprop="ratingValue" content="4" />
          <meta itemprop="bestRating" content="5" />
        </div>
      </div>
    </div>
  </div>
  </body>
</html>

Kelebihan dan kekurangan

Berikut contoh halaman ulasan produk editorial dengan informasi kelebihan dan kekurangan untuk format cuplikan produk di hasil penelusuran.

Contoh tampilan visual kelebihan dan kekurangan di hasil penelusuran

JSON-LD


 <html>
  <head>
    <title>Cheese Knife Pro review</title>
    <script type="application/ld+json">
      {
        "@context": "https://schema.org",
        "@type": "Product",
        "name": "Cheese Grater Pro",
        "review": {
          "@type": "Review",
          "name": "Cheese Knife Pro review",
          "author": {
            "@type": "Person",
            "name": "Pascal Van Cleeff"
          },
          "positiveNotes": {
            "@type": "ItemList",
            "itemListElement": [
              {
                "@type": "ListItem",
                "position": 1,
                "name": "Consistent results"
              },
              {
                "@type": "ListItem",
                "position": 2,
                "name": "Still sharp after many uses"
              }
            ]
          },
          "negativeNotes": {
            "@type": "ItemList",
            "itemListElement": [
              {
                "@type": "ListItem",
                "position": 1,
                "name": "No child protection"
              },
              {
                "@type": "ListItem",
                "position": 2,
                "name": "Lacking advanced features"
              }
            ]
          }
        }
      }
    </script>
  </head>
  <body>
  </body>
</html>

RDFa


 <html>
  <head>
    <title>Cheese Knife Pro review</title>
  </head>
  <body>
    <div typeof="schema:Product">
      <div property="schema:name" content="Cheese Knife Pro review"></div>
        <div rel="schema:review">
          <div typeof="schema:Review">
            <div rel="schema:positiveNotes">
              <div typeof="schema:ItemList">
                <div rel="schema:itemListElement">
                  <div typeof="schema:ListItem">
                    <div property="schema:position" content="1"></div>
                    <div property="schema:name" content="Consistent results"></div>
                  </div>
                  <div typeof="schema:ListItem">
                    <div property="schema:position" content="2"></div>
                    <div property="schema:name" content="Still sharp after many uses"></div>
                  </div>
                </div>
              </div>
            </div>
            <div rel="schema:negativeNotes">
              <div typeof="schema:ItemList">
                <div rel="schema:itemListElement">
                  <div typeof="schema:ListItem">
                    <div property="schema:position" content="1"></div>
                    <div property="schema:name" content="No child protection"></div>
                  </div>
                  <div typeof="schema:ListItem">
                    <div property="schema:position" content="2"></div>
                    <div property="schema:name" content="Lacking advanced features"></div>
                  </div>
                </div>
              </div>
            </div>
            <div rel="schema:author">
              <div typeof="schema:Person">
                <div property="schema:name" content="Pascal Van Cleeff"></div>
              </div>
            </div>
          </div>
        </div>
      </div>
  </body>
</html>

Microdata


 <html>
  <head>
    <title>Cheese Knife Pro review</title>
  </head>
  <body>
    <div itemtype="https://schema.org/Product" itemscope>
      <meta itemprop="name" content="Cheese Knife Pro" />
      <div itemprop="review" itemtype="https://schema.org/Review" itemscope>
        <div itemprop="author" itemtype="https://schema.org/Person" itemscope>
          <meta itemprop="name" content="Pascal Van Cleeff" />
        </div>
        <div itemprop="positiveNotes" itemtype="https://schema.org/ItemList" itemscope>
          <div itemprop="itemListElement" itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="position" content="1" />
            <meta itemprop="name" content="Consistent results" />
          </div>
          <div itemprop="itemListElement" itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="position" content="2" />
            <meta itemprop="name" content="Still sharp after many uses" />
          </div>
        </div>
        <div itemprop="negativeNotes" itemtype="https://schema.org/ItemList" itemscope>
          <div itemprop="itemListElement" itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="position" content="1" />
            <meta itemprop="name" content="No child protection" />
          </div>
          <div itemprop="itemListElement" itemtype="https://schema.org/ListItem" itemscope>
            <meta itemprop="position" content="2" />
            <meta itemprop="name" content="Lacking advanced features" />
          </div>
        </div>
      </div>
    </div>
  </body>
</html>

Halaman agregator belanja

Berikut contoh halaman agregator belanja untuk format cuplikan produk di hasil penelusuran.

JSON-LD


<html>
  <head>
    <title>Executive Anvil</title>
    <script type="application/ld+json">
      {
        "@context": "https://schema.org/",
        "@type": "Product",
        "name": "Executive Anvil",
        "image": [
          "https://example.com/photos/1x1/photo.jpg",
          "https://example.com/photos/4x3/photo.jpg",
          "https://example.com/photos/16x9/photo.jpg"
         ],
        "description": "Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height.",
        "sku": "0446310786",
        "mpn": "925872",
        "brand": {
          "@type": "Brand",
          "name": "ACME"
        },
        "review": {
          "@type": "Review",
          "reviewRating": {
            "@type": "Rating",
            "ratingValue": 4,
            "bestRating": 5
          },
          "author": {
            "@type": "Person",
            "name": "Fred Benson"
          }
        },
        "aggregateRating": {
          "@type": "AggregateRating",
          "ratingValue": 4.4,
          "reviewCount": 89
        },
        "offers": {
          "@type": "AggregateOffer",
          "offerCount": 5,
          "lowPrice": 119.99,
          "highPrice": 199.99,
          "priceCurrency": "USD"
        }
      }
    </script>
  </head>
  <body>
  </body>
</html>

RDFa


 <html>
  <head>
    <title>Executive Anvil</title>
  </head>
  <body>
    <div typeof="schema:Product">
      <div rel="schema:review">
        <div typeof="schema:Review">
          <div rel="schema:reviewRating">
            <div typeof="schema:Rating">
              <div property="schema:ratingValue" content="4"></div>
              <div property="schema:bestRating" content="5"></div>
            </div>
          </div>
          <div rel="schema:author">
            <div typeof="schema:Person">
              <div property="schema:name" content="Fred Benson"></div>
            </div>
          </div>
        </div>
      </div>
      <div rel="schema:aggregateRating">
        <div typeof="schema:AggregateRating">
          <div property="schema:reviewCount" content="89"></div>
          <div property="schema:ratingValue" content="4.4"></div>
        </div>
      </div>
      <div rel="schema:image" resource="https://example.com/photos/4x3/photo.jpg"></div>
      <div property="schema:mpn" content="925872"></div>
      <div property="schema:name" content="Executive Anvil"></div>
      <div property="schema:description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height."></div>
      <div rel="schema:image" resource="https://example.com/photos/1x1/photo.jpg">
      </div>
      <div rel="schema:brand">
        <div typeof="schema:Brand">
          <div property="schema:name" content="ACME"></div>
        </div>
      </div>
      <div rel="schema:offers">
        <div typeof="schema:AggregateOffer">
          <div property="schema:offerCount" content="5"></div>
          <div property="schema:lowPrice" content="119.99"></div>
          <div property="schema:highPrice" content="199.99"></div>
          <div property="schema:priceCurrency" content="USD"></div>
          <div rel="schema:url" resource="https://example.com/anvil"></div>
        </div>
      </div>
      <div rel="schema:image" resource="https://example.com/photos/16x9/photo.jpg"></div>
      <div property="schema:sku" content="0446310786"></div>
    </div>
  </body>
</html>

Microdata


 <html>
  <head>
    <title>Executive Anvil</title>
  </head>
  <body>
  <div>
    <div itemtype="https://schema.org/Product" itemscope>
      <meta itemprop="mpn" content="925872" />
      <meta itemprop="name" content="Executive Anvil" />
      <link itemprop="image" href="https://example.com/photos/16x9/photo.jpg" />
      <link itemprop="image" href="https://example.com/photos/4x3/photo.jpg" />
      <link itemprop="image" href="https://example.com/photos/1x1/photo.jpg" />
      <meta itemprop="description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height." />
      <div itemprop="offers" itemtype="https://schema.org/AggregateOffer" itemscope>
        <meta itemprop="lowPrice" content="119.99" />
        <meta itemprop="highPrice" content="199.99" />
        <meta itemprop="offerCount" content="6" />
        <meta itemprop="priceCurrency" content="USD" />
      </div>
      <div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope>
        <meta itemprop="reviewCount" content="89" />
        <meta itemprop="ratingValue" content="4.4" />
      </div>
      <div itemprop="review" itemtype="https://schema.org/Review" itemscope>
        <div itemprop="author" itemtype="https://schema.org/Person" itemscope>
          <meta itemprop="name" content="Fred Benson" />
        </div>
        <div itemprop="reviewRating" itemtype="https://schema.org/Rating" itemscope>
          <meta itemprop="ratingValue" content="4" />
          <meta itemprop="bestRating" content="5" />
        </div>
      </div>
      <meta itemprop="sku" content="0446310786" />
      <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope>
        <meta itemprop="name" content="ACME" />
      </div>
    </div>
  </div>
  </body>
</html>

Panduan

Agar markup Product memenuhi syarat untuk cuplikan produk, Anda harus mengikuti panduan ini:

Panduan teknis

  • Saat ini, hasil multimedia produk hanya mendukung halaman yang berfokus pada satu produk (atau beberapa varian dari produk yang sama). Misalnya, "sepatu di toko kami" bukan merupakan produk tertentu. Hasil ini mencakup setiap varian produk yang memiliki URL berbeda. Sebaiknya berfokuslah pada penambahan markup ke halaman produk, bukan halaman yang mencantumkan daftar produk atau kategori produk.
  • Untuk mengetahui detail tentang cara memberi markup varian produk, lihat dokumentasi data terstruktur varian produk.
  • Saat menawarkan produk untuk dijual dalam beberapa mata uang, Anda harus memiliki URL yang berbeda untuk setiap mata uang. Misalnya, jika produk tersedia untuk dijual dalam dolar Kanada dan dolar Amerika Serikat, gunakan dua URL yang berbeda, satu untuk tiap mata uang.
  • Car tidak otomatis didukung sebagai subjenis Product. Untuk saat ini, sertakan jenis Car dan Product jika Anda ingin melampirkan rating dan memenuhi syarat untuk fitur Penelusuran. Misalnya di JSON-LD:
    {
      "@context": "https://schema.org",
      "@type": ["Product", "Car"],
      ...
    }
  • Untuk data terstruktur kelebihan dan kekurangan: Hanya halaman ulasan produk editorial yang memenuhi syarat untuk menampilkan kelebihan dan kekurangan di Penelusuran, bukan halaman produk penjual atau ulasan produk pelanggan.
  • Jika Anda adalah penjual yang mengoptimalkan semua jenis hasil belanja, sebaiknya masukkan data terstruktur Product di HTML awal untuk hasil terbaik.
  • Untuk markup Product yang dibuat JavaScript: Perhatikan bahwa markup yang dibuat secara dinamis dapat membuat Shopping lebih jarang meng-crawl dan kurang andal. Hal ini dapat menyebabkan masalah bagi konten yang cepat berubah seperti ketersediaan produk dan harga. Jika Anda menggunakan JavaScript untuk membuat markup Product, pastikan server Anda memiliki resource komputasi yang memadai untuk menangani peningkatan traffic dari Google.

Panduan konten

  • Kami tidak mengizinkan konten yang mempromosikan barang, layanan, atau informasi yang dilarang secara luas atau diatur oleh hukum dan dapat menyebabkan bahaya serius, langsung, atau jangka panjang bagi orang lain. Hal ini mencakup konten yang berkaitan dengan senjata api dan senjata lainnya, narkoba, produk tembakau dan vape, serta produk terkait perjudian.

Definisi jenis data terstruktur

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

Product

Definisi lengkap Product tersedia di schema.org/Product. Saat memberi markup pada konten untuk informasi produk, gunakan properti dari jenis Product berikut:

Properti wajib
name

Text

Nama produk.

Cuplikan produk memerlukan review, aggregateRating, atau offers

Anda harus menyertakan salah satu properti berikut:

  • review
  • aggregateRating
  • offers
Properti yang direkomendasikan
aggregateRating

AggregateRating

aggregateRating bertingkat di produk. Ikuti Panduan cuplikan ulasan dan daftar properti AggregateRating yang wajib dan direkomendasikan.

offers

Offer atau AggregateOffer

Offer atau AggregateOffer yang disusun bertingkat untuk menjual produk. Sertakan properti yang wajib dan direkomendasikan untuk Offer atau AggregateOffer (mana saja yang berlaku untuk konten Anda).

Agar memenuhi syarat untuk pengoptimalan penurunan harga, gunakan Offer, bukan AggregateOffer.

review

Review

Review bertingkat di produk. Ikuti Panduan cuplikan ulasan dan daftar properti ulasan yang wajib dan direkomendasikan.

Jika Anda menambahkan ulasan untuk produk, nama pengulas harus berupa nama yang valid untuk Person atau Team.

Tidak direkomendasikan: Diskon 50% selama Black Friday

Direkomendasikan: "Andi Setiawan" atau "Pengulas InfoGadget"

Untuk memberi tahu Google secara manual tentang kelebihan dan kekurangan di halaman ulasan produk editorial, tambahkan properti positiveNotes dan/atau negativeNotes ke ulasan produk yang disusun bertingkat.

Ulasan Produk

Review

Karena ulasan juga digunakan bersama oleh beberapa jenis data terstruktur (seperti Recipe dan Movie), jenis Review dijelaskan secara terpisah dalam dokumentasi cuplikan ulasan.

Berikut adalah properti tambahan untuk jenis Review, yang dapat membantu pengguna melihat ringkasan penting terkait kelebihan dan kekurangan pada ulasan produk editorial. Pengalaman kelebihan dan kekurangan tersedia dalam bahasa Belanda, Inggris, Prancis, Jerman, Italia, Jepang, Polandia, Portugis, Spanyol, dan Turkiye di semua negara tempat Google Penelusuran tersedia.

Sembari Google mencoba untuk memahami secara otomatis kelebihan dan kekurangan pada ulasan produk editorial, Anda dapat memberikan informasi ini secara eksplisit dengan menambahkan properti positiveNotes dan/atau negativeNotes ke ulasan produk yang disusun bertingkat. Pastikan untuk mengikuti panduan kelebihan dan kekurangan.

Properti wajib
Dua pernyataan tentang produk Anda harus memberikan setidaknya dua pernyataan tentang produk dalam kombinasi pernyataan positif atau negatif (misalnya, markup ItemList dengan dua pernyataan positif akan memenuhi syarat):
Properti yang direkomendasikan
negativeNotes

ItemList (lihat ItemList untuk Catatan Positif dan Negatif yang membahas tentang penggunaan ItemList dalam konteks ini)

Daftar yang disusun bertingkat dan bersifat opsional untuk pernyataan negatif tentang produk (kekurangan).

Untuk mencantumkan beberapa pernyataan negatif, tentukan beberapa properti ListItem dalam array itemListElement. Contoh:

"review": {
  "@type": "Review",
  "negativeNotes": {
    "@type": "ItemList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "No child protection"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Lacking advanced features"
      }
    ]
  }
}
positiveNotes

ItemList (lihat ItemList untuk Catatan Positif dan Negatif yang membahas tentang penggunaan ItemList dalam konteks ini)

Daftar yang disusun bertingkat dan bersifat opsional untuk pernyataan positif tentang produk (kelebihan).

Untuk mencantumkan beberapa pernyataan positif, tentukan beberapa properti ListItem dalam array itemListElement. Contoh:

"review": {
  "@type": "Review",
  "positiveNotes": {
    "@type": "ItemList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Consistent results"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Still sharp after many uses"
      }
    ]
  }
}

ItemList untuk Catatan Positif dan Negatif

Catatan positif dan negatif (kelebihan dan kekurangan) dalam jenis Review memanfaatkan jenis ItemList dan ListItem generik. Bagian ini menjelaskan cara menggunakan jenis tersebut untuk catatan positif dan negatif.

Properti berikut digunakan untuk menangkap kelebihan dan kekurangan dalam ulasan.

Properti wajib
itemListElement

ListItem

Daftar pernyataan tentang produk, yang tercantum dalam urutan tertentu. Tentukan setiap pernyataan dengan ListItem.

itemListElement.name

Text

Pernyataan penting ulasan.

Properti yang direkomendasikan
itemListElement.position

Integer

Posisi ulasan. Posisi 1 menandakan pernyataan pertama dalam daftar.

Detail penawaran

Offer

Definisi lengkap Offer tersedia di schema.org/Offer. Saat memberi markup pada penawaran dalam suatu produk, gunakan properti dari jenis Offer schema.org berikut.

Properti wajib
price atau priceSpecification.price

Number

Harga penawaran produk. Ikuti panduan penggunaan schema.org.

Berikut contoh properti price (nilainya dapat berupa angka atau string JSON):

"offers": {
  "@type": "Offer",
  "price": 39.99,
  "priceCurrency": "USD"
}

Berikut adalah contoh cara menentukan apakah produk tersedia tanpa membayar:

"offers": {
  "@type": "Offer",
  "price": 0,
  "priceCurrency": "EUR"
}

Atau, harga penawaran dapat disusun bertingkat dalam properti priceSpecification, alih-alih ditempatkan di tingkat Offer.

"offers": {
  "@type": "Offer",
  "priceSpecification": {
    "@type": "PriceSpecification",
    "price": 9.99,
    "priceCurrency": "AUD"
  }
}
Properti yang direkomendasikan
availability

ItemAvailability

Gunakan satu opsi ketersediaan produk yang paling sesuai dari daftar berikut.

  • https://schema.org/BackOrder: Item dalam pemesanan kembali.
  • https://schema.org/Discontinued: Item telah dihentikan.
  • https://schema.org/InStock: Item tersedia.
  • https://schema.org/InStoreOnly: Item hanya tersedia untuk dibeli di toko.
  • https://schema.org/LimitedAvailability: Item memiliki ketersediaan terbatas.
  • https://schema.org/OnlineOnly: Item hanya tersedia secara online.
  • https://schema.org/OutOfStock: Item saat ini stoknya habis.
  • https://schema.org/PreOrder: Item tersedia untuk praorder.
  • https://schema.org/PreSale: Item tersedia untuk dipesan dan dikirim sebelum ketersediaan umum.
  • https://schema.org/SoldOut: Item telah terjual habis.

Nama pendek tanpa awalan URL juga didukung (misalnya BackOrder).

priceCurrency atau priceSpecification.priceCurrency

Text

Mata uang yang digunakan untuk mendeskripsikan harga produk, ditulis dalam format ISO 4217 tiga huruf.

Saat ini, properti ini direkomendasikan untuk cuplikan produk guna membantu Google menentukan mata uang dengan lebih akurat, tetapi properti ini diwajibkan untuk panel listingan produk. Jadi, sebaiknya selalu sediakan properti ini.

priceValidUntil

Date

Tanggal batas tersedianya harga (dalam format tanggal ISO 8601), jika berlaku. Cuplikan produk Anda mungkin tidak ditampilkan jika properti priceValidUntil menunjukkan tanggal yang sudah berlalu.

UnitPriceSpecification

Definisi lengkap UnitPriceSpecification tersedia di schema.org/UnitPriceSpecification. Gunakan properti berikut untuk menangkap skema harga yang lebih kompleks.

Properti wajib
price

Number

Harga penawaran produk. Lihat juga properti price dari Offer.

Properti yang direkomendasikan
priceCurrency

Text

Mata uang yang digunakan untuk mendeskripsikan harga produk, ditulis dalam format ISO 4217 tiga huruf. Lihat juga properti priceCurrency dari Offer.

Meskipun bersifat opsional untuk cuplikan produk, properti ini sangat direkomendasikan karena dapat menghindari ambiguitas harga. Properti ini juga diwajibkan untuk panel listingan produk.

AggregateOffer

Definisi lengkap AggregateOffer tersedia di schema.org/AggregateOffer. AggregateOffer adalah sejenis Offer yang mewakili agregasi penawaran lainnya. Misalnya, properti ini dapat digunakan untuk produk yang dijual oleh beberapa penjual. Jangan gunakan AggregateOffer untuk mendeskripsikan kumpulan varian produk. Saat memberi markup pada penawaran gabungan dalam suatu produk, gunakan properti dari jenis AggregateOffer schema.org berikut:

Properti wajib
lowPrice

Number

Harga terendah untuk semua penawaran yang tersedia. Gunakan pemisah desimal (.) saat menyatakan pecahan dari unit mata uang, seperti 1,23 untuk US$1,23.

priceCurrency

Text

Mata uang yang digunakan untuk mendeskripsikan harga produk, ditulis dalam format ISO 4217 tiga huruf.

Properti yang direkomendasikan
highPrice

Number

Harga tertinggi untuk semua penawaran yang tersedia. Gunakan bilangan floating point jika diperlukan.

offerCount

Number

Jumlah penawaran untuk produk.

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.

Ada dua laporan Search Console terkait data terstruktur Product:

Kedua laporan tersebut memberikan peringatan dan error terkait data terstruktur Product, tetapi bersifat terpisah karena persyaratan yang berbeda untuk pengalaman terkait. Misalnya, Laporan listingan penjual mencakup pemeriksaan untuk cuplikan produk yang menyertakan data terstruktur Offer, sehingga laporan Cuplikan produk hanya perlu dijadikan rujukan untuk halaman listingan non-penjual.

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.