Menu
Feedback
Start here
Tutorials


Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Storefront
Layout
How to use the meta tags control

The <vtex:metaTags/> control inserts in the code the meta tags corresponding to the page.

It is usually inserted shortly after the opening of the <head> element.

These meta tags use information added in different parts of the platform. They are important mainly for two reasons:

  • SEO. In other words, they interfere with the finding degree of your pages by search engines.
  • The way browsers interpret your site.

Two of the most important tags are title (which, by definition, is not precisely a meta tag but is of the utmost importance) and meta name="description".

The first one shows the title of the page (the one that appears on the page tab in the browser), and the second one the description (the one that appears, for example, in Google search results).

For the product, category and brand pages, both the title and the description are defined in their registration pages. For example, when creating a new brand, you must enter a title and description for it.

When this brand's page is loaded, it will contain this information in the title and meta name="description" tags, provided that the <vtex:metaTags/> control is in the brand page template.

For the home page and the search page, the tag meta name="description" is populated with the information in the site's SEO section. To access this section, go to Store Settings>Storefront>Settings>General, and then the SEO option.

You can also set the title tag of the home page via Admin, simply go to Store Settings>Storefront>Settings>General and fill in the Home Page title (Tag Title).

See an example of meta tags inserted by the <vtex:metaTags/> control for the page of the category "Climbing" of the store of account name "lojadobreno" below:


<meta name="language" content="pt-BR">
<meta name="country" content="BRA">
<meta name="currency" content="R$">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="description" content="Indoor, rock and ice climbing equipment.">
<meta name="Abstract" content="Climbing">
<meta name="author" content="lojadobreno">
<meta name="copyright" content="lojadobreno">
<meta name="vtex-version" content="1.4.904.1590">
<meta http-equiv="pragma" content="no-cache">
<meta name="robots" content="noindex,nofollow">
<title>Climbing</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="http://lojadobreno.vtexcommercestable.com.br/climbing">

If you don't want to use the canonical tag (<link rel="canonical">), you can disable it using a specific control.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
How the relationship between websites and sales policies works
« Previous
How inventory availability works on the product page
Next »
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback