Schema Markup Là Gì? Cách Gắn Rich Snippet Cho Web Việt (Kèm JSON-LD Thực)
Schema Markup là điều duy nhất giúp người tìm Google thấy Rich Result trước đối thủ — sao, giá, ảnh, FAQ mở rộng trong SERP. CTR tăng 20-40% chỉ từ việc cài Schema đúng loại.
Bài viết này bao gồm:
- Schema là gì
- 8 loại dùng được thực tế trên web Việt
- Ví dụ JSON-LD Copy là dùng được
Schema Markup Là Gì — Định Nghĩa Ngắn
Schema.org là từ vựng mà Google, Bing, Yandex dùng chung để mô tả nội dung trên trang web.
Ví dụ: một trang của bạn là bài viết. Schema báo Google:
- Ai viết
- Đăng khi nào
- Ảnh nào là Featured image
- Về chủ đề gì
Google dùng dữ liệu này hiển thị Rich Result trong SERP.
Cài Schema Bằng Định Dạng Nào
Có 3 định dạng:
- JSON-LD — Recommended bởi Google (cài trong
<script>của<head>) - Microdata — Embedded trong HTML (khó hơn, vất vả maintain)
- RDFa — Embedded trong HTML
Dùng JSON-LD luôn — dễ hơn, Google thích hơn.
8 Loại Schema Dùng Được Thực Tế Trên Web Việt
1. Organization (Mọi Web Phải Có)
Đặt mọi trang qua 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 (Cho Doanh Nghiệp Có Vị Trí)
{
"@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 (Cho Bài Viết)
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "Schema Markup là gì? Cách gắn 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": "Trang chủ", "item": "https://southernwhale.com/" },
{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://southernwhale.com/blog/" },
{ "@type": "ListItem", "position": 3, "name": "Schema Markup là gì" }
]
}
5. FAQPage (Cho Trang FAQ Hoặc Section FAQ Trong Bài)
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Schema Markup là gì?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Schema là từ vựng Google dùng hiểu trang bạn..."
}
}
]
}
6. Product + Review + AggregateRating (Cho 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 (Cho Web Khách Sạn)
{
"@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 (Cho Trang Dịch Vụ)
{
"@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"
}
}
Cách Kiểm Schema Hoạt Động
1. Schema.org Validator
https://validator.schema.org/ Nhập URL hoặc Paste code → xem errors / warnings
2. Google Rich Results Test
https://search.google.com/test/rich-results Kiểm tra Google nhận Schema của bạn và sẽ hiển thị Rich Result không
3. Google Search Console
Sau khi Submit Schema 1-2 tuần, xem Enhancements tab trong GSC sẽ thấy Schema Google đã ghi nhận.
Common Mistakes
- Cài Schema không khớp nội dung — Google xử phạt
- Đưa FakeReviews — Google bắt được và xử phạt nặng
- Có Multiple xung đột nhau — ví dụ Organization + LocalBusiness có NAP khác nhau
- Cài Schema trên trang Auto-generated mà Google sẽ giảm Index
- Cài Microdata + JSON-LD cùng lúc — chọn 1
Bắt Đầu Cài Schema Cho Web Bạn
Priority Order:
- Organization / LocalBusiness (sitewide)
- BreadcrumbList (mọi trang chi tiết)
- Article (mọi Blog post)
- FAQPage (mọi trang có FAQ)
- Product / Service (theo loại doanh nghiệp)
- Specific: Hotel / Restaurant / Event / Course / Recipe
Dùng 2-4 giờ lần đầu, sau đó là Template Re-use được.
Yêu Cầu Schema Implementation Từ Chúng Tôi
Dịch vụ SEO Audit bao gồm Schema Implementation Plan cho web bạn mọi lần + đội Dev Implement giúp được.
Hoặc nếu là web mới sắp làm — chúng tôi Build bằng Astro/Next.js có Schema.org Built-in từ Day 1. Xem Web Development.
Bài viết liên quan
Xem thêm các bài viết về SEO và Digital Marketing