metaTags( )


Gets the page's SEO-related meta tags.

The metaTags property retrieves the SEO-related meta tags from the head of the page.

The keys in the returned metaTags objects represent the keys in the tag, while the values in the object represent the values in the tag.

For example:

Copy

Produces:

Note: You should always invoke the wixSeoFrontend.metaTags getter outside of the onReady() event handler to ensure receiving the proper response.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<Array<MetaTag>>
Did this help?