DEV Community

relativelyrehan for XenoX

Posted on

What is Structured Data for Advanced SEO?

Have you ever searched for some product online and get a result like this from the google? Do you also want your search results to come up with all this information? This can all be achieved using Structured Data.

Screenshot-2021-07-16-at-4.21.40-PM

Structured data is, giving important information about your website to help search engines show your results at the top with all the important information you want to convey to your customers. This might include the price of your product, discounts, reviews, ratings, etc.

You can help us by providing explicit clues about the meaning of a page to Google by including structured data on the page. Structured data is a standardised format for providing information about a page and classifying the page content; for example, on a recipe page, what are the ingredients, the cooking time and temperature, the calories, and so on.

  • Google

Here is an example of structured data for a product from our platform https://prototion.com/

<script type="application/ld+json">{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Notion Library Template",
  "author" : {
    "@type" : "Person",
    "name" : "Patrick"
  },
  "image": "https://someimageur.png",
  "description": "Use this template to plan all your content in one place, including the channel it is posted on, the type of content it is (photo, video)",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "5",
    "reviewCount": 38,
    "bestRating": "5",
    "worstRating": "5"
  }
}</script>

Enter fullscreen mode Exit fullscreen mode

JSON-LD is a format to create a unified structured data vocabulary for the web. If you want to read more about JSON-LD, then read this https://json-ld.org/. But I want to focus here on how you can use it in your projects to use SEO for maximum traction.

Let us now break down what is happening in this script tag. First, we define the format for content and type. The type may be product, blog, etc. Then we are provided with more information such as name, image, etc. Then we move to provide ratings. We can also provide additional information depending upon the use case. Here is an amazing tool to generate all sorts of json-ld for free. JSONLD.

When all set and done, this is the end result. You can test your json-ld before going live using this tool provided by google.

Screenshot-2021-07-16-at-4.55.43-PM

That's it folks. I hope you will now implement the structure data in your projects and make it to the top in the SEO game.

@relativelyrehan

Discussion (0)