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
1

Produces:

Copy
1

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>>
Was this helpful?
Yes
No