universal-starter
universal-starter copied to clipboard
*Question* Setting Dynamic Meta Tags with HTTP calls?
All of the examples I see for setting meta tags involve static strings / hard-coded meta tags.
Is it possible to dynamically set meta tags ( title, description ) based on an HTTP call, for example in an e-commerce website with thousands of products?
I'm trying to find an example of dynamically setting meta tags in a component before it is rendered, so that the content will show up on social media sites. Any help is appreciated!
I am also having the same query. If the meta tags are hard-coded, they are detected by Facebook. But if the tags are set as per values retrieved from api call then facebook does not detect them.