방법 1: JSON-LD 직접 삽입
생성된 JSON-LD 코드를 웹페이지의 <head> 태그 내에 붙여넣는 방법입니다.
<head>
<!-- 기존 head 내용 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ItemList",
"name": "인기 상품 목록",
"itemListElement": [
{
"@type": "Product",
"name": "상품명",
"url": "https://example.com/product1",
"position": 1,
"image": "https://example.com/image1.jpg",
"description": "상품 설명"
}
]
}
</script>
</head>
추천
이 방법이 가장 안정적이고 SEO에 효과적입니다.