The description meta tag is currently not surfaced properly on custom marketplaces that do not provide default meta tags in their configuration.
Two issues were identified. 1 major and 1 minor:
Major issue: the call to meta.description() is erroneous because it relies on the object collection, which is generated asynchronously, and therefore the page does not contain the appropriate tag when first loaded by external services.
Minor issue: the meta.description() function only contains the basic meta tag, but not the twitter and OpenGraph ones.
Taking this opportunity to fix a syntax issue in the title meta tag as well.
Context
The description meta tag is currently not surfaced properly on custom marketplaces that do not provide default meta tags in their configuration.
Two issues were identified. 1 major and 1 minor:
meta.description()
is erroneous because it relies on the objectcollection
, which is generated asynchronously, and therefore the page does not contain the appropriate tag when first loaded by external services.meta.description()
function only contains the basic meta tag, but not the twitter and OpenGraph ones.Taking this opportunity to fix a syntax issue in the title meta tag as well.
Result