How to use the meta tag field

Created on 14 November 2024, 5 months ago

Problem/Motivation

I don't quite understand how to use the Meta tag field in a content type. I couldn't find any helpful info about its usage. My understanding is that metatags show up in the page source and is intended for crawlers to consume, not for the user of our site so why would one want to add a meta tag to a content type? I may be missing a basic understanding about meta tag, please feel free to educate me, thanks!

Proposed resolution

Add documentation explaining how/why use a meta tag field in a content type (:

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @monaw
  • ok, i think i found the answer to my own question...from the Schema.org Metatag module β†’ :

    It is possible to configure the metatag module to override each individual node with different values by adding a metatag field to the content type. In this workflow you assume editors will manually input content directly into the metatag form when they edit the nodes.

    If the above is not the answer, I still appreciate someone answering my question. If the above is the answer, then I recommend adding the above line to this module's documentation to help others who may be confused also and this issue can be closed (:

  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    Did you check the module's documentation?

    https://www.drupal.org/docs/contributed-modules/metatag β†’
    https://www.drupal.org/docs/contributed-modules/metatag/standard-usage-s... β†’

    To adjust metatags for a specific entity, the Metatag field must be added first. Follow these steps:

    1. Go to the "Manage fields" of the entity type.
    2. Select "Meta tags" from the "Add a new field" selector.
    3. Fill in a label for the field, e.g. "Meta tags", and set an appropriate machine name, e.g. "meta_tags".
    4. Click the "Save and continue" button.
    5. If the site supports multiple languages, and translations have been enabled for this entity, select "Users may translate this field" to use Drupal's translation system.

    The included README.md file also says this.

    Is that enough, or is it missing any details that would be useful? Or could the wording be improved? I'm happy to improve it.

    Thank you.

  • @damienmckenna - ah now i understand the text that you quoted above; i did read that initially but guess i didn't really understand it. the quote that i posted above from the Schema.org Metatag module made it more clear the intention for me and helped me to see that's a feature we currently do not need but nice option for later...thanks! feel free to close this issue

  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    Let's use this to improve the documentation.

Production build 0.71.5 2024