Schema Markup ແມ່ນຫຍັງ? ວິທີຕິດ Rich Snippet ໃຫ້ເວັບໄທ (ພ້ອມຕົວຢ່າງ JSON-LD ແທ້)
Schema Markup ຄືສິ່ງດຽວທີ່ເຮັດໃຫ້ຜູ້ຄົ້ນ Google ເຫັນ Rich Result ກ່ອນຄູ່ແຂ່ງ — ດາວ, ລາຄາ, ພາບ, FAQ ທີ່ຂະຫຍາຍຢູ່ໃນ SERP CTR ເພີ່ມ 20-40% ໄດ້ແຄ່ຈາກການໃສ່ Schema ຖືກປະເພດ
ບົດຄວາມນີ້ຄອບຄຸມ:
- Schema ແມ່ນຫຍັງ
- 8 ປະເພດທີ່ໃຊ້ໄດ້ແທ້ໃນເວັບໄທ
- ຕົວຢ່າງ JSON-LD ທີ່ Copy ໄປໃຊ້ໄດ້
Schema Markup ແມ່ນຫຍັງ — ນິຍາມສັ້ນ
Schema.org ຄື ຄຳສັບທີ່ Google, Bing, Yandex ໃຊ້ຮ່ວມກັນ ເພື່ອບອກວ່າເນື້ອຫາໃນໜ້າເວັບຄືຫຍັງ
ຕົວຢ່າງ: ໜ້າໜຶ່ງຂອງທ່ານຄືບົດຄວາມ Schema ບອກ Google ວ່າ:
- ໃຜຂຽນ
- ເຜີຍແຜ່ເມື່ອໃດ
- ຮູບໃດຄື Featured image
- ກ່ຽວກັບຫົວຂໍ້ຫຍັງ
Google ໃຊ້ຂໍ້ມູນນີ້ສະແດງ Rich Result ໃນ SERP
ລົງ Schema ດ້ວຍຮູບແບບໃດ
ມີ 3 ຮູບແບບ:
- JSON-LD — Recommended ໂດຍ Google (ລົງໃນ
<script>ໃນ<head>) - Microdata — Embedded ໃນ HTML (ຍາກກວ່າ, ລຳບາກ maintain)
- RDFa — Embedded ໃນ HTML
ໃຊ້ JSON-LD ສະເໝີ — ງ່າຍກວ່າ, Google ມັກກວ່າ
8 ປະເພດ Schema ທີ່ໃຊ້ໄດ້ແທ້ໃນເວັບໄທ
1. Organization (ທຸກເວັບຕ້ອງມີ)
ໃສ່ໃນທຸກໜ້າຜ່ານ BaseLayout
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Southern Whale",
"url": "https://southernwhale.com",
"logo": "https://southernwhale.com/images/logo.webp",
"contactPoint": {
"@type": "ContactPoint",
"telephone": "+66-93-574-9544",
"contactType": "customer service",
"availableLanguage": ["Thai", "English"]
},
"sameAs": [
"https://line.me/ti/p/7rYm89C06d",
"https://www.facebook.com/southernwhale"
]
}
2. LocalBusiness (ສຳລັບທຸລະກິດທີ່ມີທີ່ຕັ້ງ)
{
"@context": "https://schema.org",
"@type": "ProfessionalService",
"name": "Southern Whale Phuket",
"address": {
"@type": "PostalAddress",
"streetAddress": "...",
"addressLocality": "Mueang Phuket",
"addressRegion": "Phuket",
"postalCode": "83000",
"addressCountry": "TH"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 7.8804,
"longitude": 98.3923
},
"telephone": "+66-93-574-9544",
"openingHoursSpecification": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "09:00",
"closes": "18:00"
},
"priceRange": "$$$",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.9",
"reviewCount": "50"
}
}
3. Article / BlogPosting (ສຳລັບບົດຄວາມ)
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "Schema Markup ແມ່ນຫຍັງ? ວິທີຕິດ Rich Snippet",
"image": "https://southernwhale.com/images/blog/schema-markup-guide-2026.jpg",
"datePublished": "2026-05-16",
"dateModified": "2026-05-16",
"author": {
"@type": "Organization",
"name": "Southern Whale"
},
"publisher": {
"@type": "Organization",
"name": "Southern Whale",
"logo": {
"@type": "ImageObject",
"url": "https://southernwhale.com/images/logo.webp"
}
}
}
4. BreadcrumbList
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "ໜ້າແຮກ", "item": "https://southernwhale.com/" },
{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://southernwhale.com/blog/" },
{ "@type": "ListItem", "position": 3, "name": "Schema Markup ແມ່ນຫຍັງ" }
]
}
5. FAQPage (ສຳລັບໜ້າ FAQ ຫຼື FAQ section ໃນບົດຄວາມ)
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Schema Markup ແມ່ນຫຍັງ?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Schema ຄືຄຳສັບທີ່ Google ໃຊ້ເຂົ້າໃຈໜ້າທ່ານ..."
}
}
]
}
6. Product + Review + AggregateRating (ສຳລັບ E-commerce)
{
"@context": "https://schema.org",
"@type": "Product",
"name": "...",
"image": [...],
"description": "...",
"brand": { "@type": "Brand", "name": "..." },
"offers": {
"@type": "Offer",
"price": "1500",
"priceCurrency": "THB",
"availability": "https://schema.org/InStock"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "120"
}
}
7. Hotel + Offer (ສຳລັບເວັບໂຮງແຮມ)
{
"@context": "https://schema.org",
"@type": "Hotel",
"name": "Pool Villa Karon",
"starRating": { "@type": "Rating", "ratingValue": "4" },
"amenityFeature": [
{ "@type": "LocationFeatureSpecification", "name": "Free WiFi" },
{ "@type": "LocationFeatureSpecification", "name": "Pool" }
],
"priceRange": "฿8000-฿20000",
"containsPlace": [
{
"@type": "Room",
"name": "Pool Suite",
"occupancy": { "@type": "QuantitativeValue", "maxValue": 2 }
}
]
}
8. Service (ສຳລັບໜ້າບໍລິການ)
{
"@context": "https://schema.org",
"@type": "Service",
"name": "SEO Services",
"provider": {
"@type": "Organization",
"name": "Southern Whale"
},
"areaServed": [
{ "@type": "City", "name": "Phuket" },
{ "@type": "City", "name": "Krabi" }
],
"offers": {
"@type": "AggregateOffer",
"lowPrice": "40000",
"highPrice": "300000",
"priceCurrency": "THB"
}
}
ວິທີເຊັກວ່າ Schema ໃຊ້ງານໄດ້
1. Schema.org Validator
https://validator.schema.org/ ໃສ່ URL ຫຼື Paste code → ເບິ່ງ errors / warnings
2. Google Rich Results Test
https://search.google.com/test/rich-results ທົດສອບວ່າ Google ຮູ້ຈັກ Schema ຂອງທ່ານແລະຈະສະແດງ Rich Result ບໍ່
3. Google Search Console
ຫຼັງ Submit Schema 1-2 ອາທິດ ເບິ່ງ Enhancements tab ໃນ GSC ຈະເຫັນ Schema ທີ່ Google ເກັບໄດ້
Common Mistakes
❌ ລົງ Schema ທີ່ບໍ່ກົງກັບເນື້ອຫາ — Google ລົງໂທດ ❌ ໃສ່ FakeReviews — Google ຈັບໄດ້ແລະລົງໂທດໜັກ ❌ ມີ Multiple ຂັດແຍ້ງກັນ — ເຊັ່ນ Organization + LocalBusiness ທີ່ NAP ຕ່າງກັນ ❌ ລົງ Schema ໃນໜ້າ Auto-generated ທີ່ Google ຈະຫຼຸດ Index ❌ ໃສ່ Microdata + JSON-LD ພ້ອມກັນ — ເລືອກອັນດຽວ
ເລີ່ມລົງ Schema ໃນເວັບທ່ານ
Priority Order:
- Organization / LocalBusiness (sitewide)
- BreadcrumbList (ທຸກໜ້າລາຍລະອຽດ)
- Article (ທຸກ Blog post)
- FAQPage (ທຸກໜ້າທີ່ມີ FAQ)
- Product / Service (ຕາມປະເພດທຸລະກິດ)
- Specific: Hotel / Restaurant / Event / Course / Recipe
ໃຊ້ເວລາ 2-4 ຊົ່ວໂມງຄັ້ງທຳອິດ ຫຼັງຈາກນັ້ນເປັນ Template ທີ່ Re-use ໄດ້
ຂໍ Schema Implementation ຈາກພວກເຮົາ
ບໍລິການ SEO Audit ຂອງພວກເຮົາ ລວມ Schema Implementation Plan ສຳລັບເວັບທ່ານທຸກຄັ້ງ + ທີມ Dev ຂອງພວກເຮົາ Implement ໃຫ້ໄດ້
ຫຼື ຖ້າເປັນເວັບໃໝ່ທີ່ກຳລັງຈະເຮັດ — ພວກເຮົາ Build ດ້ວຍ Astro/Next.js ທີ່ມີ Schema.org Built-in ຕັ້ງແຕ່ Day 1 ເບິ່ງ Web Development