Auto Meta Tag Generator extension icon

Auto Meta Tag Generator for Magento 2

Automatically fills blank SEO meta titles and descriptions from templates when products and categories are saved.

SEO & Content Magento 2.4.x Open Source & Adobe Commerce Adobe Marketplace approved $49 USD

Why choose Auto Meta Tag Generator?

Auto Meta Tag Generator fills in empty meta titles, descriptions and keywords for products and categories from templates such as {{name}} | {{store_name}}. It runs when items are saved, from an admin mass action, from the command line or from a nightly cron job, trims text at word boundaries and never overwrites meta data someone has written by hand.

Auto Meta Tag Generator: Overview (screenshot 1 of 5)Auto Meta Tag Generator: Categories (screenshot 2 of 5)Auto Meta Tag Generator: Mass actions (screenshot 3 of 5)Auto Meta Tag Generator: SEO output (screenshot 4 of 5)Auto Meta Tag Generator: Configuration (screenshot 5 of 5)
1 / 5

Key features

  • Automatic Generation on Save
  • Configurable Placeholder Templates
  • Separate Category Templates
  • Smart Placeholder Cleanup
  • Word-Boundary Truncation
  • Admin Mass Action
  • CLI Command
  • CSV Import Support
  • Nightly Cron Safety Net
  • Dedicated Logging
  • Store-View Scope Throughout
  • Zero Core Code Modifications

At a glance

Module nameMage2Expert_AutoMetaTagGenerator
Composer packagemage2expert/module-auto-meta-tag-generator
SettingsStores › Configuration › Magento Expert › Auto Meta Tag Generator (14 options)
Per store view settingsYes
APINo custom endpoints (uses Magento's standard APIs)
Scheduled jobs1 cron job
CLI commandsmage2expert:metatag:regenerate
PHP8.1, 8.2, 8.3, 8.4, 8.5

Installation

After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:

composer require mage2expert/module-auto-meta-tag-generator
bin/magento module:enable Mage2Expert_AutoMetaTagGenerator
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Skip setup:di:compile and static-content:deploy if your store runs in developer mode.

Configuration reference

All 14 options under Stores › Configuration › Magento Expert › Auto Meta Tag Generator, grouped as they appear in the admin.

General Settings 4
SettingDescription
Enable ModuleMaster switch. When disabled, no meta tags are generated anywhere (save, import, mass action or CLI).
Enable Auto-Generate Meta TitleAutomatically fill the Meta Title field when it is left blank on save.
Enable Auto-Generate Meta DescriptionAutomatically fill the Meta Description field when it is left blank on save.
Enable Auto-Generate Meta KeywordsMeta keywords are largely obsolete for SEO, but some merchants still want them. Built from the product name, attribute set and assigned category.
Product Templates 2
SettingDescription
Product Meta Title TemplateAlready pre-filled with the default template. To pull in a custom attribute, add attribute:CODE (wrapped in double curly braces, like the placeholders already in the field) using its attribute code, e.g. attribute:color or attribute:brand.
Product Meta Description TemplateAlready pre-filled with the default template. To pull in a custom attribute, add attribute:CODE (wrapped in double curly braces, like the placeholders already in the field) using its attribute code, e.g. attribute:material.
Truncation & Formatting 3
SettingDescription
Meta Title Max LengthGenerated titles longer than this are cut at the last full word boundary. Recommended: ~60.
Meta Description Max LengthGenerated descriptions longer than this are cut at the last full word boundary. Recommended: ~160.
Append Ellipsis on TruncateAppend "…" when a generated value is cut short.
Import 1
SettingDescription
Apply During Product ImportGenerate meta tags for products imported via Data/Improved Import when the CSV leaves those fields blank.
Admin Mass Action 1
SettingDescription
Overwrite Existing on Mass Action by DefaultPre-selects the "Overwrite existing meta tags" option when running the Regenerate Meta Tags grid action.
Categories (Stretch Goal) 3
SettingDescription
Enable for CategoriesAlso auto-generate meta title/description for categories, using the templates below.
Category Meta Title TemplateAlready pre-filled with the default template. Supports the same placeholder names as the product templates above (sku and price always resolve empty for categories). For a custom attribute, add attribute:CODE (wrapped in double curly braces
Category Meta Description TemplateAlready pre-filled with the default template. For a custom attribute, add attribute:CODE (wrapped in double curly braces, like the placeholders already in the field) using its attribute code, e.g. attribute:landing_page.

Developer reference

Cron jobs

JobRuns
mage2expert_automatatag_generate_missingdaily at 03:00 (server time)

Command line

bin/magento mage2expert:metatag:regenerate

Frequently asked questions

How much does Auto Meta Tag Generator cost?
Auto Meta Tag Generator costs $49 USD as a one-off purchase on the Adobe Commerce Marketplace.
Which Magento and PHP versions are supported?
Magento Open Source and Adobe Commerce 2.4.x. It is developed and tested on Magento 2.4.8, and supports PHP 8.1, 8.2, 8.3, 8.4, 8.5.
Where do I configure Auto Meta Tag Generator?
In the Magento admin under Stores › Configuration › Magento Expert › Auto Meta Tag Generator. It has 14 options, grouped into 6 sections.
Can I switch it off without uninstalling it?
Yes. Set "Enable Module" to No under Stores › Configuration › Magento Expert › Auto Meta Tag Generator. Your settings and data are kept.
Can the settings differ per store view?
Yes. Many options can be set per website and store view, so multi-store and multi-language setups can behave differently.
Does it run background jobs?
Yes, mage2expert_automatatag_generate_missing runs daily at 03:00 (server time). Magento cron must be running for these to work.
Can it be customised for my store?
Yes. As the developer of Auto Meta Tag Generator, I can adapt it to your workflow or build related features. Email me with what you need.
Available for new projects

Have a Magento project in mind?

Tell me about your store and what you need. I reply to every enquiry within one business day.

Adobe Certified Expert

Adobe Commerce Developer certification, verified on Credly.

15+ years of Magento

From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.

62 Marketplace extensions

Each one reviewed and approved by Adobe.