Advertising sustains the DA. Ads are hidden for members. Join today

Contributed modules for Drupal 7

Schema.org Metatag

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Schema.org Metatag for Drupal 7 extends the Metatag module to display structured data as
JSON-LD in the head of web pages. Either hard-code properties or identify
patterns using token replacements. Using the override system in Metatag module
you can define default structured data values for all content types, override
the global content defaults for a particular content type, or even override
everything else on an individual node to provide specific values for that node.

Read more about Schema.org, JSON-LD, and how this module works in an article on Lullabot.com, Create SEO Juice From JSON LD Structured Data in Drupal.

Basic Usage

Use and configuration of Schema.org Metatag module is the same as any other Metatag submodule.

Schema.org Coverage

The Schema.org list is huge, and growing, so this module only provides a small subset of those values, but it is designed to be extensible.

JSON-LD, Microdata or RDFa?

There are three primary methods to output structured data on a website - JSON-LD, Microdata and RDFa. Which is best to use?

Developer Instructions

To add more schema types is neither hard nor tedious, so don't be afraid to give it a shot.

Known Issues

Know issues and work-arounds

Performance Considerations

Follow these simple steps and your site performance when using schema_metatag module should be bearable.

Tags

Guide maintainers

christophweber's picture
karens's picture