Hello ,
is there any possibility that we can inject script to the headers dynamically in to a experience site through a LWC.
Sample script :
<head> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Books", "item": "https://example.com/books" },{ "@type": "ListItem", "position": 2, "name": "Science Fiction", "item": "https://example.com/books/sciencefiction" },{ "@type": "ListItem", "position": 3, "name": "Award Winners" }] } </script> </head>
Hi @Ashwini Garwandha, I have tried the solution that is given in the post but it did not work as expected.