Part of the Metatag ecosystem · 16 projects
The Metatag module allows you to automatically manage structured metadata on your website. It helps improve search engine optimization by providing tags for descriptions and keywords, and it also controls how your content appears when shared on social media platforms like Facebook and Twitter. You can set global defaults, define settings per entity type, and override them for individual content items.
The Metatag module allows you to automatically provide structured metadata, aka "meta tags", about a website. In the context of search engine optimization, when people refer to meta tags they are usually referring to the meta description tag and the meta keywords tag that may help improve the rankings and display of a site in search engine results. In addition, the module provides support for meta tags (Open Graph Protocol from Facebook, Twitter Cards from Twitter) that allow control of how content appears when shared on social networks.
This project is the offical successor of the Nodewords module.
Dependencies
Features
- Supports a large number of commonly used meta tags, including the page title, canonical URL, description, etc, and for Facebook's Open Graph, Twitter Cards and Dublin Core via included submodules.
- Global settings to control meta tags on all pages.
- Per entity and per entity bundle to control default meta tags for all items of a certain type, e.g. all nodes of a certain content type.
- Ability to override meta tags on each entity object, e.g. to override meta tags on an individual node.
- Full support for entity revisions and workflows based upon revision editing.
- Customize meta tags for custom pages built using Views using included submodules.
- Individual permissions for each meta tag can be added via the Metatag Advanced Permissions.
- Extendable and flexible API for defining new meta tags.
Resources
- Full documentation is available: Metatag for Drupal
- A blog post from markconroy on how to use tokens to use core's Media fields with Metatag.
- How to create custom meta tags in 2.1.0; excellent blog post by Naveen Valecha.
Recommended / related modules
Some modules are available that extend Metatag with additional or complimentary functionality. Many related modules are available from the Metatag ecosystem page and that is the best place to find them.
The following are a noteworthy additions to Metatag's main functionality:
- Context Metadata:
Allow assignment of meta tags based upon different system contexts, e.g. per
path. - ECA Metatag:
Use Event-Condition-Action rules to dynamically set meta tags. - Maxlength:
If this module is installed, meta tags that have a maximum length defined in
the settings will have that maximum length enforced; this may be disabled in
the settings if it proves to be problematic. - Metatag AI:
AI-powered metadata generation and suggestions. - Metatag Async Widget:
Provides an asynchronous widget for editing meta tags. - Metatag Page Heading:
Automatically generates meta tags using page headings. - Metatag Webform:
Adds meta tag support to Webform pages. - Real-time SEO for Drupal:
Uses the [YoastSEO.js library and service](https://yoast.com/) to provide
realtime feedback on the meta tags. - Token Custom:
Allows creation of custom tokens without writing code. - Token Modifier:
Modify or transform token output before being used in metadata. - Token OR:
Provides a means to output a second token if the first one is empty, which can
be very useful for complex content architectures.
The following modules make additional meta tags available:
- Metatag Cxense:
Adds support for the Cxense meta tags used by their DMP and Insight services. - Metatag Google Scholar:
Adds support for a number of meta tags used with the Google Scholar system. - Schema.org Metatag:
Extensive solution for adding schema.org / JSON-LD support to Metatag.
Credits
Maintained since 2012 by Damien McKenna; initial development (2010-2012) by Dave Reid.
Past sponsors
- Mediacurrent
- Lullabot
- Palantir
- Acquia
Ask your assistant about Metatag
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- Token
- field Drupal core
Required by
41 tracked projects depend on this one
- Schema.org Metatag 75,109 sites
- Real-time SEO for Drupal 30,496 sites
- Metatag Asynchronous Widget 2,740 sites
- Acquia Drupal Starter Kit Common 1,871 sites
- Metatag Webform 1,604 sites
- External Hreflang 1,589 sites
- Metatag Import Export CSV 1,530 sites
- Custom Meta 1,074 sites
- ECA Metatag 1,041 sites
- Metatag AI 629 sites
- Metatag Google Scholar 626 sites
- GraphQL Metatag 474 sites
- OG default image 387 sites
- LD JSON Schema 246 sites
- Droopler 207 sites
- Seeds SEO 127 sites
- AGLS Metadata 114 sites
- SEO Pager 113 sites
- Canvas Page Metatag 85 sites
- Metatag Simple Widget 73 sites
- Drupal Website Development 68 sites
- Commerce ML Starter 46 sites
- Raw Formatter [Meta Tag Formatter] 43 sites
- SEO URLs (pretty URLs) 37 sites
- SEO AI 28 sites
- Schema.org Metatag AI 19 sites
- SEO filters 17 sites
- Ceremai (Bootstrap Layout Builder theme) 15 sites
- Metatag by User Role 11 sites
- Metatag Search.gov 5 sites
- Metatag AI Generate 5 sites
- OpenFed 3 sites
- Metatags import CSV 2 sites
- BrightEdge Autopilot Page Publisher
- GTM Datalayer Metatag
- Btester CMS
- Rwprofile
- Indieauth
- CS Gov
- AI4Ranks
- TROVR Connect
More in the Metatag ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.1.1 | Stable | 9–11 | May 29, 2025 | ||
| 2.1.0 | Stable | 9–11 | Nov 7, 2024 | ||
| 2.0.3 | Stable | 9–11 | Nov 7, 2024 | ||
| 2.1.x-dev | Dev | 9–11 | PHP 8 | Sep 12, 2024 | |
| 2.0.2 | Stable | 9–11 | PHP 8 | Aug 5, 2024 | |
| 2.0.1 | Stable | 9–11 | PHP 8 | Aug 5, 2024 | |
| 2.0.0 | Stable | 9–10 | PHP 8 | Jun 27, 2023 | |
| 8.x-1.26 | Stable | 9–10 | Jun 27, 2023 | ||
| 8.x-1.25 | Stable | 9–10 | May 31, 2023 | ||
| 2.0.0-rc2 | Pre-release | 9–10 | PHP 8 | May 30, 2023 |