How to implement Rich Snippets
Structured data has become a very important component of SEO. You can use the Schema.org Metatag module (https://www.drupal.org/project/schema_metatag) to add Schema.org structured data as JSON LD on your Drupal website. Schema.org Metatag has a dependency on the Metatag module (as the name implies). This module is a must-have on all Drupal websites that care about their SEO.
Google has a tool – Rich Results Test – to help you validate your pages: https://search.google.com/test/rich-results.
- Install the
Schema.org Metatagmodule as usual. - Choose which Schema.org objects you want to add to your pages.
Figure 5.7 – Choose what Schema.org objects you want to use
- I'm going to implement Schema.org Product for a Drupal Commerce store. Navigate to
/admin/config/search/metatag/settingsand activate Schema.org: Product for the Commerce Product entity:
Figure...