Method 1: Insert JSON-LD directly
Paste the generated JSON-LD code inside the <head> tag of your web page.
<head> <!-- existing head content --> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "ItemList", "name": "Popular products", "itemListElement": [ { "@type": "Product", "name": "Product name", "url": "https://example.com/product1", "position": 1, "image": "https://example.com/image1.jpg", "description": "Product description" } ] } </script> </head>
Recommended
This is the most reliable method and the most effective for SEO.