PoolByte

Structured data: Describe your content with Schema.org and JSON-LD

· PoolByte Technology

Structured data: Describe your content with Schema.org and JSON-LD

When a person reads your page, they can easily tell that it's a product page, what the price is, and whether it's in stock. Search engines also try to understand the page, but extracting this information from the text is not always easy. Structured data allows you to describe important information on your page in a directly machine-readable format with a standard dictionary.

This standard dictionary is Schema.org; The writing format recommended by Google is JSON-LD. Proper markup can make your page eligible to appear in search results with rich results like price, reviews, or breadcrumbs. However, marking does not guarantee this appearance; Google's display decision depends on many factors.

Which types are useful to you?

Here are the most commonly used markups depending on your site type:

  • Organization: company name, logo, website and social profiles. It is usually added to the home page.
  • LocalBusiness: address, phone and hours of operation for businesses with a physical address.
  • Product and Offer: product name, image, price, currency and availability.
  • Article or BlogPosting: title, author and publication date of blog posts.
  • BreadcrumbList: breadcrumb that shows the page's location within the site.

The types of rich results Google supports change over time. FAQ and how-to results were largely removed in 2023, with some other types also being simplified in subsequent years. Check out the current listing in Google's search gallery before planning to bookmark.

A simple example with JSON-LD

JSON-LD is a separate script block added to the HTML code of the page and does not affect the visible content. Basic Organization markup for a company might look like this:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Örnek Teknoloji Ltd.",
  "url": "https://www.ornek.com.tr",
  "logo": "https://www.ornek.com.tr/logo.png",
  "sameAs": [
    "https://www.linkedin.com/company/ornek",
    "https://www.instagram.com/ornek"
  ]
}
</script>

When replacing values with your own information, make sure the addresses are complete and accessible. The logo file can be square or landscape; but it must be open to crawling by search engines.

Markup must be compatible with visible content

The most important rule of structured data is that it reflects the information displayed to the user on the page. Marking a discount that doesn't exist on the page, reviews that don't actually exist, or a different price is against Google guidelines and may result in manual action.

Comments collected by the business and published on its own site are not shown as star results in the LocalBusiness and Organization types. Real customer reviews can be marked on product pages.

Be sure to test it

After adding the markup, check it with two tools. Google's Rich Results Test shows which rich result types your page qualifies for and any missing required fields. Schema.org's validation tool checks for syntax errors independently of Google-specific rules.

Watch development reports in Search Console after publication. These reports collect errors from thousands of pages into a single screen and allow you to detect early if a theme update has broken markup. We explained how to interpret Search Console data in our performance analysis guide.

Common mistakes

The most common problems in practice are:

  1. Theme and plugin add the same type twice, with different values.
  2. Writing the price without a currency or in local format, for example "€1,299.90". Price should be given in separate fields such as 1299.90, currency TRY.
  3. An out-of-stock product still appears to be in stock.
  4. Copying the Organization information on the home page in different formats to each page.
  5. Marking is done for hidden content that is not shown to the user.

It is important for e-commerce sites to automatically match product information with the source. For the preparation of product pages, you can take a look at our e-commerce product page guide.

Frequently asked questions

Does structured data directly increase rankings?

Google states that structured data is not a general ranking factor. However, it helps to ensure that your content is understood correctly and becomes suitable for rich results; This can positively affect the click-through rate.

Does FAQ markup still work?

Starting in 2023, Google only shows FAQ rich results on well-known and authoritative government and healthcare sites. Marking does not hurt, but for most commercial sites no visible change in the search result should be expected.

Official sources