How make your content appear in the first results on google search?
That’s the one million dollar question (probably more).
There are a lot of things to do around Search engine optimization (SEO), and probably the use of structured data is one of the most overlooked tools that you’d probably be interred in after reading this article.
Use structured data to help Google understand the content of your site and enable special Search result features for your pages. If you're not sure which feature to add, explore our search gallery. Read more about product-search here
So, how can you use “Structured data” on your website?
We’ll, there are a few options, I’m going to show you how the code looks like using an example for an article page, found on the schema.org website:
- Using the right HTML tags:
Probably you already are doing this, using
<h1> tags for the main title,
<p> tags for each paragraph and so on.
- Using micro data:
This is more specific, as you can see, there are a few new properties in the content like
This is hard to maintain especially when you have dynamic content.
Similar to the previous example, but with a different specification. I won’t get in too much detail here, but if you are interested you can learn more about it by visiting the following link: RDFa
- JSON-LD: This is something that we all developers know: valid JSON objects.
As you can see, it is just a JSON object, with a specific structure that you can add at the top of each page.
Following the schema
Depending on the content of each page (review, events, post, article, person, organization), You’ll have to use a different data structure.
If you go to schema.org, you will see the documentation to each schema you may want to implement in your site.
Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.
Another excellent resource is JSON-LD - JSON for Linking Data
How to validate your JSON-LD schema?
There is a testing tool developed by Google that you can use to either crawl a public website to validate or paste any HTML code (useful during development) to test the JSON object.
What are the benefits of using this structured data objects?
As mentioned before on this article Use structured data to help Google understand the content of your site, so this is in fact, a ranking factor doesn’t use it won’t bring any harm, but using it may give you some extra value.
The following are search results for “captain America civil war review.”
Now, let’s take a look at the code of some of those articles listed on the box at the left of the screen.Taken from: Captain America: Civil War Review | Movie - Empire
Some easy examples you can copy to use
- In the Google developers website You’ll find a lot of well-documented cases that you can use.
- Steal Our JSON-LD is another useful resource that will show you a few screens captures of how your content might look like in the google results if you use the right data structure there.
Looking for documentation about how to use structured data on a website could be overwhelming.
You have too many resources to look at, and the information isn’t that straight forward at the first look, so I’d recommend you to be patient, and start as small as you can, then depending on the needs of your site, you can add or change more things to your schema.
As thumbs up rule here, I recommend starting as small as you can first.