User Tools

Site Tools



For more details see the Meta Tags Templates for Magento 2 extension page, part of the bestselling SEO Toolkit module.

Meta Tags Templates for Magento 2

With Meta Tags Templates extension you can automatically generate meta tags as well as descriptions for:

  • Product pages
  • Category pages
  • Any site page by URL

Functionality has hierarchical structure. That means you can choose the category and specify all the tags for:

  • Current category
  • Sub categories
  • Products in current category
  • Products in subcategory

A range of complex variables can be used in tags and descriptions.

General Settings

To specify general extension settings, go to Stores → Configuration → SEO Meta Tags Templates

Max Title/Description Length - Specify the SEO appropriate length.

Replaced Filled Metadata - If you set the option to No all previously created meta tags won’t be replaced except for empty ones. In case you set the option to Yes you’ll replace all meta information.

Apply Template for Product URLs - Click on this button to apply the template for all previously created products.

Category Page - You can disable meta tags functionality for category pages.

Category-based templates

To create product meta tags templates by category please go to Content→ Amasty Meta section→ Meta Tags by Category.

Main Category

Category is - Select the category to which the template should apply.

Apply for - Select store views to which the template will apply.

Products in Main Category

Title - create a template for meta title tag.

You can use complex variables like {brand|manufacturer|provider}. In that case, for products with brand attribute, brand value will be used for meta tags; for products with manufacturer attribute, manufacturer value will become a meta tag and so on.

Meta Description - create a template for meta description tag. You can use the same variables as for meta title tag.

Keywords - create a template for product keywords.

H1 Tag - will be used as a name of the product on the product page.

Short Description create a template for short product description.

You can also use complex variables like {brand|manufacturer|provider}.

Product Full Description - create a template for full product description.

Use all the variables as well as complex ones in category tags and descriptions.

Sub Categories

Title, meta description, keywords, H1 tag and description are specified similarly to the product tags.

You can add meta information for Sub Categories and Products in Subcategories similarly to the Products in main category.

For subcategory pages you can also specify Image Alt.

Text after product list - Write the text which will be displayed after product list on category page.

URL-based templates

To create URL-based template go to Content → Amasty Meta section→ Meta tags by Custom URLs.

Specify URL of the page you want to create a template for.

Specify URL of the page you want to create a template for.

You can specify meta tags, title, etc. for any page on site, e.g. Contact Us, Partnership, etc. It’s very useful for SEO to specify meta tags for the pages when attribute is chosen - i.e.

Also, you can create it for any product page. In such a way all the settings specified in Category-based template will not affect the product.

Specify Canonical URL for the page.

Robots - You can make the page ‘no follow’ and ‘no index’ by search engines.

How to insert Emojis

To make your snippets more appealing and increase the CTR, you can add Emojies to Meta Title, Meta Description or H1 tag.

This is how it will look like in Google search:

Insert Emojis right in the code or through the extension's admin panel. We advise you to use the next format: &#dec;.

Here's the example of how to insert Emoji in the backend (pay attention to the Title and Meta Description fields):

Check an example where you can find the decimal (dec) value. You can use the HTML entity as well. See the list of additional Emojis to use here.

Check the code to see if Emoji displays:


This is an example of a text after product list .

Here’s short description generated according to the template. The full description for this product was also generated according to the template.

Here’s a front end example of product page. As you can see in the source code, the meta title for the product page was generated according to the template.

Find out how to install the Meta Tags Templates extension for Magento 2 via Composer.

Rate the user guide
 stars  from 2 votes (Details)
magento_2/meta_tags_templates.txt · Last modified: 2018/11/20 09:35 by karpova